public BoxShapedStepsStairDecorator(IStair stair) : base(stair) { StepWidht = 200; StepLength = 700; StepHeight = 200; StepProfile = "RECTCB50*200-25*25"; }
public RibbedStepsStairDecorator(IStair stair) : base(stair) { StepWidht = 200; StepLength = 700; StepHeight = 200; StepProfile = $"PL4*700"; }
public CellsStepsStairDecorator(IStair stair) : base(stair) { StepWidht = 200; StepLength = 700; StepHeight = 200; StepFrameProfile = "L32X3_8509_93"; StepProfile = "PL200*20"; }
// public double ang = 45; private IStair StairBuilder(Point point1, Point point2, double angle, int stairTypeIndex, double stairWidth, double stairOffset, string profile, string material) { IStair currentStair = null; switch (stairTypeIndex) { case 0: case 1: currentStair = new StairType1(point1, point2, angle, stairWidth, stairOffset, profile, material); break; case 2: currentStair = new StairType2(point1, point2, angle, stairWidth, stairOffset, profile, material); break; case 3: currentStair = new StairType3(point1, point2, angle, stairWidth, stairOffset, profile, material); break; } return(currentStair); }
public FloorDecorator(IStair stair) { this.stair = stair; }