From cd265555a1d7673679c023a1f343e0fe84da2991 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期二, 12 十二月 2023 12:37:32 +0800
Subject: [PATCH] 提交网关心跳和设备状态2

---
 src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml |   37 +++++++++++++++++++++++++++++++++++--
 1 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml b/src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml
index e9db492..6d1e9a8 100644
--- a/src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml
+++ b/src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml
@@ -112,6 +112,18 @@
         <Property></Property>
         <Property name="label">绛掍粨灞傝鍒�</Property>
       </PropertyDef>
+      <PropertyDef name="position">
+        <Property></Property>
+        <Property name="label">浣嶇疆</Property>
+      </PropertyDef>
+      <PropertyDef name="status">
+        <Property/>
+        <Property name="label">鍦ㄧ嚎鐘舵��</Property>
+      </PropertyDef>
+      <PropertyDef name="onlineTime">
+        <Property name="dataType">DateTime</Property>
+        <Property name="label">鏈�鍚庝笂绾挎椂闂�</Property>
+      </PropertyDef>
     </DataType>
     <DataType name="dtParam" parent="Map">
       <PropertyDef name="start">
@@ -235,6 +247,18 @@
         <Property name="iconClass">fa fa-wrench</Property>
         <Property name="exClassName">toolbar-button-push</Property>
       </ToolBarButton>
+      <Separator/>
+      <ToolBarButton>
+        <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+var param = {&#xD;
+	deviceId:data.get(&quot;deviceId&quot;),&#xD;
+	bizType:&quot;initLpr&quot;&#xD;
+}&#xD;
+initLpr(param);</ClientEvent>
+        <Property name="caption">杞︾墝璇嗗埆鍒濆鍖�</Property>
+        <Property name="iconClass">fa fa-wrench</Property>
+        <Property name="exClassName">toolbar-button-push</Property>
+      </ToolBarButton>
     </ToolBar>
     <DataGrid id="dgMain">
       <Property name="dataSet">dsMain</Property>
@@ -259,8 +283,12 @@
         <Property name="property">syncProtocol</Property>
         <Property name="align">center</Property>
       </DataColumn>
-      <DataColumn name="pushProtocol">
-        <Property name="property">pushProtocol</Property>
+      <DataColumn name="status">
+        <Property name="property">status</Property>
+        <Property name="align">center</Property>
+      </DataColumn>
+      <DataColumn name="onlineTime">
+        <Property name="property">onlineTime</Property>
         <Property name="align">center</Property>
       </DataColumn>
     </DataGrid>
@@ -382,6 +410,11 @@
               <Property name="property">httpUrl</Property>
               <Editor/>
             </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">position</Property>
+              <Property name="property">position</Property>
+              <Editor/>
+            </AutoFormElement>
             <AutoFormElement layoutConstraint="colSpan:3">
               <Property name="name">remark</Property>
               <Property name="property">remark</Property>

--
Gitblit v1.9.3