protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request) { MonTgt_H2G_GVA_EFTMAxWithdraw_Response tgtSrc = request as MonTgt_H2G_GVA_EFTMAxWithdraw_Response; if (tgtSrc != null) { FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction(); FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgtSub = new FFTgt_H2G_GVA_EFT_MaxWithdraw_Response() { MaxElectronicWithdrawalAmount=tgtSrc.MaxWithdrawalAmount }; tgtDest.AddTarget(tgtSub); return tgtDest; } return null; }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgt = new FFTgt_H2G_GVA_EFT_MaxWithdraw_Response(); return(tgt); }
public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer) { FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgt2 = tgt as FFTgt_H2G_GVA_EFT_MaxWithdraw_Response; buffer.AddRange(tgt2.MaxElectronicWithdrawalAmount.GetBCDToBytes(4)); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgt = new FFTgt_H2G_GVA_EFT_MaxWithdraw_Response(); return tgt; }