add GeneratedCode attribute
This commit is contained in:
parent
17c2a959e6
commit
249254e2e5
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue