public void InitVm(Parameters parameters) { RuleDatas.Clear(); RuleInscriptions.Clear(); RulePointerLine.Clear(); RulePointer.Clear(); RuleFillPointer.Clear(); SpeedMeaningZone.Clear(); _parameters = parameters; SetLength(); SetPointsValue(); }
public void InitVm(Parameters parameters) { RuleDatas.Clear(); RuleInscriptions.Clear(); RulePointerLine.Clear(); RulePointer.Clear(); RuleFillPointer.Clear(); PanelBorderLine.Clear(); LevelsInscriptions.Clear(); _parameters = parameters; SetLength(); SetPointsValue(); }
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; }