Exemple #1
0
        public static DaqDigest FromHardware(WiseDaq daq)
        {
            DaqDigest ret = new DaqDigest();

            ret.Value = daq.Value;

            return(ret);
        }
Exemple #2
0
        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);
        }