JLChen
2020-04-03 be95e839f40eb3ddf64706b60cba6dfcf4fad5e5
Crabtree/SmartHome/UI/SimpleControl/Phone/TV/ConfigIRCode.cs
@@ -389,7 +389,7 @@
                InitBrandView (verticalScrolView, dialog);
            } catch (Exception ex) {
                Console.WriteLine (ex.ToString ());
                Utlis.WriteLine (ex.ToString ());
            } finally {
                MainPage.Loading.Hide ();
            }
@@ -465,7 +465,7 @@
                        InitInfraredView ();
                    } catch (Exception ex) {
                        Console.WriteLine ("dbnew3 error :" + ex.ToString ());
                        Utlis.WriteLine ("dbnew3 error :" + ex.ToString ());
                    } finally {
                        MainPage.Loading.Hide ();
                    }
@@ -1395,7 +1395,7 @@
                                    infraredString = infraredDataList [infraredDataIndex];
                                    iCode = infraredString.Split ('_') [2];
                                    byteICode = iCode.Substring (0, iCode.IndexOf ("}")).Replace ("{", "").Trim ().Split (',');
                                    Console.WriteLine (iCode);
                                    Utlis.WriteLine (iCode);
                                    hByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) / 256);
                                    lByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) % 256);
                                    InfraredTypeCode = Convert.ToByte (infraredString.Split ('_') [0]);
@@ -1438,7 +1438,7 @@
                                    infraredString = infraredDataList [infraredDataIndex];
                                    iCode = infraredString.Split ('_') [2];
                                    byteICode = iCode.Substring (0, iCode.IndexOf ("}")).Replace ("{", "").Trim ().Split (',');
                                    Console.WriteLine (iCode);
                                    Utlis.WriteLine (iCode);
                                    hByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) / 256);
                                    lByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) % 256);
                                    InfraredTypeCode = Convert.ToByte (infraredString.Split ('_') [0]);
@@ -1491,7 +1491,7 @@
                                            infraredString = infraredDataList [infraredDataIndex];
                                            iCode = infraredString.Split ('_') [2];
                                            byteICode = iCode.Substring (0, iCode.IndexOf ("}")).Replace ("{", "").Trim ().Split (',');
                                            Console.WriteLine (iCode);
                                            Utlis.WriteLine (iCode);
                                            hByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) / 256);
                                            lByte = Convert.ToByte (Convert.ToInt32 (infraredString.Split ('_') [1].Trim ()) % 256);
                                            InfraredTypeCode = Convert.ToByte (infraredString.Split ('_') [0]);