diff --git a/csharp/Lib/Units/Angle.generated.cs b/csharp/Lib/Units/Angle.generated.cs index 75f16b601..ccc8722f8 100644 --- a/csharp/Lib/Units/Angle.generated.cs +++ b/csharp/Lib/Units/Angle.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Angle; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(AngleConverter))] public readonly partial struct Angle { diff --git a/csharp/Lib/Units/ApparentPower.generated.cs b/csharp/Lib/Units/ApparentPower.generated.cs index 7f5a9b9c5..68d418277 100644 --- a/csharp/Lib/Units/ApparentPower.generated.cs +++ b/csharp/Lib/Units/ApparentPower.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = ApparentPower; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(ApparentPowerConverter))] public readonly partial struct ApparentPower { diff --git a/csharp/Lib/Units/Current.generated.cs b/csharp/Lib/Units/Current.generated.cs index de5242e57..b8b19963c 100644 --- a/csharp/Lib/Units/Current.generated.cs +++ b/csharp/Lib/Units/Current.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Current; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(CurrentConverter))] public readonly partial struct Current { diff --git a/csharp/Lib/Units/Energy.generated.cs b/csharp/Lib/Units/Energy.generated.cs index f0713a828..dabe6ed16 100644 --- a/csharp/Lib/Units/Energy.generated.cs +++ b/csharp/Lib/Units/Energy.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Energy; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(EnergyConverter))] public readonly partial struct Energy { diff --git a/csharp/Lib/Units/Frequency.generated.cs b/csharp/Lib/Units/Frequency.generated.cs index fead5a326..6bdfb8ded 100644 --- a/csharp/Lib/Units/Frequency.generated.cs +++ b/csharp/Lib/Units/Frequency.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Frequency; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(FrequencyConverter))] public readonly partial struct Frequency { diff --git a/csharp/Lib/Units/Generator/Template.txt b/csharp/Lib/Units/Generator/Template.txt index 01f7220d4..c23e0820a 100644 --- a/csharp/Lib/Units/Generator/Template.txt +++ b/csharp/Lib/Units/Generator/Template.txt @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Template; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(TemplateConverter))] public readonly partial struct Template { diff --git a/csharp/Lib/Units/Power.generated.cs b/csharp/Lib/Units/Power.generated.cs index dc8ff2446..750318c6a 100644 --- a/csharp/Lib/Units/Power.generated.cs +++ b/csharp/Lib/Units/Power.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Power; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(PowerConverter))] public readonly partial struct Power { diff --git a/csharp/Lib/Units/ReactivePower.generated.cs b/csharp/Lib/Units/ReactivePower.generated.cs index 8e094a9a5..ec3be808a 100644 --- a/csharp/Lib/Units/ReactivePower.generated.cs +++ b/csharp/Lib/Units/ReactivePower.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = ReactivePower; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(ReactivePowerConverter))] public readonly partial struct ReactivePower { diff --git a/csharp/Lib/Units/Resistance.generated.cs b/csharp/Lib/Units/Resistance.generated.cs index 38318e86c..611c6a8fa 100644 --- a/csharp/Lib/Units/Resistance.generated.cs +++ b/csharp/Lib/Units/Resistance.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Resistance; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(ResistanceConverter))] public readonly partial struct Resistance { diff --git a/csharp/Lib/Units/Temperature.generated.cs b/csharp/Lib/Units/Temperature.generated.cs index fc61edafa..0e993ec15 100644 --- a/csharp/Lib/Units/Temperature.generated.cs +++ b/csharp/Lib/Units/Temperature.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Temperature; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(TemperatureConverter))] public readonly partial struct Temperature { diff --git a/csharp/Lib/Units/Voltage.generated.cs b/csharp/Lib/Units/Voltage.generated.cs index 56ee32836..42d02b6fc 100644 --- a/csharp/Lib/Units/Voltage.generated.cs +++ b/csharp/Lib/Units/Voltage.generated.cs @@ -5,11 +5,13 @@ using static System.Math; using System.Text.Json; using System.Text.Json.Serialization; using InnovEnergy.Lib.Utils; +using System.CodeDom.Compiler; namespace InnovEnergy.Lib.Units; using T = Voltage; +[GeneratedCode("generate.sh", "1")] [JsonConverter(typeof(VoltageConverter))] public readonly partial struct Voltage {