Innovenergy_trunk/csharp/Lib/Units/Composite/Ac1Bus.cs

28 lines
606 B
C#
Raw Normal View History

2023-02-26 18:19:16 +00:00
using System.Diagnostics.CodeAnalysis;
namespace InnovEnergy.Lib.Units.Composite;
2023-03-01 09:52:21 +00:00
public record Ac1Bus : AcPhase
2023-02-26 18:19:16 +00:00
{
public Frequency Frequency { get; init; }
2023-02-26 18:19:16 +00:00
// [SuppressMessage("ReSharper", "RedundantCast")]
// public static Ac1Bus operator |(Ac1Bus left, Ac1Bus right)
// {
// var f = left.Frequency | right.Frequency;
// var p = (AcPhase)left | (AcPhase)right;
//
// return new Ac1Bus
// {
// Frequency = f,
// Current = p.Current,
// Voltage = p.Voltage,
// Phi = p.Phi
// };
// }
2023-02-26 18:19:16 +00:00
}