Push Changes from other Github
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Windows.Controls;
|
||||
using Heisig.HMI.AdsManager;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace InfineonHMI;
|
||||
|
||||
@@ -7,9 +8,20 @@ namespace InfineonHMI;
|
||||
/// </summary>
|
||||
public partial class TrayFeederPage : Page
|
||||
{
|
||||
public TrayFeederPage()
|
||||
public static string AdsVariableName = "GVL_SCADA.stMachine";
|
||||
|
||||
public static TrayFeederPageVM CreateModel(IAdsManager adsManager)
|
||||
{
|
||||
return new(adsManager, AdsVariableName);
|
||||
}
|
||||
|
||||
public static TrayFeederPage CreateView(TrayFeederPageVM model)
|
||||
{
|
||||
return new TrayFeederPage { DataContext = model };
|
||||
}
|
||||
|
||||
public TrayFeederPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user