- Eliminate classi non usate
- Eliminato Componente di Test
This commit is contained in:
+31
-153
@@ -266,7 +266,6 @@ namespace WebWindowComplex
|
||||
return m_Shape;
|
||||
}
|
||||
}
|
||||
|
||||
public int SelShapeIndex
|
||||
{
|
||||
get
|
||||
@@ -384,7 +383,6 @@ namespace WebWindowComplex
|
||||
m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized());
|
||||
}
|
||||
}
|
||||
|
||||
internal void SetSelShape(Shapes Value)
|
||||
{
|
||||
DimensionList.Clear();
|
||||
@@ -559,19 +557,6 @@ namespace WebWindowComplex
|
||||
m_nBottomRailQty = nBottomRailQty;
|
||||
}
|
||||
|
||||
private ObservableCollection<Curve> m_Outline;
|
||||
public ObservableCollection<Curve> Outline
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Outline;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Outline = value;
|
||||
}
|
||||
}
|
||||
|
||||
public Frame(Area ParentArea, Window ParentWindow) : base(ParentArea, ParentWindow)
|
||||
{
|
||||
}
|
||||
@@ -586,57 +571,6 @@ namespace WebWindowComplex
|
||||
return NewFrame;
|
||||
}
|
||||
|
||||
private LuaShapes ConvertShape(Shapes value)
|
||||
{
|
||||
switch (value)
|
||||
{
|
||||
case Shapes.RECTANGLE:
|
||||
{
|
||||
return LuaShapes.RECT;
|
||||
}
|
||||
|
||||
case Shapes.RIGHTCHAMFER:
|
||||
{
|
||||
return LuaShapes.CHAMFER_SIDE;
|
||||
}
|
||||
|
||||
case Shapes.LEFTCHAMFER:
|
||||
{
|
||||
return LuaShapes.CHAMFER_SIDE;
|
||||
}
|
||||
|
||||
case Shapes.DOUBLECHAMFER:
|
||||
{
|
||||
return LuaShapes.CHAMFER;
|
||||
}
|
||||
|
||||
case Shapes.ARC:
|
||||
{
|
||||
return LuaShapes.SEGMENTAL_ARC;
|
||||
}
|
||||
|
||||
case Shapes.ARC_FULL:
|
||||
{
|
||||
return LuaShapes.ROUND_ARC;
|
||||
}
|
||||
|
||||
case Shapes.DOUBLEARC:
|
||||
{
|
||||
return LuaShapes.POINTED_ARC;
|
||||
}
|
||||
|
||||
case Shapes.TRIANGLE:
|
||||
{
|
||||
return LuaShapes.TRIANGLE;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
return LuaShapes.RECT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override Frame Copy(Area ParentArea)
|
||||
{
|
||||
return null;
|
||||
@@ -663,7 +597,7 @@ namespace WebWindowComplex
|
||||
public static List<string> s_FamilyHardwareList = new List<string>();
|
||||
// Macro famiglia hardware scelta dal chiamante
|
||||
public static string s_SelFamilyHW = "";
|
||||
|
||||
|
||||
public int nSashQty
|
||||
{
|
||||
get
|
||||
@@ -1584,19 +1518,6 @@ namespace WebWindowComplex
|
||||
}
|
||||
}
|
||||
|
||||
private Curve m_Split;
|
||||
public Curve sSplit
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Split;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Split = value;
|
||||
}
|
||||
}
|
||||
|
||||
public Split(Area ParentArea, Window ParentWindow) : base(ParentArea, ParentWindow)
|
||||
{
|
||||
}
|
||||
@@ -1832,48 +1753,6 @@ namespace WebWindowComplex
|
||||
}
|
||||
}
|
||||
|
||||
public class Curve
|
||||
{
|
||||
private GDB_TY m_CurveType;
|
||||
public GDB_TY CurveType
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_CurveType;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_CurveType = value;
|
||||
}
|
||||
}
|
||||
|
||||
private Point3d m_ptStart;
|
||||
public Point3d ptStart
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ptStart;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_ptStart = value;
|
||||
}
|
||||
}
|
||||
|
||||
private Point3d m_ptEnd;
|
||||
public Point3d ptEnd
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ptEnd;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_ptEnd = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class Hardware
|
||||
{
|
||||
private string m_sId;
|
||||
@@ -2532,7 +2411,6 @@ namespace WebWindowComplex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public struct IdNameStruct
|
||||
{
|
||||
private int m_Id;
|
||||
@@ -2673,37 +2551,37 @@ namespace WebWindowComplex
|
||||
return 0;
|
||||
}
|
||||
|
||||
//public static int IdFromName(string Name, ObservableCollection<object> List)
|
||||
//{
|
||||
// checked
|
||||
// {
|
||||
// int num = List.Count - 1;
|
||||
// for (int i = 0; i <= num; i++)
|
||||
// {
|
||||
// if (Operators.CompareString(((IdNameStruct)List[i]).Name, Name, TextCompare: false) == 0)
|
||||
// {
|
||||
// return ((IdNameStruct)List[i]).Id;
|
||||
// }
|
||||
// }
|
||||
// return 0;
|
||||
// }
|
||||
//}
|
||||
public static int IdFromName(string Name, ObservableCollection<object> List)
|
||||
{
|
||||
checked
|
||||
{
|
||||
int num = List.Count - 1;
|
||||
for (int i = 0; i <= num; i++)
|
||||
{
|
||||
if (string.Compare(((IdNameStruct)List[i]).Name, Name, false) == 0)
|
||||
{
|
||||
return ((IdNameStruct)List[i]).Id;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
//public static int IdFromName(string Name, List<object> List)
|
||||
//{
|
||||
// checked
|
||||
// {
|
||||
// int num = List.Count - 1;
|
||||
// for (int i = 0; i <= num; i++)
|
||||
// {
|
||||
// if (Operators.CompareString(((IdNameStruct)List[i]).Name, Name, TextCompare: false) == 0)
|
||||
// {
|
||||
// return ((IdNameStruct)List[i]).Id;
|
||||
// }
|
||||
// }
|
||||
// return 0;
|
||||
// }
|
||||
//}
|
||||
public static int IdFromName(string Name, List<object> List)
|
||||
{
|
||||
checked
|
||||
{
|
||||
int num = List.Count - 1;
|
||||
for (int i = 0; i <= num; i++)
|
||||
{
|
||||
if (string.Compare(((IdNameStruct)List[i]).Name, Name, false) == 0)
|
||||
{
|
||||
return ((IdNameStruct)List[i]).Id;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user