29 lines
488 B
C#
29 lines
488 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using TwinCAT.TypeSystem;
|
|
using Heisig.HMI.AdsManager;
|
|
|
|
namespace Common;
|
|
|
|
public sealed partial class ParamControlIntVm : ObservableValidator, IDisposable
|
|
{
|
|
[ObservableProperty]
|
|
private string sName;
|
|
|
|
[ObservableProperty]
|
|
private int value;
|
|
|
|
public ParamControlIntVm()
|
|
{
|
|
SName = "No Name:";
|
|
Value = 0;
|
|
}
|
|
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
|
|
}
|