Hide slot and regular hole columns in main list
This commit is contained in:
64
ToolItem.cs
64
ToolItem.cs
@@ -50,9 +50,10 @@ namespace DrillTools
|
||||
private int _toolNumber;
|
||||
private double _diameter;
|
||||
|
||||
// private int _regularHoles; // 孔数功能已移除
|
||||
// private int _slotHoles; // 孔数功能已移除
|
||||
// private int _totalHoles; // 孔数功能已移除
|
||||
private int _regularHoles;
|
||||
private int _slotHoles;
|
||||
private int _totalHoles;
|
||||
private int _slotCount;
|
||||
private string _parameters = string.Empty;
|
||||
|
||||
private ToolType _toolType;
|
||||
@@ -80,32 +81,41 @@ namespace DrillTools
|
||||
set => SetProperty(ref _diameter, value);
|
||||
}
|
||||
|
||||
// /// <summary>
|
||||
// /// 普通孔数
|
||||
// /// </summary>
|
||||
// public int RegularHoles
|
||||
// {
|
||||
// get => _regularHoles;
|
||||
// set => SetProperty(ref _regularHoles, value);
|
||||
// }
|
||||
/// <summary>
|
||||
/// 普通孔数
|
||||
/// </summary>
|
||||
public int RegularHoles
|
||||
{
|
||||
get => _regularHoles;
|
||||
set => SetProperty(ref _regularHoles, value);
|
||||
}
|
||||
|
||||
// /// <summary>
|
||||
// /// 槽孔数
|
||||
// /// </summary>
|
||||
// public int SlotHoles
|
||||
// {
|
||||
// get => _slotHoles;
|
||||
// set => SetProperty(ref _slotHoles, value);
|
||||
// }
|
||||
/// <summary>
|
||||
/// 槽孔实际钻孔数
|
||||
/// </summary>
|
||||
public int SlotHoles
|
||||
{
|
||||
get => _slotHoles;
|
||||
set => SetProperty(ref _slotHoles, value);
|
||||
}
|
||||
|
||||
// /// <summary>
|
||||
// /// 总孔数
|
||||
// /// </summary>
|
||||
// public int TotalHoles
|
||||
// {
|
||||
// get => _totalHoles;
|
||||
// set => SetProperty(ref _totalHoles, value);
|
||||
// }
|
||||
/// <summary>
|
||||
/// 总孔数
|
||||
/// </summary>
|
||||
public int TotalHoles
|
||||
{
|
||||
get => _totalHoles;
|
||||
set => SetProperty(ref _totalHoles, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 槽条数(G85行数)
|
||||
/// </summary>
|
||||
public int SlotCount
|
||||
{
|
||||
get => _slotCount;
|
||||
set => SetProperty(ref _slotCount, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 钻机参数
|
||||
|
||||
Reference in New Issue
Block a user