Push Changes from other Github

This commit is contained in:
2026-03-09 10:52:42 +01:00
parent c7306e8217
commit ff9add4081
48 changed files with 1857 additions and 1443 deletions

View File

@@ -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; }
}

View File

@@ -34,8 +34,7 @@ public class ReceipeObject
public ReceipeCoolplate ReceipeCoolplate { get; set; }
public ReceipeEtcher ReceipeEtcher { get; set; }
public ReceipeHighvoltageTester ReceipeHvTester { get; set; }
public FlowReceipe Flowreceipe { get; set; }
public FlowReceipeModel FlowreceipeModel { get; set; }
public ReceipeObject()
@@ -46,7 +45,7 @@ public class ReceipeObject
ReceipeCoolplate = new ReceipeCoolplate();
ReceipeEtcher = new ReceipeEtcher();
ReceipeHvTester = new ReceipeHighvoltageTester();
Flowreceipe = new FlowReceipe();
FlowreceipeModel = new FlowReceipeModel();
}
}
@@ -195,12 +194,12 @@ public class EtcherRobotStepData
}
public class FlowReceipe
public class FlowReceipeModel
{
public int NodeCount { get; set; }
public List<FlowReceipeNode> Nodes { get; set; }
public FlowReceipe()
public FlowReceipeModel()
{
Nodes = new List<FlowReceipeNode>();
}
@@ -209,7 +208,7 @@ public class FlowReceipe
public class FlowReceipeNode
{
public UInt16 Priority { get; set; }
public Int32 StationType { get; set; }
public UInt32 StationType { get; set; }
public UInt16 MaxRetries { get; set; }
public int NextNodeSuccess { get; set; }