Fix name field & added offset update

This commit is contained in:
Lucio Maranta
2018-08-20 15:42:11 +02:00
parent 37669e5a63
commit ad22ce02e0
3 changed files with 91 additions and 71 deletions
@@ -160,7 +160,7 @@ namespace Step.Model.DTOModels.ToolModels
{
public int Id { get; set; }
public List<DTONcToolModel> Tools { get; set; }
public List<DTONcToolModel> ChildTools { get; set; }
public static explicit operator DTONcFamilyModel(DbNcFamilyModel obj)
{
@@ -205,7 +205,7 @@ namespace Step.Model.DTOModels.ToolModels
LifeType = obj.LifeType,
NominalLife = obj.NominalLife,
ReviveDelta = obj.ReviveDelta,
Tools = tools
ChildsTools = tools
};
}