예제 #1
0
        public void MWRIT2(MmlDatum dat)
        {
            //Console.WriteLine("{0:x2}", dat.dat);
            mucInfo.bufDst.Set(work.MDATA++, dat);

            if (work.MDATA - work.bufStartPtr > 0xffff)
            {
                throw new MucException(
                          msg.get("E0200")
                          , mucInfo.row, mucInfo.col);
            }

            muc88.DispHex4(work.MDATA, 36);
        }
예제 #2
0
        public void MWRIT2(byte dat)
        {
            //Common.WriteLine("{0:x2}", dat);
            mucInfo.bufDst.Set(work.MDATA++, dat);

            if (work.MDATA > 0xffff)
            {
                throw new MucException(
                          msg.get("E0200")
                          , mucInfo.row, mucInfo.col);
            }

            muc88.DispHex4(work.MDATA, 36);
        }