public List <TextData> GetBarsNameDatas()
        {
            //RabCyl1
            int x = _x - 75;
            int y = _y + _height + _height + _height / 2 - 30;

            BarsName.Add(new TextData
            {
                LeftTopX = x,
                LeftTopY = y,
                Text     = "РЦ левый, бары"
            });
            //PredCyl1
            x = _x - 75;
            y = _y + _height + _height + _height / 2 - 30 - (_barHight + 75);
            BarsName.Add(new TextData
            {
                LeftTopX = x,
                LeftTopY = y,
                Text     = "ПЦ левый, бары"
            });
            //RabCyl2
            x = _x - 75 + _barWidth + 50;
            y = _y + _height + _height + _height / 2 - 30;
            BarsName.Add(new TextData
            {
                LeftTopX = x,
                LeftTopY = y,
                Text     = "РЦ правый, бары"
            });
            //PredCyl2
            x = _x - 75 + _barWidth + 50;
            y = _y + _height + _height + _height / 2 - 30 - (_barHight + 75);
            BarsName.Add(new TextData
            {
                LeftTopX = x,
                LeftTopY = y,
                Text     = "ПЦ правый, бары"
            });
            return(BarsName);
        }
        public void InitVm(Parameters parameters)
        {
            BarsBackground.Clear();
            BarsContur.Clear();
            BarsContent.Clear();
            BarsValue.Clear();
            RuleDatas.Clear();
            RuleInscriptions.Clear();
            BarsName.Clear();
            BarsFrame.Clear();
            BindingLine.Clear();

            _parameters        = parameters;
            _greenZoneRabCyl1  = _mineConfig.BrakeSystemConfig.GreenZoneRabCyl1.Value;
            _greenZoneRabCyl2  = _mineConfig.BrakeSystemConfig.GreenZoneRabCyl2.Value;
            _greenZonePredCyl1 = _mineConfig.BrakeSystemConfig.GreenZonePredCyl1.Value;
            _greenZonePredCyl2 = _mineConfig.BrakeSystemConfig.GreenZonePredCyl2.Value;
            _rabCyl1Pressure   = (_parameters.BrakeRabCyl1Pressure - _mineConfig.BrakeSystemConfig.AdcZero.Value) * _mineConfig.BrakeSystemConfig.AdcValueToBarrKoef.Value;
            _rabCyl2Pressure   = (_parameters.BrakeRabCyl2Pressure - _mineConfig.BrakeSystemConfig.AdcZero.Value) * _mineConfig.BrakeSystemConfig.AdcValueToBarrKoef.Value;
            _predCyl1Pressure  = (_parameters.BrakePredCyl1Pressure - _mineConfig.BrakeSystemConfig.AdcZero.Value) * _mineConfig.BrakeSystemConfig.AdcValueToBarrKoef.Value;
            _predCyl2Pressure  = (_parameters.BrakePredCyl2Pressure - _mineConfig.BrakeSystemConfig.AdcZero.Value) * _mineConfig.BrakeSystemConfig.AdcValueToBarrKoef.Value;
        }