資源簡介
SuperIO 的特點:
1)支持二次開發,快速構建自己的通訊數據采集平臺軟件
2)快速構建設備驅動、協議驅動、命令緩沖、自定義參數和實時數據
3)快速二次開發圖形顯示、數據輸出、服務驅動
4)一個設備驅動,同時支持串口(COM)和網絡(TCP Server/Tcp Client)通訊機制,可以自由切換
5)內置協議驅動,可以把第三方協議轉換成自定義的協議
6)內置設備命令緩沖器,可以設置命令發送的優先級別
7)以插件的方式掛載設備驅動、顯示、輸出、服務模塊等
8)以服務驅動方式(IAppService)二次開發OPC服務、4-20mA輸出、LED大屏顯示、短信服務等
9)快速開發、運行穩定、擴展性強大
10)適用工業上位機軟件,以及系統集成中采集遠程設備數據
http://www.bmpj.net
代碼片段和文件信息
using?SuperIO.Services;
using?System;
using?System.Collections.Generic;
using?System.Text;
namespace?ConsoleTest
{
????class?Program
????{
????????///?
????????///?實例化設備
????????///?
????????private?static?DeviceDemo.MyDevice?_myDevice?=?new?DeviceDemo.MyDevice();
????????///?
????????///?實例化顯示容器
????????///?
????????private?static?DeviceShowUI.ShowUIForm?_showUIForm?=?new?DeviceShowUI.ShowUIForm();
????????///?
????????///?實例化導出數據
????????///?
????????private?static?DeviceExport.Export?_export?=?new?DeviceExport.Export();
????????///?
????????///?實例化服務
????????///?
????????private?static?DeviceService.DeviceService?_service?=?new?DeviceService.DeviceService();
????????static?void?Main(string[]?args)
????????{
????????????SuperIO.Device.IDebugDevice?debug=?SuperIO.Device.DebugDevice.GetDebugInstance();
????????????_myDevice.DeviceParameter.COM.Port?=?1;
????????????_myDevice.DeviceParameter.COM.Baud?=?9600;
????????????_myDevice.DeviceParameter.DeviceName?=?“我的設備“;
????????????_myDevice.DeviceRealTimeData.DeviceName?=?“我的設備1“;
????????????//如果是網絡通訊,那么把CommunicationType改為SuperIO.CommunicateController.CommunicationType.NET即可。
????????????_myDevice.CommunicationType?=?SuperIO.CommunicateController.CommunicationType.COM;
????????????_myDevice.DeviceParameter.NET.RemoteIP?=?“172.16.6.129“;
????????????_myDevice.InitDevice(0);
????????????debug.DebugDevice((SuperIO.Device.IRunDevice)_myDevice);
????????????//加載需要顯示的容器
????????????debug.DebugGraphicsShow((SuperIO.Show.IGraphicsShow)_showUIForm);
????????????//加載需要導出的實例?
????????????debug.DebugExportData((SuperIO.Export.IExportData)_export);
????????????//加載服務的實例
????????????_service.ServiceType?=?ServiceType.Show;
????????????_service.IsAutoStart?=?true;
????????????debug.DebugAppService((SuperIO.Services.IAppService)_service);
????????????string?exit?=?String.Empty;
????????????do
????????????{
????????????????exit?=?Console.ReadLine();
????????????????System.Threading.Thread.Sleep(1000);
????????????}?while?(exit?!=?“exit“);
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????64512??2015-07-09?11:12??SuperIO_Demo\bin\ConfigTool.exe
?????文件???????6656??2015-09-05?20:13??SuperIO_Demo\bin\ConsoleTest.exe
?????文件????????144??2015-07-29?17:18??SuperIO_Demo\bin\ConsoleTest.exe.config
?????文件??????13824??2015-09-05?20:13??SuperIO_Demo\bin\ConsoleTest.pdb
?????文件??????21472??2015-04-07?23:04??SuperIO_Demo\bin\ConsoleTest.vshost.exe
?????文件????????117??2015-04-07?22:56??SuperIO_Demo\bin\ConsoleTest.vshost.exe.config
?????文件????????889??2015-08-05?10:07??SuperIO_Demo\bin\data\para0.xm
?????文件????????513??2015-09-05?20:13??SuperIO_Demo\bin\data\rt0.xm
?????文件????8842232??2015-01-15?15:38??SuperIO_Demo\bin\DevExpress.BonusSkins.v14.1.dll
?????文件????3489272??2015-01-15?15:37??SuperIO_Demo\bin\DevExpress.Data.v14.1.dll
?????文件????5192192??2015-06-10?11:44??SuperIO_Demo\bin\DevExpress.Utils.v14.1.dll
?????文件????4791288??2015-01-15?15:38??SuperIO_Demo\bin\DevExpress.XtraBars.v14.1.dll
?????文件????3495928??2015-01-15?15:38??SuperIO_Demo\bin\DevExpress.XtraEditors.v14.1.dll
?????文件??????19968??2015-09-05?20:13??SuperIO_Demo\bin\DeviceDemo.dll
?????文件??????62976??2015-09-05?20:13??SuperIO_Demo\bin\DeviceDemo.pdb
?????文件???????6656??2015-09-05?20:13??SuperIO_Demo\bin\DeviceExport.dll
?????文件??????15872??2015-09-05?20:13??SuperIO_Demo\bin\DeviceExport.pdb
?????文件???????5120??2015-09-05?20:13??SuperIO_Demo\bin\DeviceService.dll
?????文件??????15872??2015-09-05?20:13??SuperIO_Demo\bin\DeviceService.pdb
?????文件????2464768??2015-09-05?20:13??SuperIO_Demo\bin\DeviceShowUI.dll
?????文件??????34304??2015-09-05?20:13??SuperIO_Demo\bin\DeviceShowUI.pdb
?????文件?????946176??2015-02-01?15:27??SuperIO_Demo\bin\Excel.dll
?????文件?????????20??2015-09-05?20:13??SuperIO_Demo\bin\export.txt
?????文件??????18432??2015-09-05?20:13??SuperIO_Demo\bin\FormTest.exe
?????文件????????144??2015-07-29?17:15??SuperIO_Demo\bin\FormTest.exe.config
?????文件??????19968??2015-09-05?20:13??SuperIO_Demo\bin\FormTest.pdb
?????文件??????22984??2015-09-05?20:13??SuperIO_Demo\bin\FormTest.vshost.exe
?????文件????????144??2015-07-29?17:15??SuperIO_Demo\bin\FormTest.vshost.exe.config
?????文件????????490??2013-06-18?20:28??SuperIO_Demo\bin\FormTest.vshost.exe.manifest
?????文件??????36864??2015-02-01?15:27??SuperIO_Demo\bin\Interop.ADOX.dll
............此處省略371個文件信息
- 上一篇:遙感數字圖像處理:原理與方法
- 下一篇:pcl點云庫1.8離線幫助文檔
評論
共有 條評論