You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
2.7 KiB
119 lines
2.7 KiB
using System;
|
|
using System.Collections.ObjectModel;
|
|
using System.ComponentModel;
|
|
|
|
namespace GummingCommon
|
|
{
|
|
[Serializable]
|
|
public class SystemSettingInfo : INotifyPropertyChanged
|
|
{
|
|
#region Base Setting
|
|
private bool _IsRelease;
|
|
public bool IsRelease
|
|
{
|
|
get
|
|
{
|
|
return _IsRelease;
|
|
}
|
|
set
|
|
{
|
|
_IsRelease = value;
|
|
OnPropertyChanged("IsRelease");
|
|
}
|
|
}
|
|
private int _MaxRetryTimers;
|
|
public int MaxRetryTimers
|
|
{
|
|
get
|
|
{
|
|
return _MaxRetryTimers;
|
|
}
|
|
set
|
|
{
|
|
_MaxRetryTimers = value;
|
|
OnPropertyChanged("MaxRetryTimers");
|
|
}
|
|
}
|
|
private int _ComdogTime;
|
|
public int ComdogTime
|
|
{
|
|
get
|
|
{
|
|
return _ComdogTime;
|
|
}
|
|
set
|
|
{
|
|
_ComdogTime = value;
|
|
OnPropertyChanged("ComdogTime");
|
|
}
|
|
}
|
|
private string _SystemSign;
|
|
public string SystemSign
|
|
{
|
|
get
|
|
{
|
|
return _SystemSign;
|
|
}
|
|
set
|
|
{
|
|
_SystemSign = value;
|
|
OnPropertyChanged("SystemSign");
|
|
}
|
|
}
|
|
private string _CurrentSign;
|
|
public string CurrentSign
|
|
{
|
|
get
|
|
{
|
|
return _CurrentSign;
|
|
}
|
|
set
|
|
{
|
|
_CurrentSign = value;
|
|
OnPropertyChanged("CurrentSign");
|
|
}
|
|
}
|
|
private string _ResourceName;
|
|
public string ResourceName
|
|
{
|
|
get
|
|
{
|
|
return _ResourceName;
|
|
}
|
|
set
|
|
{
|
|
_ResourceName = value;
|
|
OnPropertyChanged("ResourceName");
|
|
}
|
|
}
|
|
private string _Language;
|
|
public string Language
|
|
{
|
|
get
|
|
{
|
|
return _Language;
|
|
}
|
|
set
|
|
{
|
|
_Language = value;
|
|
OnPropertyChanged("Language");
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region INotifyPropertyChanged Members
|
|
public event PropertyChangedEventHandler PropertyChanged = delegate { };
|
|
|
|
private void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChangedEventHandler handler = PropertyChanged;
|
|
if (handler != null)
|
|
{
|
|
handler(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|