public PressureUnit(PreFix SI, PressureUnit unit)
        {
            Name = "Pressure";
            Unit = unit.Unit.Copy();

            SetCombined(SI);
            SetNewSymbol(SI);
        }
        public PressureUnit(PressureUnit unit, string NewSymbol = "Empty", decimal correction = 1)
        {
            Name = "Pressure";
            Unit = unit.Unit.Copy();

            SetCombined(correction);
            SetNewSymbol(NewSymbol);
        }
        //public static DynamicViscosityUnit Reyn = new DynamicViscosityUnit(PressureUnit.Pascal, DurationUnit.Second, "reyn", 6.8947572931683613e3m);


        public DynamicViscosityUnit(PressureUnit Pressure, DurationUnit duration, string NewSymbol = "Empty", decimal correction = 1)
        {
            Name = "DynamicViscosity";
            Unit = Pressure.Unit * duration.Unit;

            SetCombined(correction);
            SetNewSymbol(NewSymbol);
            SetNewSymbol(NewSymbol, $"{Pressure}·{duration}");
        }
예제 #4
0
 public Pressure ToUnit(PressureUnit selectedUnit) => new Pressure(ToTheOutSide(selectedUnit.Unit), selectedUnit);
예제 #5
0
 public double As(PressureUnit ReturnInThisUnit) => (double)ToTheOutSide(ReturnInThisUnit.Unit);
예제 #6
0
 public static Pressure From(double value, PressureUnit unit) => new Pressure(value, unit);
예제 #7
0
 public Pressure(int value, PressureUnit selectedUnit) : base(value, selectedUnit.Unit)
 {
 }
예제 #8
0
 public Pressure(decimal value, PressureUnit selectedUnit) : base(value, selectedUnit.Unit)
 {
 }