Exemplo n.º 1
0
        public ForceUnit(PreFix SI, ForceUnit energyunit)
        {
            Unit = energyunit.Unit.Copy();

            SetCombined(SI);
            SetNewSymbol(SI);
        }
 public DynamicViscosityUnit(ForceUnit force, DurationUnit duration, AreaUnit area, string NewSymbol = "Empty", decimal correction = 1)
 {
     Name = "DynamicViscosity";
     Unit = (force.Unit * duration.Unit) / area.Unit;
     SetCombined(correction);
     SetNewSymbol(NewSymbol, $"{force}·{duration}/{area}");
 }
Exemplo n.º 3
0
        public ForcePerLengthUnit(ForceUnit force, LengthUnit length, string NewSymbol = "Empty", decimal correction = 1)
        {
            Name = "ForcePerLength";
            Unit = force.Unit / length.Unit;

            SetCombined(correction);
            SetNewSymbol(NewSymbol, $"{force}/{length}");
        }
        public PressureUnit(ForceUnit force, AreaUnit area, string NewSymbol = "Empty", decimal correction = 1)
        {
            Name = "Pressure";
            Unit = force.Unit / area.Unit;

            SetCombined(correction);
            SetNewSymbol(NewSymbol, $"{force}/{area}");
        }
Exemplo n.º 5
0
        public TorqueUnit(ForceUnit force, LengthUnit length, string NewSymbol = "Empty", decimal correction = 1)
        {
            Name = "Torque";
            Unit = force.Unit * length.Unit;

            SetCombined(correction);
            SetNewSymbol(NewSymbol, $"{force}·{length}");
        }
Exemplo n.º 6
0
 public Force ToUnit(ForceUnit selectedUnit) => new Force(ToTheOutSide(selectedUnit.Unit), selectedUnit);
Exemplo n.º 7
0
 public double As(ForceUnit ReturnInThisUnit) => (double)ToTheOutSide(ReturnInThisUnit.Unit);
Exemplo n.º 8
0
 public static Force From(double value, ForceUnit unit) => new Force(value, unit);
Exemplo n.º 9
0
 public Force(int value, ForceUnit selectedUnit) : base(value, selectedUnit.Unit)
 {
 }
Exemplo n.º 10
0
 public Force(double value, ForceUnit selectedUnit) : base(value, selectedUnit.Unit)
 {
 }
Exemplo n.º 11
0
 public Force(decimal value, ForceUnit selectedUnit) : base(value, selectedUnit.Unit)
 {
 }