更新了生产过程

This commit is contained in:
CortexCore
2023-07-05 10:20:08 +08:00
parent d12e53739d
commit 03321346e4
23 changed files with 1454 additions and 191 deletions

View File

@@ -1,17 +1,20 @@
[gd_scene load_steps=16 format=3 uid="uid://bx4v3ofh4on5e"]
[gd_scene load_steps=20 format=3 uid="uid://bx4v3ofh4on5e"]
[ext_resource type="PackedScene" uid="uid://dmk2vf7jamysi" path="res://Mods/工业数据采集与分析应用分享/Templates/StepElement.tscn" id="1_6n8rk"]
[ext_resource type="Texture2D" uid="uid://dytwon7lxa5gw" path="res://Artists/Art/Icons/Icon_Registry_Editor.png" id="2_1ml36"]
[ext_resource type="Script" path="res://BITKit/Scripts/Components/RuntimeNode.cs" id="2_qx54p"]
[ext_resource type="Texture2D" uid="uid://dv24ghy23fnje" path="res://Artists/Art/Icons/icon_file-ppt-filled.png" id="2_ugkdr"]
[ext_resource type="PackedScene" uid="uid://fybiswo7gltf" path="res://Mods/工业数据采集与分析应用分享/Templates/解析节点.tscn" id="2_y06ys"]
[ext_resource type="PackedScene" uid="uid://n3v64dkgpccy" path="res://Mods/工业数据采集与分析应用分享/Templates/手动注册与更新标识.tscn" id="3_cnqit"]
[ext_resource type="Theme" uid="uid://dokwscirps6nt" path="res://Artists/Themes/Factory_Theme.tres" id="4_gvxxh"]
[ext_resource type="VideoStream" path="res://Mods/工业数据采集与分析应用分享/Arts/Videos/生产过程模拟.ogv" id="4_o4kja"]
[ext_resource type="Script" path="res://Temp/ReadyDebug.cs" id="4_v65a4"]
[ext_resource type="PackedScene" uid="uid://c0p5mw7gbwwk6" path="res://Mods/工业数据采集与分析应用分享/生产模拟.tscn" id="5_eaber"]
[ext_resource type="Texture2D" uid="uid://gtho2m1sv43b" path="res://Artists/Art/Icons/material-symbols_update.png" id="5_qj746"]
[ext_resource type="PackedScene" uid="uid://dv3ugwbqu3t77" path="res://Mods/工业数据采集与分析应用分享/Templates/更新温湿度传感器的标识.tscn" id="5_r3ufd"]
[ext_resource type="Texture2D" uid="uid://bgwx8t6ugami" path="res://Mods/工业数据采集与分析应用分享/Arts/Images/1-6分钟快速理解Modbus通信协议-480P 清晰-AVC.Cover.jpg" id="9_bnn3v"]
[ext_resource type="Script" path="res://BITKit/Scripts/Components/OpenPath.cs" id="10_7je1h"]
[ext_resource type="Texture2D" uid="uid://cjk4xep1wgmul" path="res://Artists/Art/Icons/Icon_ic_baseline-video-file.png" id="10_o41te"]
[ext_resource type="Script" path="res://BITKit/Scripts/Components/OpenUrl.cs" id="12_0uxjp"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tkumr"]
@@ -21,7 +24,7 @@ length = 6.0
tracks/0/type = "animation"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Root/Node-0/AnimationPlayer")
tracks/0/path = NodePath("VBoxContainer/Root/Node-0/AnimationPlayer")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
@@ -31,7 +34,7 @@ tracks/0/keys = {
tracks/1/type = "animation"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Node/Node1-1/AnimationPlayer")
tracks/1/path = NodePath("VBoxContainer/Node/Node1-1/AnimationPlayer")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
@@ -41,7 +44,7 @@ tracks/1/keys = {
tracks/2/type = "animation"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Node/Node-1-2/AnimationPlayer")
tracks/2/path = NodePath("VBoxContainer/Node/Node-1-2/AnimationPlayer")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
@@ -51,7 +54,7 @@ tracks/2/keys = {
tracks/3/type = "animation"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("SubNode/Node-2-1/AnimationPlayer")
tracks/3/path = NodePath("VBoxContainer/SubNode/Node-2-1/AnimationPlayer")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
@@ -61,7 +64,7 @@ tracks/3/keys = {
tracks/4/type = "animation"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("SubNode/Node-2-2/AnimationPlayer")
tracks/4/path = NodePath("VBoxContainer/SubNode/Node-2-2/AnimationPlayer")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
@@ -71,7 +74,7 @@ tracks/4/keys = {
tracks/5/type = "animation"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("SubNode/Node-2-3/AnimationPlayer")
tracks/5/path = NodePath("VBoxContainer/SubNode/Node-2-3/AnimationPlayer")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
@@ -84,6 +87,17 @@ _data = {
"Start": SubResource("Animation_yhxk4")
}
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i5ei2"]
content_margin_left = 8.0
content_margin_top = 8.0
content_margin_right = 8.0
content_margin_bottom = 8.0
bg_color = Color(0, 0, 0, 0.501961)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="标识注册" type="ColorRect"]
anchors_preset = 15
anchor_right = 1.0
@@ -107,80 +121,130 @@ grow_horizontal = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_tkumr")
tabs_visible = false
[node name="Start" type="VBoxContainer" parent="Animations"]
[node name="Start" type="HBoxContainer" parent="Animations"]
layout_mode = 2
theme_override_constants/separation = 16
alignment = 1
[node name="Root" type="HBoxContainer" parent="Animations/Start"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node-0" parent="Animations/Start/Root" instance=ExtResource("2_y06ys")]
layout_mode = 2
size_flags_vertical = 3
[node name="Node" type="HBoxContainer" parent="Animations/Start"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node1-1" parent="Animations/Start/Node" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/Node/Node1-1/Icon" index="0"]
text = "S"
[node name="Name" parent="Animations/Start/Node/Node1-1" index="1"]
text = "二级节点"
[node name="Node-1-2" parent="Animations/Start/Node" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/Node/Node-1-2/Icon" index="0"]
text = "S"
[node name="Name" parent="Animations/Start/Node/Node-1-2" index="1"]
text = "二级节点"
[node name="SubNode" type="HBoxContainer" parent="Animations/Start"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node-2-1" parent="Animations/Start/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/SubNode/Node-2-1/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/SubNode/Node-2-1" index="1"]
text = "企业节点"
[node name="Node-2-2" parent="Animations/Start/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/SubNode/Node-2-2/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/SubNode/Node-2-2" index="1"]
text = "企业节点"
[node name="Node-2-3" parent="Animations/Start/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/SubNode/Node-2-3/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/SubNode/Node-2-3" index="1"]
text = "企业节点"
script = ExtResource("2_qx54p")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Animations/Start"]
reset_on_save = false
method_call_mode = 1
libraries = {
"": SubResource("AnimationLibrary_efxtn")
}
[node name="VBoxContainer" type="VBoxContainer" parent="Animations/Start"]
layout_mode = 2
[node name="Root" type="HBoxContainer" parent="Animations/Start/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node-0" parent="Animations/Start/VBoxContainer/Root" instance=ExtResource("2_y06ys")]
layout_mode = 2
size_flags_vertical = 3
[node name="Node" type="HBoxContainer" parent="Animations/Start/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node1-1" parent="Animations/Start/VBoxContainer/Node" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/VBoxContainer/Node/Node1-1/Icon" index="0"]
text = "S"
[node name="Name" parent="Animations/Start/VBoxContainer/Node/Node1-1" index="1"]
text = "二级节点"
[node name="Node-1-2" parent="Animations/Start/VBoxContainer/Node" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/VBoxContainer/Node/Node-1-2/Icon" index="0"]
text = "S"
[node name="Name" parent="Animations/Start/VBoxContainer/Node/Node-1-2" index="1"]
text = "二级节点"
[node name="SubNode" type="HBoxContainer" parent="Animations/Start/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
alignment = 1
[node name="Node-2-1" parent="Animations/Start/VBoxContainer/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/VBoxContainer/SubNode/Node-2-1/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/VBoxContainer/SubNode/Node-2-1" index="1"]
text = "企业节点"
[node name="Node-2-2" parent="Animations/Start/VBoxContainer/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/VBoxContainer/SubNode/Node-2-2/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/VBoxContainer/SubNode/Node-2-2" index="1"]
text = "企业节点"
[node name="Node-2-3" parent="Animations/Start/VBoxContainer/SubNode" instance=ExtResource("2_y06ys")]
layout_mode = 2
[node name="IconText" parent="Animations/Start/VBoxContainer/SubNode/Node-2-3/Icon" index="0"]
text = "E"
[node name="Name" parent="Animations/Start/VBoxContainer/SubNode/Node-2-3" index="1"]
text = "企业节点"
[node name="VBoxContainer2" type="VBoxContainer" parent="Animations/Start"]
layout_mode = 2
[node name="Label" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "用户:查询88.123.99的信息"
[node name="Label2" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "向顶级节点查询88.123.99"
[node name="HSeparator" type="HSeparator" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
[node name="Label3" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "顶级节点返回数据类型为HS_SITE.PREFIX的IP地址"
[node name="Label4" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "通过二级节点查询88.123.99"
[node name="Label5" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "返回数据类型为HS_SITE的地址"
[node name="HSeparator2" type="HSeparator" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
[node name="Label6" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "查询:88.123.99/MyABC"
[node name="Label7" type="Label" parent="Animations/Start/VBoxContainer2"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_i5ei2")
text = "返回标识的相关属性信息"
[node name="手动注册与更新标识" parent="Animations" instance=ExtResource("3_cnqit")]
visible = false
layout_mode = 2
@@ -193,28 +257,10 @@ layout_mode = 2
visible = false
layout_mode = 2
[node name="生产模拟" type="Control" parent="Animations"]
[node name="生产模拟" parent="Animations" instance=ExtResource("5_eaber")]
visible = false
layout_mode = 2
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="Animations/生产模拟"]
custom_minimum_size = Vector2(384, 256)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -256.0
offset_top = -192.0
offset_right = 256.0
offset_bottom = 192.0
grow_horizontal = 2
grow_vertical = 2
stream = ExtResource("4_o4kja")
autoplay = true
expand = true
[node name="更新温湿度传感器的标识" parent="Animations" instance=ExtResource("5_r3ufd")]
visible = false
layout_mode = 2
@@ -238,7 +284,6 @@ theme_override_constants/separation = 32
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
script = ExtResource("4_v65a4")
[node name="HFlowContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
@@ -553,6 +598,8 @@ layout_mode = 2
text = "一键配置并打开环境"
icon = ExtResource("2_ugkdr")
expand_icon = true
script = ExtResource("10_7je1h")
path = "EXE"
[node name="Label2" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
layout_mode = 2
@@ -574,6 +621,8 @@ layout_mode = 2
size_flags_horizontal = 3
text = "打开视频"
icon = ExtResource("10_o41te")
script = ExtResource("12_0uxjp")
url = "https://b23.tv/8YPP7fU"
[node name="StepElement5" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
layout_mode = 2
@@ -694,22 +743,34 @@ text = "提交标识更新数据"
icon = ExtResource("5_qj746")
expand_icon = true
[node name="Button2" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3"]
layout_mode = 2
text = "打开详细信息"
expand_icon = true
[connection signal="OnDisable" from="Animations/Start" to="Animations/Start/AnimationPlayer" method="stop" binds= [false]]
[connection signal="OnEnable" from="Animations/Start" to="Animations/Start/AnimationPlayer" method="play" binds= ["Start"]]
[connection signal="draw" from="Animations/Start" to="Animations/Start" method="Enable"]
[connection signal="hidden" from="Animations/Start" to="Animations/Start" method="Disable"]
[connection signal="ready" from="VBoxContainer/ScrollContainer" to="VBoxContainer/ScrollContainer" method="set_horizontal_scroll_mode" binds= [1]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [0]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement9/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [1]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement9/register-button" to="Animations/手动注册与更新标识/AnimationPlayer" method="play" binds= ["Start"]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [2]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/Button" to="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/Button" method="Execute"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/HBoxContainer/Button" to="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/HBoxContainer/Button" method="Execute"]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement5/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [3]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [4]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/BaseComponent/Name" to="Animations" method="set_current_tab" binds= [5]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/Button" to="Animations/更新温湿度传感器的标识/AnimationPlayer" method="play" binds= ["Start"]]
[connection signal="pressed" from="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/Button2" to="Animations/更新温湿度传感器的标识/AnimationPlayer" method="play"]
[editable path="Animations/Start/Root/Node-0"]
[editable path="Animations/Start/Node/Node1-1"]
[editable path="Animations/Start/Node/Node-1-2"]
[editable path="Animations/Start/SubNode/Node-2-1"]
[editable path="Animations/Start/SubNode/Node-2-2"]
[editable path="Animations/Start/SubNode/Node-2-3"]
[editable path="Animations/Start/VBoxContainer/Root/Node-0"]
[editable path="Animations/Start/VBoxContainer/Node/Node1-1"]
[editable path="Animations/Start/VBoxContainer/Node/Node-1-2"]
[editable path="Animations/Start/VBoxContainer/SubNode/Node-2-1"]
[editable path="Animations/Start/VBoxContainer/SubNode/Node-2-2"]
[editable path="Animations/Start/VBoxContainer/SubNode/Node-2-3"]
[editable path="Animations/手动注册与更新标识"]
[editable path="Animations/更新温湿度传感器的标识"]
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]