protected override bool OnProcessMessageH2GExternal_SIM(FFTgtExecutionContext context, IFreeformEntity_MsgTgt target)
        {
            FFTgt_H2G_GVA_TPD_Response tgtSrc = target as FFTgt_H2G_GVA_TPD_Response;

            ModuleHelper.Current.TicketGlobals.UpdatePrintDate(context.SourceMessage.IpAddress, tgtSrc.Date);
            return(true);
        }
Ejemplo n.º 2
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_TPD_Response tgtSrc = request as MonTgt_H2G_GVA_TPD_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction     tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_TPD_Response tgtSub  = new FFTgt_H2G_GVA_TPD_Response()
                {
                    Date = tgtSrc.Date,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }