91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 46.94MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-10
  • 語言: C#
  • 標簽:

資源簡介

SharpSCADA - 工控網關, 輕量級組態軟件. =================== 簡介 ------------- 采用技術: 開發語言:C# 運行環境:.NET Framework 數據庫:SQL Server 功能: ------------- * 1.輕量級工控網關: 支持當前幾種主要的工業協議如西門子的Profinet、AB的EtherNetIPs、施耐德的Modbus和OPC。采用類OPC接口網關。 * 2.數據采集、歸檔、預警及配置工具 支持實時數據采集、歷史數據歸檔、變量觸發預警,并使用TagConfig工具簡單的配置實現。 * 3.人機界面(設計時和運行時) *設計時: 采用Microsoft Visual Studio + 設計器插件(在VS2010-VS2015社區版測試通過)。 通過繼承HMIControlBase接口并書寫極少量的代碼即可實現復雜的圖元組件。 支持圖元拖放、組合、連線、變量綁定及編輯功能。 *運行時:Microsoft Visual Studio編譯運行為可執行文件。 環境準備 ------------- Windows:支持的操作系統:Windows 7/8/10/Server 2008 .NET Framework 4.0/4.5/4.6 SQLServer Express 2014/2008 項目安裝 ------------- 下載最新版本,解壓后: * 1.可直接打開項目工程文件測試源代碼: ..\SCADA\Program下運行DataExchange.sln(支持VS2010-2015各版本) * 2.可運行可執行文件測試: Server端測試:在目錄 ..\SCADA\Program\BatchCoreTest\bin\Debug下運行BatchCoreTest.exe Client端測試:在目錄 ..\SCADA\Program\CoreTest\bin\Debug下運行CoreTest.exe 請參考Document文件夾中的教程:《部署流程》和《設計流程》,如有問題可參考《FAQ》文檔。 Quick Start ------------- * 1.還原數據庫 * 2.修改配置文件并復制到C盤根目錄下 * 3.修改數據庫內驅動程序的路徑 * 4.運行DEMO 具體流程可參看《部署流程》。 開發工具推薦 ------------- Visual Studio/Blend:做為組態設計器,推薦VS2010,VS2015版本。 項目結構 ------------- 驅動程序目前支持: * 已發布: 內存數據庫 Modbus TCP/RTU、 OPC DA、 Siemens S300/200/1200/1500、 Panasonic 、 Omron UDP * 后續發布: DDE、 AB EtherNetIP、 Mitsubishi 文件目錄 ------------- * Database目錄[存放數據文件]: db2014.bak文件為SQL Server2014數據備份文件。 db2008.bak文件為SQL Server2008數據備份文件。 test.opf為Kepserver 4.5數據文件(可通過該軟件還原為變量表)。 兩個csv文件為兩組變量。 * DataConfig目錄[存放配置文件]: host.cfg為主配置文件,第一行為網關服務器名/IP地址。如在本地測試,按默認lochost即可。 client.xml為客戶端配置文件。 server.xml為網關服務配置文件。 * dll目錄[存放驅動程序及第三方組件]: 如OPCDriver即為OPC 通訊組件。 Dynamicdatadisplay:開源歸檔數據顯示組件,http://dynamicdatadisplay.codeplex.com/ WPFToolkit:WPF開源擴展工具包,http://wpftoolkit.codeplex.com libnodave:西門子驅動開源庫(https://github.com/netdata/libnodave) * TagConfig目錄[存放配置工具]: 可方便配置驅動、組、變量、報警、量程等信息。支持導入導出。 * Program目錄[存放源代碼]: BatchCoreTest工程為網關服務器測試代碼(控制臺顯示)。 BatchCoreService工程同BatchCoreTest,但可編譯為Windos服務。 DataService工程為框架及主要接口組件。 CoreTest工程為樣例文件。包含一系列界面元素。 HMIControl工程為圖元組件。可支持工具欄拖放。 LinkableContr

資源截圖

代碼片段和文件信息

using?System.ServiceModel;
using?System.ServiceProcess;

namespace?BatchCoreService
{
????public?partial?class?BatchCoreService?:?Servicebase
????{
????????public?ServiceHost?serviceHost?=?null;
????????public?BatchCoreService()
????????{
????????????InitializeComponent();
????????}

????????protected?override?void?onstart(string[]?args)
????????{
????????????if?(serviceHost?!=?null)
????????????{
????????????????serviceHost.Close();
????????????}

????????????//?Create?a?ServiceHost?for?the?CalculatorService?type?and?
????????????//?provide?the?base?address.
????????????serviceHost?=?new?ServiceHost(typeof(DAService));

????????????//?Open?the?ServiceHostbase?to?create?listeners?and?start?
????????????//?listening?for?messages.
????????????serviceHost.Open();
????????}

????????protected?override?void?onstop()
????????{
????????????if?(serviceHost?!=?null)
????????????{
????????????????serviceHost.Close();
????????????????serviceHost?=?null;
????????????}
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\
?????文件??????????66??2017-12-19?19:43??SharpSCADA\.gitattributes
?????文件?????????112??2017-12-19?19:43??SharpSCADA\.gitignore
?????文件?????????308??2017-12-19?19:43??SharpSCADA\.git\config
?????文件??????????73??2017-12-19?19:43??SharpSCADA\.git\description
?????文件??????????23??2017-12-19?19:43??SharpSCADA\.git\HEAD
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\hooks\
?????文件?????????478??2017-12-19?19:43??SharpSCADA\.git\hooks\applypatch-msg.sample
?????文件?????????896??2017-12-19?19:43??SharpSCADA\.git\hooks\commit-msg.sample
?????文件?????????189??2017-12-19?19:43??SharpSCADA\.git\hooks\post-update.sample
?????文件?????????424??2017-12-19?19:43??SharpSCADA\.git\hooks\pre-applypatch.sample
?????文件????????1642??2017-12-19?19:43??SharpSCADA\.git\hooks\pre-commit.sample
?????文件????????1348??2017-12-19?19:43??SharpSCADA\.git\hooks\pre-push.sample
?????文件????????4951??2017-12-19?19:43??SharpSCADA\.git\hooks\pre-rebase.sample
?????文件?????????544??2017-12-19?19:43??SharpSCADA\.git\hooks\pre-receive.sample
?????文件????????1239??2017-12-19?19:43??SharpSCADA\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2017-12-19?19:43??SharpSCADA\.git\hooks\update.sample
?????文件???????53330??2017-12-19?19:43??SharpSCADA\.git\index
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\info\
?????文件?????????240??2017-12-19?19:43??SharpSCADA\.git\info\exclude
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\logs\
?????文件?????????188??2017-12-19?19:43??SharpSCADA\.git\logs\HEAD
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\logs\refs\
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\logs\refs\heads\
?????文件?????????188??2017-12-19?19:43??SharpSCADA\.git\logs\refs\heads\master
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\logs\refs\remotes\
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\logs\refs\remotes\origin\
?????文件?????????188??2017-12-19?19:43??SharpSCADA\.git\logs\refs\remotes\origin\HEAD
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\objects\
?????目錄???????????0??2017-12-19?19:43??SharpSCADA\.git\objects\info\
............此處省略777個文件信息

評論

共有 條評論

相關資源