Exemplo n.º 1
0
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_G2H_GVA_TPD_Status tgtSrc = request as FFTgt_G2H_GVA_TPD_Status;

            if (tgtSrc != null)
            {
                MonTgt_G2H_GVA_TPD_Status tgtDest = new MonTgt_G2H_GVA_TPD_Status()
                {
                    Status = tgtSrc.Status,
                };
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 2
0
 protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
 {
     FFTgt_G2H_GVA_TPD_Status tgtSrc = request as FFTgt_G2H_GVA_TPD_Status;
     if (tgtSrc != null)
     {
         MonTgt_G2H_GVA_TPD_Status tgtDest = new MonTgt_G2H_GVA_TPD_Status()
         {
             Status = tgtSrc.Status,
         };
         return tgtDest;
     }
     return null;
 }