/// <summary> /// LMPscancfg_class constructor /// </summary> public LMPscancfg_class() { string sTemp; ASCIIEncoding encoding = new ASCIIEncoding(); _type = CommandType.LMPscancfg; _data = new LMPscancfg(); _data.stx = 0x02; sTemp = "sRN "; _data.type = encoding.GetBytes(sTemp); sTemp = "LMPscancfg "; _data.cmd = encoding.GetBytes(sTemp); _data.etx = 0x03; }