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

            tgt.TicketNumber = FreeformHelper.GetBytesToBCDInt32(buffer, 0, 3);
            return(tgt);
        }
Example #2
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_H2G_GVA_TN_Response tgt2 = tgt as FFTgt_H2G_GVA_TN_Response;

            buffer.AddRange(tgt2.TicketNumber.GetBCDToBytes(3));
        }
Example #3
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_H2G_GVA_TN_Response tgt = new FFTgt_H2G_GVA_TN_Response();
     tgt.TicketNumber = FreeformHelper.GetBytesToBCDInt32(buffer, 0, 3);
     return tgt;
 }