更新了生产过程
This commit is contained in:
124
Mods/工业数据采集与分析应用分享/Templates/TrackContainer.tscn
Normal file
124
Mods/工业数据采集与分析应用分享/Templates/TrackContainer.tscn
Normal file
@@ -0,0 +1,124 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cnd2ofcdx0inc"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_4faap"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyxw5ocfiamgi" path="res://Mods/工业数据采集与分析应用分享/Arts/Images/标准ModbusRTU图片.jpg" id="1_yd6oj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dghty7km181mc" path="res://Mods/工业数据采集与分析应用分享/Templates/关联标识.tscn" id="2_so2ho"]
|
||||
|
||||
[node name="TrackContainer" type="PanelContainer"]
|
||||
custom_minimum_size = Vector2(1280, 512)
|
||||
script = ExtResource("1_4faap")
|
||||
|
||||
[node name="VFlex" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Header" type="Label" parent="VFlex"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"AccentBox"
|
||||
text = "订单追溯"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VFlex"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VFlex/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="VFlex/MarginContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_yd6oj")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VFlex/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "温湿度传感器-标准ModbusRTU"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "值:"
|
||||
|
||||
[node name="IdCode" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "88.123.99/20230701232401"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HSeparator_8px"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(24, 24)
|
||||
layout_mode = 2
|
||||
color = Color(0.0588235, 1, 1, 1)
|
||||
|
||||
[node name="Label" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderMedium"
|
||||
text = "关联标识:"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"WhitePanel"
|
||||
text = "订单信息"
|
||||
|
||||
[node name="关联标识" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"WhitePanel"
|
||||
text = "生产设备"
|
||||
|
||||
[node name="关联标识2" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="关联标识3" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label3" type="Label" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"WhitePanel"
|
||||
text = "生产环境"
|
||||
|
||||
[node name="关联标识4" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="关联标识5" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="关联标识6" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="关联标识7" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="关联标识8" parent="VFlex/MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer" instance=ExtResource("2_so2ho")]
|
||||
layout_mode = 2
|
90
Mods/工业数据采集与分析应用分享/Templates/关联标识.tscn
Normal file
90
Mods/工业数据采集与分析应用分享/Templates/关联标识.tscn
Normal file
@@ -0,0 +1,90 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dghty7km181mc"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_312jo"]
|
||||
|
||||
[node name="关联标识" type="HBoxContainer" node_paths=PackedStringArray("label", "titleLabel", "button", "updateTimeLabel", "createTimeLabel")]
|
||||
offset_right = 651.0
|
||||
offset_bottom = 64.0
|
||||
theme_override_constants/separation = 8
|
||||
script = ExtResource("1_312jo")
|
||||
label = NodePath("VBoxContainer/Label2")
|
||||
titleLabel = NodePath("VBoxContainer/Label")
|
||||
button = NodePath("Button")
|
||||
updateTimeLabel = NodePath("VBoxContainer2/HBoxContainer/Label2")
|
||||
createTimeLabel = NodePath("VBoxContainer2/HBoxContainer2/Label2")
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
custom_minimum_size = Vector2(64, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Control"]
|
||||
custom_minimum_size = Vector2(24, 24)
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -12.0
|
||||
offset_top = -12.0
|
||||
offset_right = 12.0
|
||||
offset_bottom = 12.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_vertical = 4
|
||||
color = Color(0.0588235, 1, 1, 1)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "订单信息"
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "20230701232464"
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="."]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Control2" type="Control" parent="."]
|
||||
custom_minimum_size = Vector2(16, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "最后更新时间:"
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "2023年7月4日23:35:48"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer2/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "创建标识时间:"
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer2/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "2023年7月4日23:35:48"
|
||||
|
||||
[node name="VSeparator2" type="VSeparator" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
text = "查询关联"
|
@@ -103,6 +103,7 @@ grow_vertical = 2
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
reset_on_save = false
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_xn1ws")
|
||||
}
|
||||
@@ -133,6 +134,7 @@ text = "正在准备注册标识"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="2" type="PanelContainer" parent="HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
@@ -164,6 +166,7 @@ layout_mode = 2
|
||||
text = "t.h.sensor"
|
||||
|
||||
[node name="3" type="PanelContainer" parent="HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
@@ -177,6 +180,7 @@ text = "已提交标识"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="4" type="PanelContainer" parent="HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
@@ -190,6 +194,7 @@ text = "正在等待返回标识解析结果"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="5" type="PanelContainer" parent="HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
|
Reference in New Issue
Block a user