| | |
| | | InitBrandView (verticalScrolView, btnModulName, dialog); |
| | | |
| | | } catch (Exception ex) { |
| | | Console.WriteLine (ex.ToString ()); |
| | | Utlis.WriteLine (ex.ToString ()); |
| | | } finally { |
| | | MainPage.Loading.Hide (); |
| | | } |
| | |
| | | |
| | | InitInfraredView (); |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("dbnew3 error :" + ex.ToString ()); |
| | | Utlis.WriteLine ("dbnew3 error :" + ex.ToString ()); |
| | | } finally { |
| | | MainPage.Loading.Hide (); |
| | | } |
| | |
| | | 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]); |
| | |
| | | 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]); |
| | |
| | | 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]); |