Weighing: Add SchemberEventScale

This commit is contained in:
2024-02-21 18:33:36 +01:00
parent d289a5d4bf
commit 10b78dfb72
6 changed files with 130 additions and 36 deletions

View File

@ -53,6 +53,8 @@ namespace Elwig {
public static string? BranchFaxNr { get; private set; }
public static string? BranchMobileNr { get; private set; }
public static IList<IScale> Scales { get; private set; }
public static IList<ICommandScale> CommandScales => Scales.Where(s => s is ICommandScale).Cast<ICommandScale>().ToList();
public static IList<IEventScale> EventScales => Scales.Where(s => s is IEventScale).Cast<IEventScale>().ToList();
public static ClientParameters Client { get; set; }
public static bool IsPrintingReady => Html.IsReady && Pdf.IsReady;