| | |
| | | /// <param name="pra">请求的参数</param>
|
| | | public static bool CheckNotEorrorMsg(ResponsePack revertObj, string RequestName, List<string> listNotShowError = null, object pra = null)
|
| | | {
|
| | | if (listNotShowError != null && listNotShowError.Contains("NotCheck") == true)
|
| | | {
|
| | | //不检测
|
| | | return true;
|
| | | }
|
| | | if (revertObj == null)
|
| | | {
|
| | | Application.RunOnMainThread(() =>
|
| | |
| | | //关闭所有接收
|
| | | HdlGatewayReceiveLogic.Current.RemoveAllEvent();
|
| | | //清除升级列表
|
| | | FirmwareUpdateResourse.dicDeviceUpdateList.Clear();
|
| | | FirmwareUpdateResourse.dicGatewayUpdateList.Clear();
|
| | | FirmwareUpdateResourse.dicUpdateList.Clear();
|
| | |
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | {
|