| | |
| | | { |
| | | var btnDel = new Button() |
| | | { |
| | | TextColor = CSS_Color.TextualColor, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | BackgroundColor = CSS_Color.WarningColor, |
| | | TextID = StringId.Del, |
| | | TextAlignment = TextAlignment.Center, |
| | |
| | | try |
| | | { |
| | | var http = new HttpServerRequest(); |
| | | var result = http.Delete3tyDevice("3452daf");// device.deviceId); |
| | | var result = http.Delete3tyDevice( device.deviceId); |
| | | if (result.Code == StateCode.SUCCESS) |
| | | { |
| | | Application.RunOnMainThread(() => |
| | |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | new PublicAssmebly().TipMsgAutoClose(Language.StringByID(StringId.OperationFailed)+$"\r\n({result.Code})", true); |
| | | new PublicAssmebly().TipMsgAutoClose(Language.StringByID(StringId.OperationFailed)+$"({result.Code})", true); |
| | | }); |
| | | } |
| | | }catch (Exception ex) |