Ejemplo n.º 1
0
        public List <byte> ToByteList()
        {
            List <byte> byteList = new List <byte>();

            CRCCheck = new CRCCheck(funNumRequestDataBase.ToByteList().ToArray());

            byteList.AddRange(funNumRequestDataBase.ToByteList());
            byteList.AddRange(CRCCheck.ToByteList());

            return(byteList);
        }
Ejemplo n.º 2
0
 public FunNumRequestDataRTU(IFunNumRequestDataBase funNumRequestDataBase)
 {
     this.funNumRequestDataBase = funNumRequestDataBase;
     CRCCheck = new CRCCheck(funNumRequestDataBase.ToByteList().ToArray());
 }