Exemple #1
0
 public RoomLineGraphInfo(ActiveDevice device, bool startTimer = true) : base(device)
 {
     GraphLineModel = ViewResolvingPlotModel.CreateDefault();
     Setting        = device.DeviceSetting;
     if (startTimer)
     {
         _timer = new Timer(_timer_Tick, null, new TimeSpan(0, 10, 0), new TimeSpan(0, 10, 0));
     }
 }
 public MultiRoomLineGraphInfo(ActiveDevice device, bool startTimer = true) : base(device)
 {
     GraphLineModelForDefault        = ViewResolvingPlotModel.CreateDefault();
     GraphLineModelForMiddle         = ViewResolvingPlotModel.CreateDefault();
     GraphLineModelForProcessForNord = ViewResolvingPlotModel.CreateDefault();
     GraphLineModelForProcess        = ViewResolvingPlotModel.CreateDefault();
     if (startTimer)
     {
         _timer = new Timer(_timer_Tick, null, new TimeSpan(0, 10, 0), new TimeSpan(0, 10, 0));
     }
 }