Buttons design in FSM Table, default condition table
This commit is contained in:
43
Database.cs
43
Database.cs
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user