Exemplo n.º 1
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_GMUEvent_PrinterData tgt = new FFTgt_G2H_GMUEvent_PrinterData();
     tgt.ActionID = buffer[0];
     tgt.StatusCode = buffer[1].GetAppId<FF_GmuId_GMUEvent_PrinterStatusCodes, FF_AppId_GMUEvent_PrinterStatusCodes>();
     return tgt;
 }
Exemplo n.º 2
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_GMUEvent_PrinterData tgt = new FFTgt_G2H_GMUEvent_PrinterData();

            tgt.ActionID   = buffer[0];
            tgt.StatusCode = buffer[1].GetAppId <FF_GmuId_GMUEvent_PrinterStatusCodes, FF_AppId_GMUEvent_PrinterStatusCodes>();
            return(tgt);
        }