Esempio n. 1
0
        public virtual void MapToServerObject(Server.Application.PopulationTriggerEvent serverObject)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverObject);


            serverObject.PopulationId = populationId;

            serverObject.EventType = eventType;

            serverObject.ServiceId = serviceId;

            serverObject.MetricType = metricType;

            serverObject.MetricId = metricId;

            serverObject.MetricMinimum = metricMinimum;

            serverObject.MetricMaximum = metricMaximum;

            serverObject.AuthorizedServiceId = authorizedServiceId;

            serverObject.ProblemStatementId = problemStatementId;

            serverObject.Action = (Server.Application.Action)action.ToServerObject();


            return;
        }
Esempio n. 2
0
        public virtual void MapToServerObject(Server.Application.ActivityThreshold serverObject)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverObject);


            serverObject.RelativeDateValue = relativeDateValue;

            serverObject.RelativeDateQualifier = relativeDateQualifier;

            serverObject.Status = status;


            if (action != null)
            {
                serverObject.Action = (Server.Application.Action)action.ToServerObject();
            }


            return;
        }
Esempio n. 3
0
        public virtual void MapToServerObject(Server.Application.PopulationActivityEvent serverEvent)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverEvent);


            serverEvent.PopulationId = populationId;

            serverEvent.ScheduleType = scheduleType;

            serverEvent.ScheduleValue = scheduleValue;

            serverEvent.ScheduleQualifier = scheduleQualifier;

            serverEvent.AnchorDate = anchorDate;

            serverEvent.Reoccurring = reoccurring;

            serverEvent.PerformActionDateType = performActionDateType;

            serverEvent.Action = (Server.Application.Action)action.ToServerObject();


            return;
        }