Пример #1
0
        public override byte[] ToBytes()
        {
            byte[] header = new byte[2];
            ApplicationControl.CopyTo(header, 0);
            header[1] = (byte)FunctionCode;

            return(header);
        }
Пример #2
0
        public override byte[] ToBytes()
        {
            byte[] header = new byte[4];
            ApplicationControl.CopyTo(header, 0);
            header[1] = (byte)FunctionCode;
            InternalIndications.CopyTo(header, 2);

            return(header);
        }