Push Changes from other Github
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
|
||||
namespace InfineonHMI.Model;
|
||||
|
||||
@@ -110,14 +111,38 @@ public enum Stationenum : uint
|
||||
}
|
||||
|
||||
|
||||
public class StationEntry(Stationenum station, string name)
|
||||
public class StationEntry
|
||||
{
|
||||
public Stationenum eStation = station;
|
||||
public string sName = name;
|
||||
private Stationenum eStation;
|
||||
public Stationenum EStation
|
||||
{
|
||||
get { return eStation; }
|
||||
set { eStation = value; }
|
||||
}
|
||||
|
||||
private string sName;
|
||||
|
||||
public string SName
|
||||
{
|
||||
get { return sName; }
|
||||
set { sName = value; }
|
||||
}
|
||||
|
||||
public StationEntry(Stationenum station, string name)
|
||||
{
|
||||
EStation = station;
|
||||
SName = name;
|
||||
}
|
||||
|
||||
public StationEntry()
|
||||
{
|
||||
EStation = Stationenum.EINGABE;
|
||||
SName = "Eingabetray";
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return sName;
|
||||
return SName;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,10 +152,8 @@ public class FlowReceipeEntry()
|
||||
public UInt16 Priority { get; set; }
|
||||
public required StationEntry Station { get; set; }
|
||||
public UInt16 MaxRetries { get; set; }
|
||||
|
||||
public int NextNodeSuccess { get; set; }
|
||||
public int NextNodeRetry { get; set; }
|
||||
public int NextNodeFail { get; set; }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user