Skip to content

Commit

Permalink
🐛 🚑
Browse files Browse the repository at this point in the history
loadbase reference
  • Loading branch information
Marco-Pellegrino committed Oct 18, 2023
1 parent 3c64de7 commit edf5392
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions FemDesign.Core/Loads/LoadBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,13 @@ namespace FemDesign
public partial class LoadBase: EntityBase, ILoadElement
{
[XmlAttribute("load_case")]
public System.Guid _loadCaseGuid;

[XmlIgnore]
public System.Guid LoadCaseGuid
{
get
{
if (LoadCase != null)
return _loadCase.Guid;
else
return default(System.Guid);
}
set
{
_loadCaseGuid = value;
}
}
public System.Guid LoadCaseGuid { get; set; }

[XmlAttribute("comment")]
public string Comment { get; set; } // comment_string


[XmlIgnore]
public Loads.LoadCase _loadCase;
public Loads.LoadCase _loadCase { get; set; }

[XmlIgnore]
public Loads.LoadCase LoadCase
Expand All @@ -46,6 +29,5 @@ public Loads.LoadCase LoadCase
LoadCaseGuid = value.Guid;
}
}

}
}

0 comments on commit edf5392

Please sign in to comment.