예제 #1
0
        /// <summary>
        ///  LIDrstoutpcnt_class constructor
        /// </summary>
        public LIDrstoutpcnt_class()
        {
            string        sTemp;
            ASCIIEncoding encoding = new ASCIIEncoding();

            _type      = CommandType.LIDrstoutpcnt;
            _data      = new LIDrstoutpcnt();
            _data.stx  = 0x02;
            sTemp      = "sMN ";
            _data.type = encoding.GetBytes(sTemp);
            sTemp      = "LIDrstoutpcnt ";
            _data.cmd  = encoding.GetBytes(sTemp);
            _data.etx  = 0x03;
        }
예제 #2
0
 /// <summary>
 ///  LIDrstoutpcnt_class constructor
 /// </summary> 
 public LIDrstoutpcnt_class()
 {
     string sTemp;
     ASCIIEncoding encoding = new ASCIIEncoding();
     _type = CommandType.LIDrstoutpcnt;
     _data = new LIDrstoutpcnt();
     _data.stx = 0x02;
     sTemp = "sMN ";
     _data.type = encoding.GetBytes(sTemp);
     sTemp = "LIDrstoutpcnt ";
     _data.cmd = encoding.GetBytes(sTemp);
     _data.etx = 0x03;
 }