public DeviceIdent_class() { string sTemp; ASCIIEncoding encoding = new ASCIIEncoding(); _type = CommandType.DeviceIdent; _data = new DeviceIdent(); _data.stx = 0x02; sTemp = "sRI0 "; _data.type = encoding.GetBytes(sTemp); _data.etx = 0x03; }