|
@@ -5,6 +5,7 @@ |
|
|
@using Newtonsoft.Json; |
|
|
@using Newtonsoft.Json; |
|
|
@using JT809.Protocol.Configs; |
|
|
@using JT809.Protocol.Configs; |
|
|
@using JT809.Protocol.Interfaces; |
|
|
@using JT809.Protocol.Interfaces; |
|
|
|
|
|
@using JT809.Protocol.Exceptions; |
|
|
@inject IJT809Config Config |
|
|
@inject IJT809Config Config |
|
|
|
|
|
|
|
|
<select class="form-control" @onchange="@OnSelectEncryptType"> |
|
|
<select class="form-control" @onchange="@OnSelectEncryptType"> |
|
@@ -81,6 +82,12 @@ |
|
|
Json = JsonConvert.SerializeObject(jT809SerializerInternal.Deserialize(data), Formatting.Indented); |
|
|
Json = JsonConvert.SerializeObject(jT809SerializerInternal.Deserialize(data), Formatting.Indented); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
catch(JT809Exception ex) |
|
|
|
|
|
{ |
|
|
|
|
|
isOpen = !isOpen; |
|
|
|
|
|
Json = ""; |
|
|
|
|
|
ErrerMessage = ex.Message; |
|
|
|
|
|
} |
|
|
catch(Exception ex) |
|
|
catch(Exception ex) |
|
|
{ |
|
|
{ |
|
|
isOpen = !isOpen; |
|
|
isOpen = !isOpen; |
|
|