protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_H2G_LP_InstantPeriodic tgtSrc = request as FFTgt_H2G_LP_InstantPeriodic;
            if (tgtSrc == null) return null;

            MonTgt_H2G_LP_InstantPeriodic tgtDest = new MonTgt_H2G_LP_InstantPeriodic()
            {
                ConfiguredInterval = tgtSrc.ConfiguredInterval,
                LowerOrderInterval = tgtSrc.LowerOrderInterval,
                HigherOrderInterval = tgtSrc.HigherOrderInterval
            };

            return tgtDest;
        }
Exemple #2
0
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_H2G_LP_InstantPeriodic tgtSrc = request as FFTgt_H2G_LP_InstantPeriodic;

            if (tgtSrc == null)
            {
                return(null);
            }

            MonTgt_H2G_LP_InstantPeriodic tgtDest = new MonTgt_H2G_LP_InstantPeriodic()
            {
                ConfiguredInterval  = tgtSrc.ConfiguredInterval,
                LowerOrderInterval  = tgtSrc.LowerOrderInterval,
                HigherOrderInterval = tgtSrc.HigherOrderInterval
            };

            return(tgtDest);
        }