public static DaqDigest FromHardware(WiseDaq daq) { DaqDigest ret = new DaqDigest(); ret.Value = daq.Value; return(ret); }
public static BoardDigest FromHardware(WiseBoard board) { BoardDigest ret = new BoardDigest() { Daqs = new List <DaqDigest>(), }; foreach (WiseDaq daq in board.daqs) { ret.Daqs.Add(DaqDigest.FromHardware(daq)); } return(ret); }