JLChen
2021-01-11 5a5a2b696866f947b6025d26c3302e8ffef46435
Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/FingerprintAndProximityScene.cs
@@ -105,13 +105,13 @@
            var editbox = new EditText () {
                Height = Application.GetRealHeight (180),
                Width = Application.GetRealWidth (520),
                PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor,
                PlaceholderText = Language.StringByID (R.MyInternationalizationString.EditPushContent),
                TextAlignment = TextAlignment.Center,
                Radius = (uint)Application.GetRealHeight (10),
                TextColor = SkinStyle.Current.TextColor1,
                BackgroundColor = SkinStyle.Current.LineColor2,
                TextSize = 15,
                PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor,
            };
            editMessageView.AddChidren (editbox);
@@ -725,7 +725,7 @@
                try {
                var recevieResult = requestWeb (mess,"https://developer.hdlcontrol.com/api/AddPushMessage");
                     var obj = Newtonsoft.Json.JsonConvert.DeserializeObject<PushMessageResult> (recevieResult);
                     if (obj.StateCode == "SUCCESS") {
                     if (obj.StateCode.ToUpper() == StateCode.SUCCESS) {
                         Application.RunOnMainThread (() => {
                             new Tip () { MaxWidth = 150, Text = Language.StringByID (R.MyInternationalizationString.SendNotificationsSuccessfully), Direction = AMPopTipDirection.Down, CloseTime = 2 }.Show (btn);
                         });
@@ -797,7 +797,7 @@
                try {
                     var recevieResult = requestWeb (mess, "https://developer.hdlcontrol.com/api/GetOnePushMsg");
                     var obj = Newtonsoft.Json.JsonConvert.DeserializeObject<PushMessageResult> (recevieResult);
                     if (obj.StateCode == "SUCCESS") {
                     if (obj.StateCode.ToUpper() == StateCode.SUCCESS) {
                         var msgEntity = Newtonsoft.Json.JsonConvert.DeserializeObject<List<MessageInfoRes>> (obj.ResponseData.ToString ());
                         
                         foreach (var msg in msgEntity) {