public void SetTimerValue(BTTimerID timerID, decimal value) { var timerStatus = new GenericDecimal { Value = value, ByteCount = 4 }; ProcessBTCommand(BTCommand.SetTimerValue, timerStatus, new List<int> { (int)timerID }); }
public void SetTimerStatus(BTTimerID timerID, bool value) { var timerStatus = new GenericBoolean { Value = value }; ProcessBTCommand(BTCommand.SetTimerStatus, timerStatus, new List<int> { (int)timerID }); }