| | |
| | | // } |
| | | // catch { } |
| | | //} |
| | | |
| | | if (temp != null) |
| | | { |
| | | temp = sceneFunction; |
| | |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | contentView.AddChidren(row); |
| | | |
| | | |
| | | if (sceneStatus.key != FunctionAttributeKey.OnOff) |
| | | { |
| | | row.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | } |
| | | else |
| | | { |
| | | if(sceneStatus.value == "stop") |
| | | { |
| | | sceneStatus.value = "on"; |
| | | } |
| | | } |
| | | Button btnRight = new Button() |
| | | { |
| | |
| | | items.Add("60", "1min"); |
| | | items.Add("120", "2min"); |
| | | items.Add("300", "5min"); |
| | | new PublicAssmebly().SetSceneDelayDialog(items,action,sceneFunction.delay); |
| | | new PublicAssmebly().SetSceneDelayDialog(action, sceneFunction.delay); |
| | | }; |
| | | #endregion |
| | | |