LimitCarveCalculator Edit Window was changed
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using LoaderCalculator.Data.Materials.MaterialBuilders;
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using StructureHelperCommon.Services.ColorServices;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -19,5 +20,15 @@ namespace StructureHelperCommon.Infrastructures.Settings
|
||||
{
|
||||
Color = ColorProcessor.GetRandomColor();
|
||||
}
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
var item = obj as CalcTermEntity;
|
||||
if (item.CalcTerm == CalcTerm & item.Name == Name & item.ShortName == ShortName)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user