Example #1
0
 /// <summary>
 /// Constructor, for unit test
 /// </summary>
 /// <param name="thermometerModel"></param>
 /// <param name="repo"></param>
 public ThresholdModel(ThermometerModel thermometerModel,
                       IThresholdRepository repo)
 {
     _thermometerModel    = thermometerModel;
     _thresholdRepository = repo;
 }
Example #2
0
 /// <summary>
 /// Constructors
 /// </summary>
 /// <param name="thermometerModel"></param>
 public ThresholdModel(ThermometerModel thermometerModel)
     : this(thermometerModel, null)
 {
 }