Esempio n. 1
0
        public MES_Control(MyInterface mControl, __TcpIP__ ServerIp, __TcpIP__ ClientIp)
        {
            this.mControl     = mControl;
            this.ServerIpAddr = ServerIp;
            this.ClientIpAddr = ClientIp;

            timer1.Interval = 1000;
            timer1.Tick    += Timer1_Tick;
        }
Esempio n. 2
0
 public IOControl(MyInterface mControl, __TcpIP__ Board, __TcpIP__ PC)
 {
     this.PC         = PC;
     this.Board      = Board;
     timer1.Interval = 10;
     timer1.Tick    += timer1_tick;
     this.mControl   = mControl;
     //timer1.Enabled = true;
 }