Exemple #1
0
        public void Reset()
        {
            BeginDate = DateTime.Parse("20.12.2016");
            EndDate   = DateTime.Now;
            Plotnost.Clear();
            General.Clear();
            AllLayer.Clear();
            General.Clear();
            Layer1.Clear();
            Layer2.Clear();
            Layer3.Clear();

            InfoVision       = false;
            ButtonVisibility = false;
            RegulationAll    = false;
            RegulationCoun   = false;
            RegulationGen    = false;
            RegulationLayer1 = false;
            RegulationLayer2 = false;
            RegulationLayer3 = false;
            RegulationPlotn  = false;
            var tempTime = string.Format("{0} {1}:{2}:{3}", DateTime.Now.ToShortDateString(), DateTime.Now.Hour,
                                         DateTime.Now.Minute, DateTime.Now.Second);
            var startstop = new ReadStartStop("20.12.2016 18:00:00", tempTime);

            _startStops = startstop.GetMassurm3();
            Get();
        }
Exemple #2
0
        /// <summary>
        /// Кнопка сброса графиков
        /// </summary>
        public void Vision()
        {
            Plotnost.Clear();
            General.Clear();
            AllLayer.Clear();
            General.Clear();
            Layer1.Clear();
            Layer2.Clear();
            Layer3.Clear();

            InfoVision       = false;
            ButtonVisibility = false;
            RegulationAll    = false;
            RegulationCoun   = false;
            RegulationGen    = false;
            RegulationLayer1 = false;
            RegulationLayer2 = false;
            RegulationLayer3 = false;
            RegulationPlotn  = false;
        }