Esempio n. 1
0
        public bool StopReadCodeCmd(ref byte[] cmdBytes)
        {
            string stopReadHexStr = DataConvert.AcciiStringToHexStr(STOPREADCMD);

            stopReadHexStr += TAILCODE;
            cmdBytes        = DataConvert.StrToToHexByte(stopReadHexStr);
            return(true);
        }
Esempio n. 2
0
        public bool ReadCodeCmd(ref byte[] cmdBytes)
        {
            string readCmdHexStr = DataConvert.AcciiStringToHexStr(READCMD);

            readCmdHexStr += TAILCODE;
            cmdBytes       = DataConvert.StrToToHexByte(readCmdHexStr);
            return(true);
        }