| | |
| | | }; |
| | | bodyView.AddChidren(btnIcon); |
| | | |
| | | var btnIcon_bg = new Button() |
| | | { |
| | | X = Application.GetRealWidth(171), |
| | | Y = Application.GetRealHeight(69), |
| | | Width = Application.GetMinRealAverage(254), |
| | | Height = Application.GetMinRealAverage(156), |
| | | UnSelectedImagePath = "Public/Logo-bg.png" |
| | | }; |
| | | bodyView.AddChidren(btnIcon_bg); |
| | | btnIcon_bg.MouseDownEventHandler += (sender, e) => { |
| | | Application.HideSoftInput(); |
| | | }; |
| | | //var btnIcon_bg = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(171), |
| | | // Y = Application.GetRealHeight(69), |
| | | // Width = Application.GetMinRealAverage(254), |
| | | // Height = Application.GetMinRealAverage(156), |
| | | // UnSelectedImagePath = "Public/Logo-bg.png" |
| | | //}; |
| | | //bodyView.AddChidren(btnIcon_bg); |
| | | //btnIcon_bg.MouseDownEventHandler += (sender, e) => { |
| | | // Application.HideSoftInput(); |
| | | //}; |
| | | |
| | | #if DEBUG |
| | | btnIcon_bg.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | return; |
| | | //btnIcon_bg.MouseUpEventHandler += (sender, e) => |
| | | //{ |
| | | // return; |
| | | |
| | | }; |
| | | //}; |
| | | |
| | | bool b = false; |
| | | btnIcon.MouseUpEventHandler += (sender, e) => |
| | |
| | | //etAccount.Text = "18321091245"; |
| | | //etAccount.Text = "13751916353"; |
| | | etAccount.Text = "13549566666"; |
| | | etAccount.Text = "support7@hdlautomation.com"; |
| | | etAccount.Text = "13375012446";//测试服务器 |
| | | etAccount.Text = "15855403939"; |
| | | etAccount.Text = "15006564444"; |
| | |
| | | etAccount.Text = "13533335801"; |
| | | etAccount.Text = "13682244600"; |
| | | etAccount.Text = "marketing@australindo.co.id"; |
| | | etAccount.Text = "support7@hdlautomation.com"; |
| | | etAccount.Text = "13922115008";//刘总 |
| | | etAccount.Text = "1272061968@qq.com"; |
| | | etAccount.Text = "support7@hdlautomation.com"; |
| | | etAccount.Text = "info@hdlegypt.com"; |
| | | |
| | | |
| | | } |
| | | else |
| | |
| | | } |
| | | b = !b; |
| | | etPassword.Text = "123456"; |
| | | if(etAccount.Text == "pjh@hdlchina.com.cn") |
| | | if(etAccount.Text == "info@hdlegypt.com") |
| | | { |
| | | etPassword.Text = "hdl123"; |
| | | etPassword.Text = "@Hdl2020"; |
| | | } |
| | | else if(etAccount.Text == "18600200915") |
| | | { |
| | |
| | | else if (etAccount.Text == "18100573477") |
| | | { |
| | | etPassword.Text = "huang12345"; |
| | | }else if(etAccount.Text == "marketing@australindo.co.id") |
| | | }else if(etAccount.Text == "dcai.assist@gmail.com") |
| | | { |
| | | etPassword.Text = "HDLAGN2023"; |
| | | etPassword.Text = "GraniteTileS57"; |
| | | } |
| | | //etPassword.Text = "Hdl85521566"; |
| | | btnLogin.IsSelected = true; |
| | |
| | | PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | | #if __IOS__ |
| | | etAccount.MyTextContentType = UIKit.UITextContentType.Name; |
| | | #endif |
| | | accountView.AddChidren(etAccount); |
| | | |
| | | if (userInfo != null && userInfo.ID != "1234567890") |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | Text = "游客体验" |
| | | }; |
| | | bodyView.AddChidren(btnDomeLogin); |
| | | //bodyView.AddChidren(btnDomeLogin); |
| | | |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | |
| | | }, |
| | | }); |
| | | |
| | | FunctionList.List.Functions.Add(new Function() |
| | | { |
| | | spk = SPK.SensorLight, |
| | | name = "光照传感器", |
| | | //collect = true, |
| | | sid = "SensorLightsss000001", |
| | | attributes = new List<FunctionAttributes>() |
| | | { |
| | | new FunctionAttributes(){ key = "illuminance",curValue= "100",state = "100" }, |
| | | }, |
| | | }); |
| | | |
| | | |
| | | FunctionList.List.Functions.Add(new Function() |
| | | { |
| | |
| | | account = etAccount.Text.Trim(); |
| | | |
| | | |
| | | #region 隐私政策 |
| | | AddServiceAgreementControl(bodyView); |
| | | #endregion |
| | | #region 隐私政策 |
| | | isAgreePrivacyPolicy = true; |
| | | OnAppConfig.Instance.isAgreePrivacyPolicy = true; |
| | | //AddServiceAgreementControl(bodyView); |
| | | #endregion |
| | | |
| | | } |
| | | |