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

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

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