[gd_scene load_steps=11 format=3 uid="uid://cngf2h2a5ne4a"] [ext_resource type="Script" path="res://BITKit/Scripts/UX/UXPanel.cs" id="1_c78kh"] [ext_resource type="PackedScene" uid="uid://d1po2qljd0jh2" path="res://Mods/教育平台/教程header.tscn" id="2_mn1rn"] [ext_resource type="PackedScene" uid="uid://b2chp3rw7ib00" path="res://Mods/工业数据采集与分析应用分享/Templates/标识模板格式.tscn" id="3_gmthc"] [ext_resource type="Script" path="res://BITKit/Scripts/UX/UXWindowService.cs" id="3_sfip0"] [ext_resource type="ButtonGroup" uid="uid://cwiiipy56pktn" path="res://Mods/工业数据采集与分析应用分享/Resource/工业互联网标识解析与注册导航.tres" id="3_wv1s6"] [ext_resource type="Script" path="res://Mods/工业数据采集与分析应用分享/Scripts/IDIS_Service.cs" id="3_xbtmk"] [ext_resource type="Script" path="res://Mods/工业数据采集与分析应用分享/Scripts/IDIS_TemplateService.cs" id="4_oj8cs"] [ext_resource type="Script" path="res://Mods/工业数据采集与分析应用分享/Scripts/IDIS_RegisterService.cs" id="8_6uwr0"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_clkje"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1rin1"] [node name="标识注册与解析" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_c78kh") allowCursor = true allowInput = true [node name="Background-Image" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.14902, 0.160784, 0.176471, 0.784314) [node name="Layout" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="教程Header" parent="Layout" instance=ExtResource("2_mn1rn")] layout_mode = 2 [node name="UX Window Service" type="MarginContainer" parent="Layout" node_paths=PackedStringArray("tabs", "windows")] layout_mode = 2 size_flags_vertical = 3 theme_type_variation = &"Margin_16px" script = ExtResource("3_sfip0") tabs = [NodePath("Horizontal Layout/导航栏/标识模板-button"), NodePath("Horizontal Layout/导航栏/Button3"), NodePath("Horizontal Layout/导航栏/Button2"), NodePath("Horizontal Layout/导航栏/Button4")] windows = [NodePath("Horizontal Layout/内容/标识模板"), NodePath("Horizontal Layout/内容/标注注册"), NodePath("Horizontal Layout/内容/Container2"), NodePath("Horizontal Layout/内容/Container3")] [node name="Horizontal Layout" type="HBoxContainer" parent="Layout/UX Window Service"] layout_mode = 2 theme_override_constants/separation = 16 [node name="导航栏" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout"] custom_minimum_size = Vector2(256, 0) layout_mode = 2 [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 theme_type_variation = &"HeaderMedium" text = "管理" [node name="标识模板-button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 toggle_mode = true button_group = ExtResource("3_wv1s6") text = "管理标识模板" [node name="Label3" type="Label" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 theme_type_variation = &"HeaderMedium" text = "注册" [node name="Button3" type="Button" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 toggle_mode = true button_group = ExtResource("3_wv1s6") text = "注册标识" [node name="Label4" type="Label" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 theme_type_variation = &"HeaderMedium" text = "查询" [node name="Button2" type="Button" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 toggle_mode = true button_group = ExtResource("3_wv1s6") text = "标识解析" [node name="Label5" type="Label" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 theme_type_variation = &"HeaderMedium" text = "实训" [node name="Button4" type="Button" parent="Layout/UX Window Service/Horizontal Layout/导航栏"] layout_mode = 2 toggle_mode = true button_group = ExtResource("3_wv1s6") text = "温湿度传感器" [node name="内容" type="PanelContainer" parent="Layout/UX Window Service/Horizontal Layout"] layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/panel = SubResource("StyleBoxEmpty_clkje") [node name="标识模板" type="MarginContainer" parent="Layout/UX Window Service/Horizontal Layout/内容"] layout_mode = 2 theme_type_variation = &"Margin_16px" [node name="VBoxContainer" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板"] layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="VBoxContainer" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "标识注册模板" [node name="ItemList" type="ItemList" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 auto_height = true item_count = 3 item_0/text = "1" item_1/text = "2" item_2/text = "3" [node name="HSeparator" type="HSeparator" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 [node name="Button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 text = "创建新的注册模板" [node name="VSeparator" type="VSeparator" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer"] layout_mode = 2 theme_override_constants/separation = 64 [node name="VBoxContainer2" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="VBoxContainer" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2"] layout_mode = 2 size_flags_vertical = 3 [node name="Label2" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "模板信息" [node name="name-edit" type="LineEdit" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 placeholder_text = "标识模板名称" caret_blink = true caret_blink_interval = 0.5 [node name="Label3" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "模板属性" [node name="description-edit" type="LineEdit" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 placeholder_text = "该模板用于xxx" caret_blink = true caret_blink_interval = 0.5 [node name="GridContainer" type="GridContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 columns = 2 [node name="Label5" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer"] layout_mode = 2 text = "创建时间:" [node name="createTime-label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer"] layout_mode = 2 text = "2023年7月7日23:42:40" [node name="Label7" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer"] layout_mode = 2 text = "更新时间:" [node name="updateTime-label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer"] layout_mode = 2 text = "2023年7月7日23:42:40" [node name="HSeparator" type="HSeparator" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] visible = false layout_mode = 2 theme_type_variation = &"HSeparator_8px" [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "模板格式" [node name="Label4" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 text = "数据名称/提示" [node name="Format-Container" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 [node name="标识模板格式" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" instance=ExtResource("3_gmthc")] layout_mode = 2 [node name="标识模板格式2" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="标识模板格式3" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="标识模板格式4" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="标识模板格式5" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="标识模板格式6" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="标识模板格式7" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container" node_paths=PackedStringArray("lineEdits") instance=ExtResource("3_gmthc")] layout_mode = 2 lineEdits = [NodePath("../标识模板格式/HBoxContainer/name-edit"), NodePath("../标识模板格式/HBoxContainer/hint-edit")] [node name="Button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer"] layout_mode = 2 text = "添加新的格式" [node name="HSeparator" type="HSeparator" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2"] layout_mode = 2 [node name="Button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2"] layout_mode = 2 text = "保存注册模板" [node name="标注注册" type="MarginContainer" parent="Layout/UX Window Service/Horizontal Layout/内容"] visible = false layout_mode = 2 theme_type_variation = &"Margin_16px" [node name="HBoxContainer" type="HBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "选择标识模板" [node name="ItemList" type="ItemList" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 auto_height = true item_count = 4 item_0/text = "1" item_1/text = "2" item_2/text = "3" item_3/text = "4" [node name="VSeparator" type="VSeparator" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer"] layout_mode = 2 theme_override_constants/separation = 64 [node name="VBoxContainer2" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2"] layout_mode = 2 theme_type_variation = &"HeaderLarge" text = "在这里填写注册表单" [node name="HBoxContainer" type="HBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2"] layout_mode = 2 [node name="handle-edit" type="LineEdit" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "留空则自动创建标识" caret_blink = true caret_blink_interval = 0.5 [node name="generate-button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/HBoxContainer"] layout_mode = 2 text = "生成标识" [node name="MarginContainer" type="MarginContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2"] layout_mode = 2 size_flags_vertical = 3 theme_type_variation = &"Margin_16px" [node name="VBoxContainer" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderSmall" text = "标识值" [node name="register-container" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="Label2" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer"] layout_mode = 2 theme_type_variation = &"HeaderSmall" text = "标识引用" [node name="reference-container" type="VBoxContainer" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="addReference-button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer"] layout_mode = 2 text = "添加引用" [node name="Label2" type="Label" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2"] layout_mode = 2 text = "等待操作" [node name="register-button" type="Button" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2"] layout_mode = 2 text = "注册标识" [node name="ProgressBar" type="ProgressBar" parent="Layout/UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/register-button"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_styles/background = SubResource("StyleBoxEmpty_1rin1") show_percentage = false [node name="Container2" type="Container" parent="Layout/UX Window Service/Horizontal Layout/内容"] visible = false layout_mode = 2 [node name="Container3" type="Container" parent="Layout/UX Window Service/Horizontal Layout/内容"] visible = false layout_mode = 2 [node name="标识解析服务" type="Node" parent="Layout"] script = ExtResource("3_xbtmk") [node name="标识模板服务" type="Node" parent="Layout" node_paths=PackedStringArray("createButton", "newFormatButton", "itemList", "templateNameEdit", "templateDescriptionEdit", "container", "templateCreateTimeLabel", "templateUpdateTimeLabel")] script = ExtResource("4_oj8cs") createButton = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer/Button") newFormatButton = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Button") itemList = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer/ItemList") templateNameEdit = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/name-edit") templateDescriptionEdit = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/description-edit") container = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/Format-Container") templateCreateTimeLabel = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer/createTime-label") templateUpdateTimeLabel = NodePath("../UX Window Service/Horizontal Layout/内容/标识模板/VBoxContainer/HBoxContainer/VBoxContainer2/VBoxContainer/GridContainer/updateTime-label") templateContainer = ExtResource("3_gmthc") [node name="标识注册服务" type="Node" parent="Layout" node_paths=PackedStringArray("service", "templateService", "templateList", "handleEdit", "generateHandleButton", "registerContainer", "registerButton", "registerProgress", "referenceContainer", "addReferenceButton", "hints")] script = ExtResource("8_6uwr0") service = NodePath("../标识解析服务") templateService = NodePath("../标识模板服务") templateList = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer/ItemList") handleEdit = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/HBoxContainer/handle-edit") generateHandleButton = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/HBoxContainer/generate-button") registerContainer = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer/register-container") registerButton = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/register-button") registerProgress = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/register-button/ProgressBar") referenceContainer = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer/reference-container") addReferenceButton = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/MarginContainer/VBoxContainer/addReference-button") hints = NodePath("../UX Window Service/Horizontal Layout/内容/标注注册/HBoxContainer/VBoxContainer2/Label2") [connection signal="draw" from="Layout/UX Window Service/Horizontal Layout/内容/标注注册" to="Layout/标识注册服务" method="Rebuild"]