コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();

            Graphic.InitializeColorDict();

            LoadGraphicElements("StationElements.xml");
            LoadStationTopo("StationTopoloty.xml");

            LoadSecondStation();

            AddCIAccess LoadInterlockTable = new AddCIAccess();
            IPConfigure LoadIPConfig       = new IPConfigure();

            Receive = new ZCSocket();
            Receive.Start();
            NonComTrain();

            Loaded += MainWindow_Loaded;
        }
コード例 #2
0
ファイル: VOBCorCI.cs プロジェクト: QingqingLin/Lianda
 public void Send(byte[] Data, IPAddress IP, int port, int DataSize)
 {
     ZCSocket.DIP   = IP;
     ZCSocket.Dport = port;
     ZCSocket.SendControlData(Data, DataSize);
 }