CrabtreeOn,印度客户定制APP,迁移2.0平台版本
JLChen
2021-03-29 383e792a45268d220cb0e2bf1e9823ba451c428f
Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/Method.cs
@@ -247,35 +247,6 @@
            }
            return null;
        }
        /// <summary>
        //(1)Success 则调用此接口成功
        //(2)NoRecord 住宅未绑定网关!
        //(3)NoExist 住宅不存在!
        /// </summary>
        public  void ShowGetTimerListErrorInfo (string stateCodeStr)
        {
            string mes = "";
            if (stateCodeStr == "NoRecord") {
                // 住宅未绑定网关!
                mes = ErrorCode.HomeNoRecord;
            } else if (stateCodeStr == "NoExist") {
                //住宅不存在!
                mes = ErrorCode.HomeNoExist;
            } else if (stateCodeStr == ErrorCode.NetworkError) {
                mes = ErrorCode.NetworkError;
            } else {
                mes = ErrorCode.OperationFailed + ErrorCode.Reason + stateCodeStr;
            }
            if (!string.IsNullOrEmpty (mes)) {
                Application.RunOnMainThread (() => {
                    new Alert ("", mes, Language.StringByID (Shared.SimpleControl.R.MyInternationalizationString.Close)).Show ();
                });
            }
        }
    }
}