public void SetMeasMode(bool loggerMode, bool flush) { W1Register w1 = new W1Register(); w1.LoggerMode = loggerMode; _Protocol.PrepareWriteRequest(w1); if (flush) { FlushProtocol(); } }
public void SetChState(int ch, bool enable, bool flush) { W1Register w1 = new W1Register(); w1.SetChState(ch, enable); _Protocol.PrepareWriteRequest(w1); if (flush) { FlushProtocol(); } }
public void SetChStates(bool ch1enable, bool ch2enable, bool ch3enable, bool ch4enable, bool flush) { W1Register w1 = new W1Register(); w1.SetChState(0, ch1enable); w1.SetChState(1, ch2enable); w1.SetChState(2, ch3enable); w1.SetChState(3, ch4enable); _Protocol.PrepareWriteRequest(w1); if (flush) { FlushProtocol(); } }