Beispiel #1
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_SystemPrinter_PrintStatus tgt = new FFTgt_G2H_SystemPrinter_PrintStatus();

            tgt.Status = (FF_AppId_SystemPrinter_PrinterStatus)buffer[0];
            return(tgt);
        }
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_SystemPrinter_PrintStatus tgt = new FFTgt_G2H_SystemPrinter_PrintStatus();
     tgt.Status = (FF_AppId_SystemPrinter_PrinterStatus)buffer[0];
     return tgt;
 }
Beispiel #3
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_G2H_SystemPrinter_PrintStatus tgt2 = tgt as  FFTgt_G2H_SystemPrinter_PrintStatus;

            buffer.Add(tgt2.Status.GetGmuIdInt8());
        }