GTB FrmFwUpdate: Set upgrade permission to 0xFF to allow upgrade of GENESISFLOW
This commit is contained in:
@@ -10,23 +10,23 @@ namespace ProductionUiCordonel.Data
|
||||
{
|
||||
public class PickingItemCheckReturn
|
||||
{
|
||||
public bool? Result;
|
||||
public string Msg;
|
||||
public Boolean? Result;
|
||||
public String Msg;
|
||||
}
|
||||
|
||||
public abstract class PickingResultBaseData : IPickingResultData
|
||||
{
|
||||
public string Ident { get; set; }
|
||||
public String Ident { get; set; }
|
||||
|
||||
public int Index { get; set; }
|
||||
public Int32 Index { get; set; }
|
||||
|
||||
public string CheckText { get; set; }
|
||||
public String CheckText { get; set; }
|
||||
|
||||
public string CurrentValueText { get; set; }
|
||||
public String CurrentValueText { get; set; }
|
||||
|
||||
public bool? Result { get; set; }
|
||||
public Boolean? Result { get; set; }
|
||||
|
||||
public bool HasError { get; set; }
|
||||
public Boolean HasError { get; set; }
|
||||
|
||||
public System.Windows.Media.Brush ResultColor { get { return getColorFromResult(); } }
|
||||
public abstract Func<PickingItemCheckReturn> Action { get; }
|
||||
@@ -54,16 +54,16 @@ public abstract class PickingResultBaseData : IPickingResultData
|
||||
}
|
||||
public interface IPickingResultData
|
||||
{
|
||||
string Ident { get; set; }
|
||||
String Ident { get; set; }
|
||||
|
||||
int Index { get; set; }
|
||||
string CheckText { get; set; }
|
||||
Int32 Index { get; set; }
|
||||
String CheckText { get; set; }
|
||||
|
||||
string CurrentValueText { get; set; }
|
||||
String CurrentValueText { get; set; }
|
||||
|
||||
bool? Result { get; set; }
|
||||
Boolean? Result { get; set; }
|
||||
|
||||
bool HasError { get; set; }
|
||||
Boolean HasError { get; set; }
|
||||
|
||||
System.Windows.Media.Brush ResultColor { get; }
|
||||
|
||||
@@ -71,11 +71,11 @@ public abstract class PickingResultBaseData : IPickingResultData
|
||||
}
|
||||
public class PickingResultRegisterData : PickingResultBaseData
|
||||
{
|
||||
public string RegisterIdent { get; set; }
|
||||
public String RegisterIdent { get; set; }
|
||||
|
||||
public GenesisMeter ReadMeter { get; set; }
|
||||
|
||||
public object CompareObject { get; set; }
|
||||
public Object CompareObject { get; set; }
|
||||
|
||||
public override Func<PickingItemCheckReturn> Action { get { return staticReadAndCompareAction(); } }
|
||||
|
||||
@@ -97,7 +97,7 @@ public abstract class PickingResultBaseData : IPickingResultData
|
||||
}
|
||||
else if (CompareObject is Boolean boolCompare)
|
||||
{
|
||||
retComp.Result = boolCompare.Equals(RegisterConverter.ConvertTo<bool>(r));
|
||||
retComp.Result = boolCompare.Equals(RegisterConverter.ConvertTo<Boolean>(r));
|
||||
retComp.Msg = boolCompare.ToString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user