From d812c26ee50afcbbdcc42d468436af296965d85c Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Sat, 18 Oct 2014 23:56:16 +0200 Subject: [PATCH] added /rad to torque --- .../Gu.Units.Generator.Tests.csproj | 9 - Gu.Units.Generator/App.xaml | 10 +- Gu.Units.Generator/GeneratorSettings.xml | 6 +- Gu.Units.Generator/MainWindow.xaml | 10 +- Gu.Units.Generator/Templates/Quantity.tt | 12 + .../Templates/QuantityGenerator.txt | 27 +- .../Templates/UnitGenerator.txt | 27 +- Gu.Units.Tests/ArithmeticsTests.cs | 1 - Gu.Units.Tests/Gu.Units.Tests.csproj | 8 - Gu.Units.sln | 1 - Gu.Units/Acceleration.generated.cs | 433 ++++++++++++++++ Gu.Units/AccelerationUnit.generated.cs | 79 +++ Gu.Units/Angle.generated.cs | 10 + ...generated.cs => AngularSpeed.generated.cs} | 196 ++++---- ...rated.cs => AngularSpeedUnit.generated.cs} | 12 +- Gu.Units/Area.generated.cs | 15 + Gu.Units/Current.generated.cs | 458 +++++++++++++++++ Gu.Units/CurrentUnit.generated.cs | 116 +++++ Gu.Units/Density.generated.cs | 5 + Gu.Units/Energy.generated.cs | 30 ++ Gu.Units/Force.generated.cs | 30 ++ Gu.Units/Frequency.generated.cs | 25 + Gu.Units/Gu.Units.csproj | 46 +- Gu.Units/Interfaces/IQuantity.cs | 13 + Gu.Units/Length.generated.cs | 25 + Gu.Units/Mass.generated.cs | 15 + Gu.Units/Power.generated.cs | 30 ++ Gu.Units/Pressure.generated.cs | 15 + Gu.Units/Resistance.generated.cs | 463 +++++++++++++++++ Gu.Units/ResistanceUnit.generated.cs | 116 +++++ Gu.Units/Speed.generated.cs | 30 ++ Gu.Units/Stiffness.generated.cs | 393 +++++++++++++++ Gu.Units/StiffnessUnit.generated.cs | 67 +++ Gu.Units/Time.generated.cs | 15 + Gu.Units/Torque.generated.cs | 388 +++++++++++++++ Gu.Units/TorqueUnit.generated.cs | 67 +++ Gu.Units/Voltage.generated.cs | 468 ++++++++++++++++++ Gu.Units/VoltageUnit.generated.cs | 116 +++++ Gu.Units/Volume.generated.cs | 20 + Gu.Units/VolumetricFlow.generated.cs | 398 +++++++++++++++ Gu.Units/VolumetricFlowUnit.generated.cs | 67 +++ 41 files changed, 4138 insertions(+), 134 deletions(-) create mode 100644 Gu.Units/Acceleration.generated.cs create mode 100644 Gu.Units/AccelerationUnit.generated.cs rename Gu.Units/{AngularVelocity.generated.cs => AngularSpeed.generated.cs} (60%) rename Gu.Units/{AngularVelocityUnit.generated.cs => AngularSpeedUnit.generated.cs} (78%) create mode 100644 Gu.Units/Current.generated.cs create mode 100644 Gu.Units/CurrentUnit.generated.cs create mode 100644 Gu.Units/Resistance.generated.cs create mode 100644 Gu.Units/ResistanceUnit.generated.cs create mode 100644 Gu.Units/Stiffness.generated.cs create mode 100644 Gu.Units/StiffnessUnit.generated.cs create mode 100644 Gu.Units/Torque.generated.cs create mode 100644 Gu.Units/TorqueUnit.generated.cs create mode 100644 Gu.Units/Voltage.generated.cs create mode 100644 Gu.Units/VoltageUnit.generated.cs create mode 100644 Gu.Units/VolumetricFlow.generated.cs create mode 100644 Gu.Units/VolumetricFlowUnit.generated.cs diff --git a/Gu.Units.Generator.Tests/Gu.Units.Generator.Tests.csproj b/Gu.Units.Generator.Tests/Gu.Units.Generator.Tests.csproj index 6d072f1e..b8b4161e 100644 --- a/Gu.Units.Generator.Tests/Gu.Units.Generator.Tests.csproj +++ b/Gu.Units.Generator.Tests/Gu.Units.Generator.Tests.csproj @@ -37,11 +37,6 @@ - - - - - @@ -59,10 +54,6 @@ {E2703762-7D3C-49AE-B8A8-B3A792F018E3} Gu.Units.Generator - - {F1F8B138-BECC-4475-A7AB-B3019338BC7B} - Gu.Units - diff --git a/Gu.Units.Generator/App.xaml b/Gu.Units.Generator/App.xaml index 6dba0ccf..2f9dac64 100644 --- a/Gu.Units.Generator/App.xaml +++ b/Gu.Units.Generator/App.xaml @@ -3,9 +3,9 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:generator="clr-namespace:Gu.Units.Generator" StartupUri="MainWindow.xaml"> - + - + @@ -16,13 +16,13 @@