多项功能优化
This commit is contained in:
@@ -30,7 +30,6 @@ public partial class InsulationItem : ObservableValidator
|
||||
private double maxDiameter;
|
||||
|
||||
[Range(0, 1000)]
|
||||
|
||||
public double MinDiameter
|
||||
{
|
||||
get => minDiameter;
|
||||
@@ -44,12 +43,14 @@ public partial class InsulationItem : ObservableValidator
|
||||
|
||||
[Required]
|
||||
[Range(10, 1000)]
|
||||
public double Thickness
|
||||
{
|
||||
get => thickness;
|
||||
set => SetProperty(ref thickness, value, true);
|
||||
}
|
||||
[NotifyDataErrorInfo]
|
||||
[ObservableProperty]
|
||||
private double thickness;
|
||||
//{
|
||||
// get => thickness;
|
||||
// set => SetProperty(ref thickness, value, true);
|
||||
//}
|
||||
//private double thickness;
|
||||
|
||||
[ObservableProperty]
|
||||
private PipeInsulationType pipeInsulationType;
|
||||
|
||||
Reference in New Issue
Block a user