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(); }
public SCADASetpoint() { scadaModel = SCADAModel.Instance; client = new ModbusTcpClient(); client.Connect(); }