Пример #1
0
        static ForceChangeRate()
        {
            BaseDimensions = new Dimensions(1, 1, -3, 0, 0, 0, 0);

            Info = new QuantityInfo <ForceChangeRateUnit>("ForceChangeRate",
                                                          new UnitInfo <ForceChangeRateUnit>[] {
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.CentinewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.DecanewtonPerMinute, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.DecanewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.DecinewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.KilonewtonPerMinute, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.KilonewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.KilopoundForcePerMinute, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.KilopoundForcePerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.MicronewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.MillinewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.NanonewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.NewtonPerMinute, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.NewtonPerSecond, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.PoundForcePerMinute, BaseUnits.Undefined),
                new UnitInfo <ForceChangeRateUnit>(ForceChangeRateUnit.PoundForcePerSecond, BaseUnits.Undefined),
            },
                                                          BaseUnit, Zero, BaseDimensions, QuantityType.ForceChangeRate);
        }
        static AmountOfSubstance()
        {
            BaseDimensions = new Dimensions(0, 0, 0, 0, 0, 1, 0);

            Info = new QuantityInfo <AmountOfSubstanceUnit>("AmountOfSubstance",
                                                            new UnitInfo <AmountOfSubstanceUnit>[] {
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Centimole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.CentipoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Decimole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.DecipoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Kilomole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.KilopoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Megamole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Micromole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.MicropoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Millimole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.MillipoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Mole, new BaseUnits(amount: AmountOfSubstanceUnit.Mole)),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.Nanomole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.NanopoundMole, BaseUnits.Undefined),
                new UnitInfo <AmountOfSubstanceUnit>(AmountOfSubstanceUnit.PoundMole, new BaseUnits(amount: AmountOfSubstanceUnit.PoundMole)),
            },
                                                            BaseUnit, Zero, BaseDimensions, QuantityType.AmountOfSubstance);
        }