public SgetProjectDataPointTask(SgetProjectDataPointTaskInfo info, long?pollIntervall, SgetCloudReportingCondition cloudCondition, SgetCloudViewMetadata viewMetaData, string description) { Description = description; ViewMetaData = viewMetaData; Info = info; PollIntervall = pollIntervall ?? (10 * 1000); CloudCondition = cloudCondition; }
private SgetDatapointTaskReportingCondition GetSgetCloudReportingCondition(SgetCloudReportingCondition condition) { return(new SgetDatapointTaskReportingCondition(condition.ReportingThresholdInMilliSecs, condition.ReportingThresholdInPercent, condition.ReportingThresholdInMilliSecs)); }
private SgetDatapointTaskReportingCondition GetSgetCloudReportingCondition(SgetCloudReportingCondition condition) { return(new SgetDatapointTaskReportingCondition(condition.ReportingThresholdInPercent, condition.MinimalAbsoluteDifference, condition.ReportingThresholdInMilliSecs)); }