Example #1
0
 public ECS(int thr, IHeater heater)
 {
     SetThreshold(thr);
     TempSensor_ = new TempSensor();
     Heater_     = heater;
 }
Example #2
0
 public ECS(int thr)
 {
     SetThreshold(thr);
     TempSensor_ = new TempSensor();
     Heater_     = new Heater();
 }