예제 #1
0
        public ControlMassFlow()
        {
            InitializeComponent();
            Unit     = MassFlowUnit.KilogramPerSecond;
            Minimum2 = MassFlow.Zero;
            Maximum2 = MassFlow.FromKilogramsPerSecond(10000);

            Minimum = (decimal)Minimum2.ToUnit(unit).Value;
            Maximum = (decimal)Maximum2.ToUnit(unit).Value;
        }
예제 #2
0
        public ControlPower()
        {
            InitializeComponent();
            Unit     = PowerUnit.Kilowatt;
            Minimum2 = Power.Zero;
            Maximum2 = Power.FromKilowatts(10000);

            Minimum = (decimal)Minimum2.ToUnit(unit).Value;
            Maximum = (decimal)Maximum2.ToUnit(unit).Value;
        }
예제 #3
0
        public ControlTemperature()
        {
            InitializeComponent();
            Unit     = TemperatureUnit.DegreeCelsius;
            Minimum2 = Temperature.FromKelvins(0);
            Maximum2 = Temperature.FromDegreesCelsius(10000);

            Minimum = (decimal)Minimum2.ToUnit(unit).Value;
            Maximum = (decimal)Maximum2.ToUnit(unit).Value;
        }