add eRegister (Streaming only) to common
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user