Hide slot and regular hole columns in main list

This commit is contained in:
2026-05-16 10:56:12 +08:00
parent 03d9b8baa2
commit fc5b2b16fa
7 changed files with 12751 additions and 62 deletions

View File

@@ -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>
/// 钻机参数