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