温湿度传感器更新
现在可以手动更新温湿度了
This commit is contained in:
34
Mods/工业数据采集与分析应用分享/Templates/传感器数据模板.tscn
Normal file
34
Mods/工业数据采集与分析应用分享/Templates/传感器数据模板.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://d1rpv4oovnljv"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_6fjlu"]
|
||||
|
||||
[node name="传感器数据模板" type="PanelContainer" node_paths=PackedStringArray("label", "titleLabel", "labels", "lineEdits")]
|
||||
script = ExtResource("1_6fjlu")
|
||||
label = NodePath("")
|
||||
titleLabel = NodePath("")
|
||||
labels = []
|
||||
lineEdits = []
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"Header"
|
||||
text = "温度"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"Margin_16px"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "50"
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "摄氏度"
|
Reference in New Issue
Block a user