示例#1
0
 public WaterMeter_Cells()
 {
     this.Data.Value = "0.0";
     //this.Status.Value = "Норм";
     offsetPoint            = new WaterMeterOffsetPoint();
     BlinkerTimer           = new System.Timers.Timer(1500);
     BlinkerTimer.Elapsed  += this.OnBlinkerTimedEvent;
     BlinkerTimer.AutoReset = false;
 }
示例#2
0
 public WaterMeterConsumption(string id, string type, string consumer = "")
 {
     watermeterOffset      = new WaterMeterOffsetPoint();
     meterId               = id;
     waterType             = type;
     waterConsumer         = consumer;
     ConsumptionStartPoint = 0;
     ConsumptionEndPoint   = 0;
     Difference            = -1;
     //ChID = "";
 }