old mode 100755
new mode 100644
| | |
| | | /// </summary> |
| | | Action actionRefresh; |
| | | #endregion |
| | | /// <summary> |
| | | /// 正在控制 |
| | | /// </summary> |
| | | bool onControl = false; |
| | | public RollingShutterPage(Curtain func) |
| | | { |
| | | bodyView = this; |
| | |
| | | Width = Application.GetRealWidth(170), |
| | | Height = Application.GetRealWidth(210), |
| | | Progress = curtain.percent, |
| | | ProgressTextColor = 0x00000000 |
| | | //IsInvertedProgress = true, |
| | | ProgressTextColor = 0x00000000, |
| | | }; |
| | | controlView.AddChidren(curtainSeekBar); |
| | | |
| | |
| | | |
| | | btnCurtainClose = new Button() |
| | | { |
| | | X = Application.GetRealWidth(64), |
| | | Y = Application.GetRealHeight(462), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | X = Application.GetRealWidth(84), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "FunctionIcon/Curtain/CurtainCloseIcon.png", |
| | | SelectedImagePath = "FunctionIcon/Curtain/CurtainCloseOnIcon.png", |
| | | }; |
| | |
| | | |
| | | btnCurtainStop = new Button() |
| | | { |
| | | X = Application.GetRealWidth(144), |
| | | Y = Application.GetRealHeight(462), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | X = Application.GetRealWidth(148), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "FunctionIcon/Curtain/CurtainStopIcon.png", |
| | | SelectedImagePath = "FunctionIcon/Curtain/CurtainStopOnIcon.png", |
| | | }; |
| | |
| | | |
| | | btnCurtainOpen = new Button() |
| | | { |
| | | X = Application.GetRealWidth(224), |
| | | Y = Application.GetRealHeight(462), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | X = Application.GetRealWidth(212), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "FunctionIcon/Curtain/CurtainOpenIcon.png", |
| | | SelectedImagePath = "FunctionIcon/Curtain/CurtainOpenOnIcon.png", |
| | | }; |