wxr
2022-12-13 5bed96bdc308ee10e1a5e9bd7ff056ed67808d02
SmartHome/UI/SimpleControl/Phone/System/SearchServerOnePortListPage.cs
@@ -8,7 +8,7 @@
    public class SearchServerOnePortListPage : FrameLayout
    {
        #region 文本
        string text_Title = "远程连接";
        string text_Title = "远程";
        string text_userName = "组名";
        string text_projectName = "工程名";
        string text_password = "密码";
@@ -40,7 +40,7 @@
        string text_readFailure = "读取失败";
        string txt_breakLink = "断开连接";
        string txt_connectionSucceeded = "连接成功";
        string txt_connectionSucceeded = "搜索完成";
        string txt_linkSeverFailed = "连接服务器失败";
        string txt_DataError = "数据异常";
@@ -66,7 +66,7 @@
        public SearchServerOnePortListPage ()
        {
            if (Language.CurrentLanguage != "Chinese") {
                text_Title = "Remote connection";
                text_Title = "Remote";
                text_userName = "Group name";
                text_projectName = "project name";
                text_password = "Password";
@@ -82,7 +82,7 @@
                text_link = "Link";
                text_reading = "Reading";
                txt_breakLink = "Break link";
                txt_connectionSucceeded = "Connection succeeded";
                txt_connectionSucceeded = "Search complete";
                txt_linkSeverFailed = "Failed to connect to the server";
                txt_DataError = "Data exception";
                txt_QueryFailed = "Query failed";
@@ -263,8 +263,8 @@
                                        if (oneProtData != null) {
                                            try {
                                                var groupName = System.Text.Encoding.UTF8.GetString (oneProtData, 1, 20).Trim ('\0');//=============
                                                var projectName = System.Text.Encoding.UTF8.GetString (oneProtData, 23, 20).Trim ('\0');//=============
                                                var userName = System.Text.Encoding.UTF8.GetString (oneProtData, 43, 8).Trim ('\0');//=============
                                                var projectName22 = System.Text.Encoding.UTF8.GetString (oneProtData, 23, 20).Trim ('\0');//=============
                                                var userName22 = System.Text.Encoding.UTF8.GetString (oneProtData, 43, 8).Trim ('\0');//=============
                                                Application.RunOnMainThread (() => {
                                                    RowLayout wirelessView = new RowLayout () {
@@ -272,7 +272,7 @@
                                                        BackgroundColor = SkinStyle.Current.ViewColor,
                                                    };
                                                    listView.AddChidren (wirelessView);
                                                    showGatewayRow (userName,projectName, wirelessView);
                                                    showGatewayRow (userName22,projectName22, wirelessView);
                                                });
                                            }catch (Exception ex) {