diff --git a/projects/IoTCenter/Views/Home/Node.cshtml b/projects/IoTCenter/Views/Home/Node.cshtml index 61be5d41..9c512072 100644 --- a/projects/IoTCenter/Views/Home/Node.cshtml +++ b/projects/IoTCenter/Views/Home/Node.cshtml @@ -73,19 +73,16 @@ padding: 11px 0; } - .btns { - padding: 10.5px; - } - - .btns .btn { - margin: 18px 0; + .ptz img, .control img { + cursor: pointer; } - .ptz img, .control img { - cursor: pointer; + form .label1 { + line-height: 50px; + vertical-align: middle; } - label.button input { + .ir label input { display: none; } @@ -102,7 +99,7 @@ input[type=range] { -webkit-appearance: none; - height: 25px; + height: 50px; } input[type=range]::-webkit-slider-runnable-track { @@ -119,7 +116,7 @@ height: 16px; width: 16px; border-radius: 50%; - background-color: Highlight; + background-color: green; margin-top: -5px; } diff --git a/projects/IoTCenter/wwwroot/node.default.html b/projects/IoTCenter/wwwroot/node.default.html index 976f167e..26be8f9f 100644 --- a/projects/IoTCenter/wwwroot/node.default.html +++ b/projects/IoTCenter/wwwroot/node.default.html @@ -1,27 +1,65 @@ -
-

{{ViewModel.Name}}

+
+
+

{{ViewModel.Name}}

+
- -
- +
+
+ +
+ +
+
+
+
+
+
+ 云台操作 +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+
-
-
+
+
- +
-
-

{{GetData('温湿度传感器',null,null,'温度','Description')}}

+
+

{{GetData('温湿度传感器',null,null,'温度','Description')}}

-
+
温度:{{GetData('温湿度传感器',null,null,'温度','Value')}}{{ GetData('温湿度传感器',null,null,'温度','Unit')}}
@@ -31,12 +69,12 @@
- +
-
-

{{GetData('温湿度传感器',null,null,'湿度','Description')}}

+
+

{{GetData('温湿度传感器',null,null,'湿度','Description')}}

-
+
湿度:{{GetData('温湿度传感器',null,null,'湿度','Value')}}{{ GetData('温湿度传感器',null,null,'温度','Unit')}}
@@ -48,12 +86,12 @@
- +
-
-

{{GetData('光强检测器',null,'前门','光照度','Description')}}

+
+

{{GetData('光强检测器',null,'前门','光照度','Description')}}

-
+
前门光照:{{GetData('光强检测器',null,'前门','光照度','Value')}}{{ GetData('光强检测器',null,'前门','光照度','Unit')}}
@@ -63,12 +101,12 @@
- +
-
-

{{GetData('光强检测器',null,'后门','光照度','Description')}}

+
+

{{GetData('光强检测器',null,'后门','光照度','Description')}}

-
+
后门光照:{{GetData('光强检测器',null,'后门','光照度','Value') }}{{ GetData('光强检测器',null,'后门','光照度','Unit')}}
@@ -80,12 +118,12 @@
- +
-
+
-
+
前门人体:{{GetData('红外感应器',null,'前门','状态','Value') }}
@@ -95,214 +133,175 @@
- +
-
+
-
+
后门人体:{{GetData('红外感应器',null,'后门','状态','Value') }}
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - -
-

该摄像头不支持云台

-
-
-
-
- -
-
-
-
-
-
- +
+
+
+
+

批量操作

+
+ + +
+
-
-
-
- +
+
+
+
+ 场景 +
+
+ +
+
+
-
-
- +
+

一路开关

+
+ +
-
-
-
-
- +
+
+
+
+ + +
+
+ {{device.Name||device.DisplayName}} +
+
+
-
-
-
-
用电:
-
-
-
-
-
-
- +
+
+
+

三路开关

+
+ +
-
-
-
-
一路开关:
-
-
-
-
-
-
-
- - -
-
- {{device.Name||device.DisplayName}} +
+
+
+
+ + + + + + +
+
+ {{device.Name||device.DisplayName}} +
+
-
- -
-
-
三路开关:
-
-
-
-
-
-
-
- - - - - - -
-
- {{device.Name||device.DisplayName}} -
-
+
+
+
+
+

插座

+
+ +
-
-
-
-
插座:
-
-
-
-
-
-
-
- - -
-
- {{device.Name||device.DisplayName}} +
+
+
+
+ + +
+
+ {{device.Name||device.DisplayName}} +
+
-
- -
- + +
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
diff --git a/projects/IoTClient/Assets/StreamingAssets/IoT.Resources.csproj b/projects/IoTClient/Assets/StreamingAssets/IoT.Resources.csproj index 2d132979..4fed1a7b 100644 --- a/projects/IoTClient/Assets/StreamingAssets/IoT.Resources.csproj +++ b/projects/IoTClient/Assets/StreamingAssets/IoT.Resources.csproj @@ -12,7 +12,12 @@   + + + + + \ No newline at end of file diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/batch.png b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/batch.png new file mode 100644 index 00000000..4003d3a7 Binary files /dev/null and b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/batch.png differ diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/light2.png b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/light2.png new file mode 100644 index 00000000..e6f66bf8 Binary files /dev/null and b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/light2.png differ diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/ptz.png b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/ptz.png new file mode 100644 index 00000000..89f8b151 Binary files /dev/null and b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/ptz.png differ diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/scene.png b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/scene.png new file mode 100644 index 00000000..bf147c4a Binary files /dev/null and b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/scene.png differ diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/switch2.png b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/switch2.png new file mode 100644 index 00000000..a59f57a4 Binary files /dev/null and b/projects/IoTClient/Assets/StreamingAssets/wwwroot/images/switch2.png differ