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;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Angle;
|
using T = Angle;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(AngleConverter))]
|
[JsonConverter(typeof(AngleConverter))]
|
||||||
public readonly partial struct Angle
|
public readonly partial struct Angle
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = ApparentPower;
|
using T = ApparentPower;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(ApparentPowerConverter))]
|
[JsonConverter(typeof(ApparentPowerConverter))]
|
||||||
public readonly partial struct ApparentPower
|
public readonly partial struct ApparentPower
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Current;
|
using T = Current;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(CurrentConverter))]
|
[JsonConverter(typeof(CurrentConverter))]
|
||||||
public readonly partial struct Current
|
public readonly partial struct Current
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Energy;
|
using T = Energy;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(EnergyConverter))]
|
[JsonConverter(typeof(EnergyConverter))]
|
||||||
public readonly partial struct Energy
|
public readonly partial struct Energy
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Frequency;
|
using T = Frequency;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(FrequencyConverter))]
|
[JsonConverter(typeof(FrequencyConverter))]
|
||||||
public readonly partial struct Frequency
|
public readonly partial struct Frequency
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Template;
|
using T = Template;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(TemplateConverter))]
|
[JsonConverter(typeof(TemplateConverter))]
|
||||||
public readonly partial struct Template
|
public readonly partial struct Template
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Power;
|
using T = Power;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(PowerConverter))]
|
[JsonConverter(typeof(PowerConverter))]
|
||||||
public readonly partial struct Power
|
public readonly partial struct Power
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = ReactivePower;
|
using T = ReactivePower;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(ReactivePowerConverter))]
|
[JsonConverter(typeof(ReactivePowerConverter))]
|
||||||
public readonly partial struct ReactivePower
|
public readonly partial struct ReactivePower
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Resistance;
|
using T = Resistance;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(ResistanceConverter))]
|
[JsonConverter(typeof(ResistanceConverter))]
|
||||||
public readonly partial struct Resistance
|
public readonly partial struct Resistance
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Temperature;
|
using T = Temperature;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(TemperatureConverter))]
|
[JsonConverter(typeof(TemperatureConverter))]
|
||||||
public readonly partial struct Temperature
|
public readonly partial struct Temperature
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,11 +5,13 @@ using static System.Math;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
|
||||||
namespace InnovEnergy.Lib.Units;
|
namespace InnovEnergy.Lib.Units;
|
||||||
|
|
||||||
using T = Voltage;
|
using T = Voltage;
|
||||||
|
|
||||||
|
[GeneratedCode("generate.sh", "1")]
|
||||||
[JsonConverter(typeof(VoltageConverter))]
|
[JsonConverter(typeof(VoltageConverter))]
|
||||||
public readonly partial struct Voltage
|
public readonly partial struct Voltage
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue