예제 #1
0
        public SCADACrunching()
        {
            scadaModel = SCADAModel.Instance;

            timestamp = new DateTime();
            adapter   = new RDAdapter();
            //apsClient = new APSClient(APSCommon.MessageType.AnalogValue_List);

            client = new ModbusTcpClient();
            client.Connect();

            Thread taskA = new Thread(() => DataAcquisition());

            taskA.Start();
        }
예제 #2
0
 public SCADASetpoint()
 {
     scadaModel = SCADAModel.Instance;
     client     = new ModbusTcpClient();
     client.Connect();
 }