Вы находитесь на странице: 1из 2

// Decompiled with JetBrains decompiler

// Type: CAX_HSManager.CAXSPSMember
// Assembly: CAX_HSManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3BFDE313-4770-4A87-B248-267ED6A79A15
// Assembly location: C:\Temp\SIKLA\CAX_HSManager.dll

using \u0008;
using Ingr.SP3D.Common.Middle;
using Ingr.SP3D.Structure.Middle;
using Ingr.SP3D.Systems.Middle;

namespace CAX_HSManager
{
public class CAXSPSMember
{
private MemberSystem \u0001;
private Position \u0002;
private Position \u0003;
private MemberPart \u0004;
private StructuralSystem \u0005;

public CAXSPSMember(object objMemberSystem)


{
this.\u0001 = (MemberSystem) objMemberSystem;
this.\u0004 = this.\u0001.GetPart((MemberAxisEnd) 0);
}

public MemberSystem SPSMember


{
get
{
return this.\u0001;
}
}

public Position StartPosition


{
get
{
return this.\u0002;
}
set
{
this.\u0002 = value;
this.SetSPSMemberEndPoints(value, this.\u0003);
}
}

public Position EndPosition


{
get
{
return this.\u0003;
}
set
{
this.\u0003 = value;
this.SetSPSMemberEndPoints(this.\u0002, value);
}
}

public StructuralSystem StructuralSystem


{
get
{
return this.\u0005;
}
set
{
this.\u0005 = value;
}
}

public void SetSPSMemberEndPoints(Position objStartPosition, Position


objEndPosition)
{
if (!(objStartPosition != null & objEndPosition != null))
return;
this.SPSMember.SetEndPoints(objStartPosition, objEndPosition);
this.SPSMember.GetEndPoints(ref this.\u0002, ref this.\u0003);
}

public double Depth


{
get
{
return (double) ((PropertyValueDouble) ((BusinessObject)
this.\u0004.get_CrossSection()).GetPropertyValue(\u0004.\u0001(5629),
\u0004.\u0001(5670))).get_PropValue();
}
}

public double Width


{
get
{
return (double) ((PropertyValueDouble) ((BusinessObject)
this.\u0004.get_CrossSection()).GetPropertyValue(\u0004.\u0001(5629),
\u0004.\u0001(5679))).get_PropValue();
}
}

public MemberPart MemberPart


{
get
{
return this.\u0004;
}
}
}
}

Вам также может понравиться