- Correzione dimensione split
- Eliminazione commenti - Rinominato variabili
This commit is contained in:
@@ -34,18 +34,6 @@ namespace WebWindowComplex.Models
|
||||
|
||||
#region Public Properties
|
||||
|
||||
//public bool bIsMeasureGlass
|
||||
//{
|
||||
// get
|
||||
// {
|
||||
// return m_bIsMeasureGlass;
|
||||
// }
|
||||
// set
|
||||
// {
|
||||
// m_bIsMeasureGlass = value;
|
||||
// }
|
||||
//}
|
||||
|
||||
public bool bIsSashVertical
|
||||
{
|
||||
get
|
||||
@@ -485,7 +473,6 @@ namespace WebWindowComplex.Models
|
||||
Fill newFill = Fill.CreateFill(ParentArea, FillTypes.GLASS);
|
||||
newFill.SetAreaType(AreaTypes.FILL);
|
||||
ParentArea.AreaList.Add(newFill);
|
||||
//m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized());
|
||||
}
|
||||
|
||||
public void SetSelFamilyHardware(string sFamilyHw)
|
||||
@@ -508,7 +495,6 @@ namespace WebWindowComplex.Models
|
||||
public void UpdateShape(string newShape)
|
||||
{
|
||||
m_CurrShape = newShape;
|
||||
bool noHwValid = false;
|
||||
// la famiglia hw è vuota seleziono il primo hardware valido e utilizzo la sua famiglia
|
||||
if(string.IsNullOrEmpty(m_SelFamilyHardware) || m_SelFamilyHardware == "")
|
||||
{
|
||||
@@ -519,7 +505,6 @@ namespace WebWindowComplex.Models
|
||||
);
|
||||
if(listHwValid == null)
|
||||
{
|
||||
noHwValid = true;
|
||||
var familyHwValid = Sash.m_HardwareCompleteList
|
||||
.Select(x => x.FamilyName)
|
||||
.First();
|
||||
@@ -815,8 +800,6 @@ namespace WebWindowComplex.Models
|
||||
for (var SplitIndex = m_SashList.Count; SplitIndex <= Qty - 1; SplitIndex++)
|
||||
{
|
||||
SashDimension newSashDim = new SashDimension(dNewDimension, MeasureTypes.PERCENTAGE, this, SplitIndex + 1);
|
||||
//for (var JointIndex = 0; JointIndex <= 3; JointIndex++)
|
||||
// newSashDim.JointList.Add(new Joint(this, JointIndex + 1, Joints.FULL_H));
|
||||
SashList.Add(newSashDim);
|
||||
}
|
||||
}
|
||||
@@ -883,8 +866,6 @@ namespace WebWindowComplex.Models
|
||||
private List<AGBOption> m_HwOptionList = new List<AGBOption>();
|
||||
private Dictionary<string, string> m_SelHwOptionList = new Dictionary<string, string>();
|
||||
|
||||
//private List<Joint> m_JointList = new List<Joint>();
|
||||
|
||||
private int m_nSashBottomRailQty;
|
||||
|
||||
private List<IdNameStruct> m_OrientationSashTypeList = new List<IdNameStruct>
|
||||
|
||||
Reference in New Issue
Block a user