SchematicDrawing.IDrawingItCmpntWithCustomBmp and several bitmaps added, ver. 3.1.1886

This commit is contained in:
Milan Hanajik
2022-04-26 16:53:10 +02:00
parent deabff9a18
commit c5db2c0138
39 changed files with 469 additions and 85 deletions
+6 -2
View File
@@ -1,8 +1,9 @@
///
/// Copyright (c) 2020-2021 Sensus Slovensko a.s.
/// Copyright (c) 2020-2022 Sensus Slovensko a.s.
///
using System;
using Dirichlet.Numerics;
using SchematicDrawing;
namespace TBF.UiBridge
{
@@ -13,14 +14,17 @@ namespace TBF.UiBridge
public readonly double[] MeasuredValues;
public readonly string[] AltStrings;
public readonly double[] Setpoints;
public readonly DrawingShape[] CustomBitmaps;
public StateMachineTickEventArgs(UInt128 route, bool[] msrmntAvailableFlags, double[] measuredValues, string[] altStrings, double[] setpoints)
public StateMachineTickEventArgs(UInt128 route, bool[] msrmntAvailableFlags, double[] measuredValues,
string[] altStrings, double[] setpoints, DrawingShape[] customBitmaps)
{
Route = route;
MsrmntAvailableFlags = msrmntAvailableFlags;
MeasuredValues = measuredValues;
AltStrings = altStrings;
Setpoints = setpoints;
CustomBitmaps = customBitmaps;
}
}
}