| | |
| | | break; |
| | | } |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("UserACPage " + ex.ToString ()); |
| | | Utlis.WriteLine ("UserACPage " + ex.ToString ()); |
| | | } |
| | | } |
| | | }); |
| | |
| | | byResult = Control.ControlBytesSendHasReturn (Command.SetSecurityByPass, sm.SubnetID, sm.DeviceID, new byte [] { dr.AreaNumber, dr.IndexOfScurity, dr.ByPass }); |
| | | } |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("Bypass " + ex.ToString ()); |
| | | Utlis.WriteLine ("Bypass " + ex.ToString ()); |
| | | } finally { |
| | | Application.RunOnMainThread (() => { |
| | | if (byResult == null) { |
| | |
| | | }); |
| | | } |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("ShowDry" + ex.ToString ()); |
| | | Utlis.WriteLine ("ShowDry" + ex.ToString ()); |
| | | } finally { |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |
| | |
| | | } |
| | | }); |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("arm : " + ex.ToString ()); |
| | | Utlis.WriteLine ("arm : " + ex.ToString ()); |
| | | } finally { |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |
| | |
| | | } |
| | | }); |
| | | } catch (Exception ex) { |
| | | Console.WriteLine ("arm : " + ex.ToString ()); |
| | | Utlis.WriteLine ("arm : " + ex.ToString ()); |
| | | } finally { |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |