V1版本
This commit is contained in:
@@ -247,5 +247,71 @@ namespace CapMachine.Shared.Controls
|
||||
}
|
||||
public static readonly DependencyProperty IsTimeOkProperty = DependencyProperty.Register("IsTimeOk", typeof(bool), typeof(MeterConfig), new PropertyMetadata(false));
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PIDNo
|
||||
/// </summary>
|
||||
public int DefaultPIDNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return (int)base.GetValue(MeterConfig.PIDNoProperty);
|
||||
}
|
||||
set
|
||||
{
|
||||
base.SetValue(MeterConfig.PIDNoProperty, value);
|
||||
}
|
||||
}
|
||||
public static readonly DependencyProperty PIDNoProperty = DependencyProperty.Register("PIDNo", typeof(int), typeof(MeterConfig), new PropertyMetadata(1));
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// DefaultLimitNo
|
||||
/// </summary>
|
||||
public int DefaultLimitNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return (int)base.GetValue(MeterConfig.DefaultLimitNoProperty);
|
||||
}
|
||||
set
|
||||
{
|
||||
base.SetValue(MeterConfig.DefaultLimitNoProperty, value);
|
||||
}
|
||||
}
|
||||
public static readonly DependencyProperty DefaultLimitNoProperty = DependencyProperty.Register("DefaultLimitNo", typeof(int), typeof(MeterConfig), new PropertyMetadata(1));
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// DefaultAlarmNo
|
||||
/// </summary>
|
||||
public int DefaultAlarmNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return (int)base.GetValue(MeterConfig.DefaultAlarmNoProperty);
|
||||
}
|
||||
set
|
||||
{
|
||||
base.SetValue(MeterConfig.DefaultAlarmNoProperty, value);
|
||||
}
|
||||
}
|
||||
public static readonly DependencyProperty DefaultAlarmNoProperty = DependencyProperty.Register("DefaultAlarmNo", typeof(int), typeof(MeterConfig), new PropertyMetadata(1));
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ParConfig 命令
|
||||
/// </summary>
|
||||
public ICommand ParConfigCommand
|
||||
{
|
||||
get { return (ICommand)GetValue(ParConfigCommandProperty); }
|
||||
set { SetValue(ParConfigCommandProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty ParConfigCommandProperty =
|
||||
DependencyProperty.Register("ParConfigCommand", typeof(ICommand), typeof(MeterConfig), new PropertyMetadata(default(ICommand)));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user