Buttons design in FSM Table, default condition table

This commit is contained in:
2024-12-04 16:46:27 +07:00
parent fd4caf028b
commit 721d397671
3 changed files with 190 additions and 14 deletions

View File

@@ -666,6 +666,49 @@ namespace FAtoPA
}
}
class FSMConditionVX : INotifyPropertyChanged
{
private string _condition;
public string Condition
{
get => _condition;
set
{
if (_condition != value)
{
_condition = value;
OnPropertyChanged(nameof(Condition));
}
}
}
private short _status;
public short Status
{
get { return _status; }
set
{
if (_status != value)
{
_status = value;
OnPropertyChanged(nameof(Status));
}
}
}
public FSMConditionVX(string condition,short status)
{
this._condition = condition;
this._status = status;
}
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
class VXData : INotifyPropertyChanged
{
private String _siid;