Esempio n. 1
0
 public void AddToThresholds(ThresholdDTO thresholdDTO)
 {
     base.AddObject("Thresholds", thresholdDTO);
 }
Esempio n. 2
0
 public static ThresholdDTO CreateThresholdDTO(int ID, decimal totalThreshold, decimal intervalThreshold, decimal deltaIntervalThreshold, decimal average3Threshold, decimal average7Threshold, int pnRegId)
 {
     ThresholdDTO thresholdDTO = new ThresholdDTO();
     thresholdDTO.Id = ID;
     thresholdDTO.TotalThreshold = totalThreshold;
     thresholdDTO.IntervalThreshold = intervalThreshold;
     thresholdDTO.DeltaIntervalThreshold = deltaIntervalThreshold;
     thresholdDTO.Average3Threshold = average3Threshold;
     thresholdDTO.Average7Threshold = average7Threshold;
     thresholdDTO.PnRegId = pnRegId;
     return thresholdDTO;
 }