add eRegister (Streaming only) to common

This commit is contained in:
Roland Drabesch
2023-12-11 13:26:15 +01:00
parent e9403bf09f
commit 14cf1c7584
216 changed files with 38991 additions and 38103 deletions
@@ -41,14 +41,18 @@ namespace Xylem.Common.Logic.ProductionOrderCore
/// <param name="registerName"></param>
/// <param name="registerValue"></param>
/// <param name="programmingSource"></param>
public ProgrammingParameters(String registerName, Byte[] registerValue, ProgrammingSource programmingSource = ProgrammingSource.Vako, object realValue = null, string typeName = "", ReadCompare compare = ReadCompare.NoCompare)
/// <param name="realValue"></param>
/// <param name="typeName"></param>
/// <param name="compare"></param>
public ProgrammingParameters(String registerName, Byte[] registerValue, ProgrammingSource programmingSource = ProgrammingSource.Vako,
Object realValue = null, String typeName = "", ReadCompare compare = ReadCompare.NoCompare)
{
RegisterName = registerName;
RegisterValue = registerValue;
Source = programmingSource;
TypeName = typeName;
if (!String.IsNullOrEmpty(TypeName))
if (!string.IsNullOrEmpty(TypeName))
{
switch (TypeName)
{
@@ -103,8 +107,8 @@ namespace Xylem.Common.Logic.ProductionOrderCore
public ProgrammingSource Source { get; set; }
public object RealValue { get; set; }
public string TypeName { get; set; }
public Object RealValue { get; set; }
public String TypeName { get; set; }
public ReadCompare Compare { get; set; }