Ejemplo n.º 1
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_GVA_EnablePrint_RT_Status tgt = new FFTgt_G2H_GVA_EnablePrint_RT_Status();

            tgt.Status = (FF_ResponseStatus)buffer[0];
            return(tgt);
        }
Ejemplo n.º 2
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_GVA_EnablePrint_RT_Status tgt = new FFTgt_G2H_GVA_EnablePrint_RT_Status();

            tgt.Status = buffer[0].GetAppId <FF_GmuId_ResponseStatus_Types, FF_AppId_ResponseStatus_Types>();
            return(tgt);
        }
Ejemplo n.º 3
0
 public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
 {
     if (tgt is FFTgt_G2H_GVA_EnablePrint_RT_Status)
     {
         FFTgt_G2H_GVA_EnablePrint_RT_Status tgt2 = tgt as FFTgt_G2H_GVA_EnablePrint_RT_Status;
         buffer.Add(tgt2.Status.GetGmuIdInt8());
     }
     else
     {
         FFTgt_G2H_GVA_EnablePrint_RT_Request tgt2 = tgt as FFTgt_G2H_GVA_EnablePrint_RT_Request;
     }
 }
Ejemplo n.º 4
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_GVA_EnablePrint_RT_Status tgt = new FFTgt_G2H_GVA_EnablePrint_RT_Status();
     tgt.Status = (FF_ResponseStatus)buffer[0];
     return tgt;
 }
Ejemplo n.º 5
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     if (buffer.Length == 1)
     {
         FFTgt_G2H_GVA_EnablePrint_RT_Status tgt = new FFTgt_G2H_GVA_EnablePrint_RT_Status();
         tgt.Status = buffer[0].GetAppId<FF_GmuId_ResponseStatus_Types, FF_AppId_ResponseStatus_Types>();
         return tgt;
     }
     else
     {
         FFTgt_G2H_GVA_EnablePrint_RT_Request tgt = new FFTgt_G2H_GVA_EnablePrint_RT_Request();
         return tgt;
     }
 }