提交bug
This commit is contained in:
@ -11,6 +11,9 @@ namespace DH.Commons.Base
|
||||
{
|
||||
public class GlobalConfig : NotifyProperty
|
||||
{
|
||||
bool _EnableVibrator=false;
|
||||
bool _EnableBelt = false;
|
||||
int _ClearTime=0;
|
||||
string _name;
|
||||
private BindingList<PLCItem> _InitProcessList = new BindingList<PLCItem>();
|
||||
private BindingList<PLCItem> _StartProcessList = new BindingList<PLCItem>();
|
||||
@ -29,7 +32,42 @@ namespace DH.Commons.Base
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool EnableBelt
|
||||
{
|
||||
get => _EnableBelt;
|
||||
set
|
||||
{
|
||||
if (_EnableBelt != value)
|
||||
{
|
||||
_EnableBelt = value;
|
||||
OnPropertyChanged(nameof(EnableBelt));
|
||||
}
|
||||
}
|
||||
}
|
||||
public bool EnableVibrator
|
||||
{
|
||||
get => _EnableVibrator;
|
||||
set
|
||||
{
|
||||
if (_EnableVibrator != value)
|
||||
{
|
||||
_EnableVibrator = value;
|
||||
OnPropertyChanged(nameof(EnableVibrator));
|
||||
}
|
||||
}
|
||||
}
|
||||
public int ClearTime
|
||||
{
|
||||
get => _ClearTime;
|
||||
set
|
||||
{
|
||||
if (_ClearTime != value)
|
||||
{
|
||||
_ClearTime = value;
|
||||
OnPropertyChanged(nameof(ClearTime));
|
||||
}
|
||||
}
|
||||
}
|
||||
public BindingList<PLCItem> InitProcessList
|
||||
{
|
||||
get => _InitProcessList;
|
||||
|
Reference in New Issue
Block a user