public Task <CommunicationData> ReadDin() { var request = DioDefaults.ReadDioInCommand(); var status = communication.ProcessCommunicationRequest(request); return(status); }
public Task <CommunicationData> Reset() { var requestArray = FaultDefaults.ResetCommand(); var status = communication.ProcessCommunicationRequest(requestArray); return(status); }
/// <summary> /// Set DAC value. /// </summary> /// <param name="voltage"> Voltage value. </param> /// <returns> Returns the value from DAC set request. </returns> public Task <CommunicationData> SetDacCommand(float voltage) { var formattedVoltage = Helper.GetBigEndian(voltage); var request = DacDefaults.SetDacCommand(formattedVoltage); var status = communication.ProcessCommunicationRequest(request); return(status); }
public Task <CommunicationData> ControlCommand(string state) { var requestArray = HeaterDefaults.SetWaveformControl(state); var status = communication.ProcessCommunicationRequest(requestArray); return(status); }
public Task <CommunicationData> ReadControlState() { var requestArray = TecDefaults.ReadControlCommand(); var status = communication.ProcessCommunicationRequest(requestArray); return(status); }
public Task <CommunicationData> ReadPercentCompleted() { var requestArray = SnapshotDefaults.ReadPercentCompleted(); var status = communication.ProcessCommunicationRequest(requestArray); return(status); }