添加了标识查询
This commit is contained in:
parent
dd10fb59e5
commit
4967df927a
Binary file not shown.
After Width: | Height: | Size: 756 B |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dqhcsm0j6w85j"
|
||||
path="res://.godot/imported/icon_material-symbols_search.png-9a40e0f391611cd2d8d14a588b377126.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Artists/Art/Icons/icon_material-symbols_search.png"
|
||||
dest_files=["res://.godot/imported/icon_material-symbols_search.png-9a40e0f391611cd2d8d14a588b377126.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://biotbf2rpqme8"
|
||||
path="res://.godot/imported/icon_style_round.png-f2bb5472f700b5e4ee262fe9df5d61a2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Artists/Art/Icons/icon_style_round.png"
|
||||
dest_files=["res://.godot/imported/icon_style_round.png-f2bb5472f700b5e4ee262fe9df5d61a2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
Binary file not shown.
After Width: | Height: | Size: 523 B |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cdteo2b8x1rkv"
|
||||
path="res://.godot/imported/icon_tabler_select.png-701d2d08cf3e399dc7c08affa586e6ce.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Artists/Art/Icons/icon_tabler_select.png"
|
||||
dest_files=["res://.godot/imported/icon_tabler_select.png-701d2d08cf3e399dc7c08affa586e6ce.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -1,37 +1,18 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://kjagucr1ngry"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://k3xy782w6pa0" path="res://BITKit/Art/Shapes/icon_squad_rounded-4px.png" id="1_8ekvh"]
|
||||
[ext_resource type="Texture2D" uid="uid://sq1oh4tippad" path="res://Artists/Art/Icons/icon_temperature-celsius.png" id="2_722ju"]
|
||||
|
||||
[node name="RectangleData" type="NinePatchRect"]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y6prx"]
|
||||
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="RectangleData" type="Panel"]
|
||||
self_modulate = Color(0, 0, 0, 0.501961)
|
||||
custom_minimum_size = Vector2(128, 128)
|
||||
texture = ExtResource("1_8ekvh")
|
||||
patch_margin_left = 16
|
||||
patch_margin_top = 16
|
||||
patch_margin_right = 16
|
||||
patch_margin_bottom = 16
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
self_modulate = Color(1, 1, 1, 0.501961)
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -64.0
|
||||
offset_bottom = 64.0
|
||||
grow_horizontal = 0
|
||||
texture = ExtResource("2_722ju")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
offset_right = 62.0
|
||||
offset_bottom = 62.0
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "温度"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_y6prx")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
|
@ -40,16 +21,37 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer"]
|
||||
custom_minimum_size = Vector2(64, 0)
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "32.4"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
||||
text = "32"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(64, 24)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_722ju")
|
||||
expand_mode = 1
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "当前温度"
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bkbveo2w5hop0"
|
||||
path="res://.godot/imported/SourceHanMono-Bold.ttc-9134491154b59ece4c2cbe2a07adc207.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Bold.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Bold.ttc-9134491154b59ece4c2cbe2a07adc207.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://ch14hp01x5ufy"
|
||||
path="res://.godot/imported/SourceHanMono-BoldIt.ttc-418436ba876959a439fad64d0153f84a.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-BoldIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-BoldIt.ttc-418436ba876959a439fad64d0153f84a.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bpy1rhjd4y43y"
|
||||
path="res://.godot/imported/SourceHanMono-ExtraLight.ttc-9c33dc9fc155bd1bcb3d84acc3ea0c13.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-ExtraLight.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-ExtraLight.ttc-9c33dc9fc155bd1bcb3d84acc3ea0c13.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cie5qyjpbq34r"
|
||||
path="res://.godot/imported/SourceHanMono-ExtraLightIt.ttc-af78357d73f2d0341ce521317616f012.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-ExtraLightIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-ExtraLightIt.ttc-af78357d73f2d0341ce521317616f012.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bpoxf1grvba0u"
|
||||
path="res://.godot/imported/SourceHanMono-Heavy.ttc-baaf56f9e7d9939d0f3b95ecf8cba268.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Heavy.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Heavy.ttc-baaf56f9e7d9939d0f3b95ecf8cba268.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://b3damve3ylfmu"
|
||||
path="res://.godot/imported/SourceHanMono-HeavyIt.ttc-9af13558b8d784bed39d885c7f6fec60.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-HeavyIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-HeavyIt.ttc-9af13558b8d784bed39d885c7f6fec60.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://d1d3h8kes2kyr"
|
||||
path="res://.godot/imported/SourceHanMono-Light.ttc-6499ee3c119e13fb72bac7f62dc6c969.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Light.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Light.ttc-6499ee3c119e13fb72bac7f62dc6c969.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://d2cdyyogm6vdo"
|
||||
path="res://.godot/imported/SourceHanMono-LightIt.ttc-f9f804876a8893999fb2ce8c054cce79.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-LightIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-LightIt.ttc-f9f804876a8893999fb2ce8c054cce79.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bk6bo13rh4d0s"
|
||||
path="res://.godot/imported/SourceHanMono-Medium.ttc-0f3b2f99b2a11f6814d25b985fa922ac.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Medium.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Medium.ttc-0f3b2f99b2a11f6814d25b985fa922ac.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://c0ufh17wmtq6l"
|
||||
path="res://.godot/imported/SourceHanMono-MediumIt.ttc-24e2d55d723e7051a879e74c382daaf9.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-MediumIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-MediumIt.ttc-24e2d55d723e7051a879e74c382daaf9.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dhmyyoqu27s52"
|
||||
path="res://.godot/imported/SourceHanMono-Normal.ttc-c68e56e57a0b77beecedd9093039da20.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Normal.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Normal.ttc-c68e56e57a0b77beecedd9093039da20.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bsettef0hcl47"
|
||||
path="res://.godot/imported/SourceHanMono-NormalIt.ttc-f0dc4e90fac214622ef85c40587d55d4.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-NormalIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-NormalIt.ttc-f0dc4e90fac214622ef85c40587d55d4.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://et4h4gx3jlbl"
|
||||
path="res://.godot/imported/SourceHanMono-Regular.ttc-fdf000bee4452f4b99571df846f77c18.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-Regular.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-Regular.ttc-fdf000bee4452f4b99571df846f77c18.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bqi40elhplrj7"
|
||||
path="res://.godot/imported/SourceHanMono-RegularIt.ttc-29310b4c99cff33e766c221eeba65940.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://BITKit/Art/Fonts/SourceHanMono/SourceHanMono-RegularIt.ttc"
|
||||
dest_files=["res://.godot/imported/SourceHanMono-RegularIt.ttc-29310b4c99cff33e766c221eeba65940.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
|
@ -0,0 +1,17 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BITKit;
|
||||
|
||||
public class SqlLiteContext<T> : DbContext where T : class
|
||||
{
|
||||
private const string _database = "Database";
|
||||
public DbSet<T> context { get; private set; }
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
PathHelper.GetFolderPath(_database);
|
||||
var path = PathHelper.GetPath(_database, $"{typeof(T).Name}.db");
|
||||
var sql = $"Data Source={path}";
|
||||
BIT4Log.Log<T>($"已创建数据库链接:{path}");
|
||||
optionsBuilder.UseSqlite(sql);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
using Godot;
|
||||
|
||||
namespace BITKit;
|
||||
|
||||
public interface IUXContainer
|
||||
{
|
||||
string Text { get; set; }
|
||||
void SetText(string text);
|
||||
Texture2D Icon { get; set; }
|
||||
void SetIcon(Texture2D texture);
|
||||
}
|
||||
public partial class UXContainer:Control,IUXContainer
|
||||
{
|
||||
[Export] public Label label;
|
||||
[Export] public RichTextLabel richTextLabel;
|
||||
[Export] public Label titleLabel;
|
||||
[Export] public TextureRect icon;
|
||||
[Export] public Button button;
|
||||
|
||||
public string Text
|
||||
{
|
||||
get =>label is not null ? label.Text : richTextLabel.Text;
|
||||
set
|
||||
{
|
||||
switch (label, richTextLabel)
|
||||
{
|
||||
case (not null, null):
|
||||
label.Text = value;
|
||||
break;
|
||||
case (null, not null):
|
||||
richTextLabel.Text = value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
public void SetText(string text)
|
||||
{
|
||||
Text=text;
|
||||
}
|
||||
|
||||
public Texture2D Icon
|
||||
{
|
||||
get => icon.Texture;
|
||||
set => icon.Texture=value;
|
||||
}
|
||||
|
||||
public void SetIcon(Texture2D texture)
|
||||
{
|
||||
Icon = texture;
|
||||
}
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
using Godot;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Xml;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
@ -128,6 +129,8 @@ public partial class UXService : Control
|
|||
/// </summary>
|
||||
private static readonly Stack<IUXPanel> TransitionPanles = new();
|
||||
|
||||
private static InitializationState InitializationState;
|
||||
|
||||
private void _Entry(IUXPanel panel)
|
||||
{
|
||||
|
||||
|
@ -140,21 +143,30 @@ public partial class UXService : Control
|
|||
{
|
||||
Panels.Remove(result.Index);
|
||||
}
|
||||
|
||||
while (RegistryQueue.TryDequeue(out var result))
|
||||
{
|
||||
Panels.Add(result.Index, result);
|
||||
result.Exit();
|
||||
if (InitializationState is InitializationState.Initialized)
|
||||
result.Exit();
|
||||
}
|
||||
if (EnableQueue.TryPop(out var next))
|
||||
|
||||
|
||||
if (!EnableQueue.TryPop(out var next)) return;
|
||||
if (InitializationState is InitializationState.None)
|
||||
{
|
||||
while (EnabledPanels.TryPop(out var enabledPanel))
|
||||
foreach (var x in Panels)
|
||||
{
|
||||
enabledPanel.Exit();
|
||||
x.Value.Exit();
|
||||
}
|
||||
next.Entry();
|
||||
EnabledPanels.Push(next);
|
||||
History.Push(next);
|
||||
return;
|
||||
InitializationState=InitializationState.Initialized;
|
||||
}
|
||||
while (EnabledPanels.TryPop(out var enabledPanel))
|
||||
{
|
||||
enabledPanel.Exit();
|
||||
}
|
||||
next.Entry();
|
||||
EnabledPanels.Push(next);
|
||||
History.Push(next);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,85 +1,88 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://x86mmss5del3"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://x86mmss5del3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://57gvsjws6ulq" path="res://BITKit/Art/Containers/container_border_64.png" id="1_k2n80"]
|
||||
[ext_resource type="Texture2D" uid="uid://ibj6hkvlarxe" path="res://Mods/CAICT/Arts/Icons/Icon_笔记本壳.png" id="2_5fb8a"]
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXContainer.cs" id="1_asno5"]
|
||||
[ext_resource type="Texture2D" uid="uid://biotbf2rpqme8" path="res://Artists/Art/Icons/icon_style_round.png" id="2_sudlp"]
|
||||
|
||||
[node name="ColorRect" type="ColorRect"]
|
||||
custom_minimum_size = Vector2(512, 128)
|
||||
color = Color(1, 1, 1, 0.12549)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ofhjj"]
|
||||
bg_color = Color(0.129412, 0.129412, 0.129412, 1)
|
||||
shadow_size = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
[node name="Container" type="PanelContainer" node_paths=PackedStringArray("label", "richTextLabel", "titleLabel", "icon")]
|
||||
custom_minimum_size = Vector2(512, 100)
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ofhjj")
|
||||
script = ExtResource("1_asno5")
|
||||
label = NodePath("")
|
||||
richTextLabel = NodePath("MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/RichTextLabel")
|
||||
titleLabel = NodePath("MarginContainer/HBoxContainer/MarginContainer/VBoxContainer/Label")
|
||||
icon = NodePath("MarginContainer/HBoxContainer/Control/MarginContainer2/Icon")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_right = 16
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Control" type="Control" parent="MarginContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 16
|
||||
scale = Vector2(0.992108, 1)
|
||||
theme_override_constants/margin_left = 32
|
||||
theme_override_constants/margin_top = 32
|
||||
theme_override_constants/margin_right = 32
|
||||
theme_override_constants/margin_bottom = 32
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer"]
|
||||
self_modulate = Color(1, 1, 1, 0.501961)
|
||||
custom_minimum_size = Vector2(128, 64)
|
||||
[node name="DefaultIcon" type="TextureRect" parent="MarginContainer/HBoxContainer/Control/MarginContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_k2n80")
|
||||
texture = ExtResource("2_sudlp")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/TextureRect2"]
|
||||
custom_minimum_size = Vector2(128, 64)
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/HBoxContainer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -28.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_5fb8a")
|
||||
expand_mode = 1
|
||||
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="HBoxContainer"]
|
||||
[node name="Icon" type="TextureRect" parent="MarginContainer/HBoxContainer/Control/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
expand_mode = 2
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "标识码:"
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "名称:"
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Label4" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "类型:"
|
||||
theme_type_variation = &"HeaderMedium"
|
||||
text = "Name"
|
||||
|
||||
[node name="Label3" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
[node name="HSeparator" type="HSeparator" parent="MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "生产时间:"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer"]
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/HBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "88.209.1/00203003"
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "笔记本壳体"
|
||||
|
||||
[node name="Label3" type="Label" parent="HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "物料"
|
||||
|
||||
[node name="Label4" type="Label" parent="HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "2022-06-24T08:41:00"
|
||||
text = "Value
|
||||
"
|
||||
fit_content = true
|
||||
|
|
|
@ -27,6 +27,12 @@ cache/0/16/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/16/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/16/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/20/0/ascent = 0.0
|
||||
cache/0/20/0/descent = 0.0
|
||||
cache/0/20/0/underline_position = 0.0
|
||||
|
@ -41,6 +47,12 @@ cache/0/20/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/20/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/20/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/28/0/ascent = 0.0
|
||||
cache/0/28/0/descent = 0.0
|
||||
cache/0/28/0/underline_position = 0.0
|
||||
|
@ -55,6 +67,12 @@ cache/0/28/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/28/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/28/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/76/0/ascent = 0.0
|
||||
cache/0/76/0/descent = 0.0
|
||||
cache/0/76/0/underline_position = 0.0
|
||||
|
@ -69,6 +87,12 @@ cache/0/76/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/76/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/76/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/59/0/ascent = 0.0
|
||||
cache/0/59/0/descent = 0.0
|
||||
cache/0/59/0/underline_position = 0.0
|
||||
|
@ -83,6 +107,12 @@ cache/0/59/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/59/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/59/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/69/0/ascent = 0.0
|
||||
cache/0/69/0/descent = 0.0
|
||||
cache/0/69/0/underline_position = 0.0
|
||||
|
@ -97,6 +127,12 @@ cache/0/69/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/69/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/69/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/12/0/ascent = 0.0
|
||||
cache/0/12/0/descent = 0.0
|
||||
cache/0/12/0/underline_position = 0.0
|
||||
|
@ -111,6 +147,12 @@ cache/0/12/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/12/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/12/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/24/0/ascent = 0.0
|
||||
cache/0/24/0/descent = 0.0
|
||||
cache/0/24/0/underline_position = 0.0
|
||||
|
@ -125,6 +167,12 @@ cache/0/24/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/24/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/24/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/48/0/ascent = 0.0
|
||||
cache/0/48/0/descent = 0.0
|
||||
cache/0/48/0/underline_position = 0.0
|
||||
|
@ -139,6 +187,132 @@ cache/0/48/0/kerning_overrides/69/0 = Vector2(0, 0)
|
|||
cache/0/48/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/48/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/17/0/ascent = 0.0
|
||||
cache/0/17/0/descent = 0.0
|
||||
cache/0/17/0/underline_position = 0.0
|
||||
cache/0/17/0/underline_thickness = 0.0
|
||||
cache/0/17/0/scale = 1.0
|
||||
cache/0/17/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/17/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/18/0/ascent = 0.0
|
||||
cache/0/18/0/descent = 0.0
|
||||
cache/0/18/0/underline_position = 0.0
|
||||
cache/0/18/0/underline_thickness = 0.0
|
||||
cache/0/18/0/scale = 1.0
|
||||
cache/0/18/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/18/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/19/0/ascent = 0.0
|
||||
cache/0/19/0/descent = 0.0
|
||||
cache/0/19/0/underline_position = 0.0
|
||||
cache/0/19/0/underline_thickness = 0.0
|
||||
cache/0/19/0/scale = 1.0
|
||||
cache/0/19/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/19/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/21/0/ascent = 0.0
|
||||
cache/0/21/0/descent = 0.0
|
||||
cache/0/21/0/underline_position = 0.0
|
||||
cache/0/21/0/underline_thickness = 0.0
|
||||
cache/0/21/0/scale = 1.0
|
||||
cache/0/21/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/21/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/22/0/ascent = 0.0
|
||||
cache/0/22/0/descent = 0.0
|
||||
cache/0/22/0/underline_position = 0.0
|
||||
cache/0/22/0/underline_thickness = 0.0
|
||||
cache/0/22/0/scale = 1.0
|
||||
cache/0/22/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/22/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
cache/0/23/0/ascent = 0.0
|
||||
cache/0/23/0/descent = 0.0
|
||||
cache/0/23/0/underline_position = 0.0
|
||||
cache/0/23/0/underline_thickness = 0.0
|
||||
cache/0/23/0/scale = 1.0
|
||||
cache/0/23/0/kerning_overrides/16/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/20/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/28/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/76/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/59/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/69/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/12/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/24/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/48/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/17/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/18/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/19/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/21/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/22/0 = Vector2(0, 0)
|
||||
cache/0/23/0/kerning_overrides/23/0 = Vector2(0, 0)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="1"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
|
|
@ -0,0 +1,69 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dmk2vf7jamysi"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://58y4a67wwco4" path="res://Artists/Art/Icons/Icon_Settings.png" id="1_hpoox"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tg46m"]
|
||||
bg_color = Color(0.152941, 0.160784, 0.176471, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="StepElement" type="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(384, 512)
|
||||
|
||||
[node name="BaseComponent" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="BaseComponent"]
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderMedium"
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_tg46m")
|
||||
text = "准备环境"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Control" type="Control" parent="BaseComponent"]
|
||||
custom_minimum_size = Vector2(0, 24)
|
||||
layout_mode = 2
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Label2" type="Label" parent="BaseComponent"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderMedium"
|
||||
text = "准备一些工具"
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="BaseComponent"]
|
||||
custom_minimum_size = Vector2(0, 256)
|
||||
layout_mode = 2
|
||||
color = Color(0.0196078, 0.0196078, 0.0196078, 1)
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="BaseComponent/ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("1_hpoox")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="BaseComponent/ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="BaseComponent"]
|
||||
layout_mode = 2
|
||||
text = "在这里输入相关信息"
|
||||
fit_content = true
|
||||
|
||||
[node name="InitialSeparator" type="HSeparator" parent="."]
|
||||
layout_mode = 2
|
|
@ -1,684 +1,124 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://cdivd7qml4dvu"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://cdivd7qml4dvu"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXPanel.cs" id="1_im3hi"]
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/GraphNode/GraphNodeConnector.cs" id="1_ua4ft"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqwchhovknbro" path="res://Artists/Art/Icons/Arrows/icon_chevron-right-rounded.png" id="2_b3djk"]
|
||||
[ext_resource type="VideoStream" path="res://Mods/工业数据采集与分析应用分享/Arts/Videos/生产过程模拟.ogv" id="2_hle6k"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0f2b032lufnb" path="res://Mods/教育平台/Arts/Textures/ee680086375133.5d97558385c71.jpg" id="2_n24po"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1po2qljd0jh2" path="res://Mods/教育平台/教程header.tscn" id="2_t35ce"]
|
||||
[ext_resource type="Texture2D" uid="uid://mfyhei8n50j0" path="res://Artists/Art/Icons/icon_gears.png" id="3_bpa18"]
|
||||
[ext_resource type="PackedScene" uid="uid://x86mmss5del3" path="res://Mods/CAICT/Templates/标识解析溯源元素.tscn" id="3_buh0o"]
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/GraphNode/GraphFlowService.cs" id="3_g5nag"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyum0qcnvw2fm" path="res://Artists/Art/Icons/icon_park-twotone_data-user.png" id="4_v0ed3"]
|
||||
[ext_resource type="Texture2D" uid="uid://brhl3mwa5ibbk" path="res://Mods/教育平台/Arts/Textures/holographic_city_node.jpg" id="3_ov6mq"]
|
||||
[ext_resource type="Theme" uid="uid://dokwscirps6nt" path="res://Artists/Themes/Factory_Theme.tres" id="4_nxjar"]
|
||||
[ext_resource type="PackedScene" uid="uid://bx4v3ofh4on5e" path="res://Mods/工业数据采集与分析应用分享/标识注册.tscn" id="6_nuph1"]
|
||||
[ext_resource type="PackedScene" uid="uid://yxubv8dgqnpa" path="res://Mods/工业数据采集与分析应用分享/标识解析.tscn" id="7_fapjq"]
|
||||
[ext_resource type="Script" path="res://Mods/教育平台/Scripts/SearchEngine.cs" id="12_m0fjq"]
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXServiceProxy.cs" id="16_qcre0"]
|
||||
[ext_resource type="Texture2D" uid="uid://c38luts5hc5fj" path="res://Artists/Art/Icons/Arrows/icon_chevron-left-rounded.png" id="16_s70sy"]
|
||||
|
||||
[node name="工业互联网标识解析与注册" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="工业互联网标识解析与注册" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_im3hi")
|
||||
allowCursor = true
|
||||
allowInput = true
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1080.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.0390224, 0.0432458, 0.0516745, 1)
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 3.0
|
||||
offset_top = 5.0
|
||||
offset_right = 1923.0
|
||||
offset_bottom = 1019.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_n24po")
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="教程Header" parent="." instance=ExtResource("2_t35ce")]
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
|
||||
[node name="HBoxContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="TabContainer" type="TabContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="标识注册" type="ColorRect" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer"]
|
||||
custom_minimum_size = Vector2(768, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
color = Color(0.0509804, 0.0509804, 0.0509804, 1)
|
||||
|
||||
[node name="GraphEdit" type="GraphEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册"]
|
||||
[node name="TextureRect" type="TextureRect" parent="教程Header"]
|
||||
self_modulate = Color(0.329412, 0.329412, 0.329412, 1)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -42.0
|
||||
offset_top = -14.0
|
||||
offset_right = 66.0
|
||||
offset_bottom = 539.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_ua4ft")
|
||||
texture = ExtResource("3_ov6mq")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="4-9" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 2
|
||||
offset_left = 1261.0
|
||||
offset_top = 210.0
|
||||
offset_right = 1441.0
|
||||
offset_bottom = 398.0
|
||||
mouse_filter = 1
|
||||
title = "手动注册标识"
|
||||
position_offset = Vector2(1261, 210)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = true
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
slot/1/left_enabled = true
|
||||
slot/1/left_type = 0
|
||||
slot/1/left_color = Color(1, 1, 1, 1)
|
||||
slot/1/left_icon = null
|
||||
slot/1/right_enabled = false
|
||||
slot/1/right_type = 0
|
||||
slot/1/right_color = Color(1, 1, 1, 1)
|
||||
slot/1/right_icon = null
|
||||
slot/1/draw_stylebox = true
|
||||
slot/2/left_enabled = true
|
||||
slot/2/left_type = 0
|
||||
slot/2/left_color = Color(1, 1, 1, 1)
|
||||
slot/2/left_icon = null
|
||||
slot/2/right_enabled = false
|
||||
slot/2/right_type = 0
|
||||
slot/2/right_color = Color(1, 1, 1, 1)
|
||||
slot/2/right_icon = null
|
||||
slot/2/draw_stylebox = true
|
||||
slot/3/left_enabled = true
|
||||
slot/3/left_type = 0
|
||||
slot/3/left_color = Color(1, 1, 1, 1)
|
||||
slot/3/left_icon = null
|
||||
slot/3/right_enabled = false
|
||||
slot/3/right_type = 0
|
||||
slot/3/right_color = Color(1, 1, 1, 1)
|
||||
slot/3/right_icon = null
|
||||
slot/3/draw_stylebox = true
|
||||
slot/4/left_enabled = true
|
||||
slot/4/left_type = 0
|
||||
slot/4/left_color = Color(1, 1, 1, 1)
|
||||
slot/4/left_icon = null
|
||||
slot/4/right_enabled = false
|
||||
slot/4/right_type = 0
|
||||
slot/4/right_color = Color(1, 1, 1, 1)
|
||||
slot/4/right_icon = null
|
||||
slot/4/draw_stylebox = true
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"]
|
||||
layout_mode = 2
|
||||
text = "开始注册"
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"]
|
||||
layout_mode = 2
|
||||
text = "标识码"
|
||||
|
||||
[node name="Label3" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"]
|
||||
layout_mode = 2
|
||||
text = "设备名称"
|
||||
|
||||
[node name="Label4" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"]
|
||||
layout_mode = 2
|
||||
text = "设备Id"
|
||||
|
||||
[node name="Label5" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"]
|
||||
layout_mode = 2
|
||||
text = "注册记录"
|
||||
|
||||
[node name="10" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 2
|
||||
offset_left = 1528.0
|
||||
offset_top = 204.0
|
||||
offset_right = 1706.0
|
||||
offset_bottom = 304.0
|
||||
mouse_filter = 1
|
||||
title = "完成注册"
|
||||
position_offset = Vector2(1528, 204)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = true
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = false
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/10"]
|
||||
layout_mode = 2
|
||||
text = "已完成注册"
|
||||
|
||||
[node name="5" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 736.0
|
||||
offset_top = 278.0
|
||||
offset_right = 1011.0
|
||||
offset_bottom = 413.0
|
||||
mouse_filter = 1
|
||||
title = "标识码"
|
||||
position_offset = Vector2(736, 278)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
slot/1/left_enabled = false
|
||||
slot/1/left_type = 0
|
||||
slot/1/left_color = Color(1, 1, 1, 1)
|
||||
slot/1/left_icon = null
|
||||
slot/1/right_enabled = false
|
||||
slot/1/right_type = 0
|
||||
slot/1/right_color = Color(1, 1, 1, 1)
|
||||
slot/1/right_icon = null
|
||||
slot/1/draw_stylebox = true
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/5"]
|
||||
layout_mode = 2
|
||||
text = "国家级.省或直辖市.厂家/你的标识"
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/5"]
|
||||
[node name="TabContainer" type="TabContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 4.0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1076.0
|
||||
size_flags_vertical = 3
|
||||
placeholder_text = "88.123.99/02020220225008"
|
||||
theme = ExtResource("4_nxjar")
|
||||
theme_override_constants/side_margin = 128
|
||||
|
||||
[node name="6" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 660.0
|
||||
offset_top = 443.0
|
||||
offset_right = 883.0
|
||||
offset_bottom = 533.0
|
||||
mouse_filter = 1
|
||||
title = "设备名称"
|
||||
position_offset = Vector2(660, 443)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/6"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
placeholder_text = "温湿度传感器"
|
||||
|
||||
[node name="7" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 660.0
|
||||
offset_top = 557.0
|
||||
offset_right = 883.0
|
||||
offset_bottom = 647.0
|
||||
mouse_filter = 1
|
||||
title = "设备Id"
|
||||
position_offset = Vector2(660, 557)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/7"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
placeholder_text = "t.h.sensor_01"
|
||||
|
||||
[node name="8" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 908.0
|
||||
offset_top = 641.0
|
||||
offset_right = 1230.0
|
||||
offset_bottom = 749.0
|
||||
mouse_filter = 1
|
||||
title = "注册记录"
|
||||
position_offset = Vector2(908, 641)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/8"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
placeholder_text = "registry-t.h.snesor_01-FX4WF5"
|
||||
|
||||
[node name="0" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 107.0
|
||||
offset_top = 105.0
|
||||
offset_right = 323.0
|
||||
offset_bottom = 211.0
|
||||
mouse_filter = 1
|
||||
theme_override_colors/title_color = Color(0.278431, 0.72549, 1, 1)
|
||||
title = "发起订单"
|
||||
position_offset = Vector2(107, 105)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
|
||||
[node name="Button" type="Button" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/0"]
|
||||
layout_mode = 2
|
||||
text = "随机生成订单"
|
||||
|
||||
[node name="2" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 92.0
|
||||
offset_top = 255.0
|
||||
offset_right = 384.0
|
||||
offset_bottom = 664.0
|
||||
mouse_filter = 1
|
||||
title = "开始生产"
|
||||
position_offset = Vector2(92, 255)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = false
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = true
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
slot/1/left_enabled = false
|
||||
slot/1/left_type = 0
|
||||
slot/1/left_color = Color(1, 1, 1, 1)
|
||||
slot/1/left_icon = null
|
||||
slot/1/right_enabled = false
|
||||
slot/1/right_type = 0
|
||||
slot/1/right_color = Color(1, 1, 1, 1)
|
||||
slot/1/right_icon = null
|
||||
slot/1/draw_stylebox = true
|
||||
slot/2/left_enabled = false
|
||||
slot/2/left_type = 0
|
||||
slot/2/left_color = Color(1, 1, 1, 1)
|
||||
slot/2/left_icon = null
|
||||
slot/2/right_enabled = false
|
||||
slot/2/right_type = 0
|
||||
slot/2/right_color = Color(1, 1, 1, 1)
|
||||
slot/2/right_icon = null
|
||||
slot/2/draw_stylebox = true
|
||||
slot/3/left_enabled = false
|
||||
slot/3/left_type = 0
|
||||
slot/3/left_color = Color(1, 1, 1, 1)
|
||||
slot/3/left_icon = null
|
||||
slot/3/right_enabled = false
|
||||
slot/3/right_type = 0
|
||||
slot/3/right_color = Color(1, 1, 1, 1)
|
||||
slot/3/right_icon = null
|
||||
slot/3/draw_stylebox = true
|
||||
slot/4/left_enabled = false
|
||||
slot/4/left_type = 0
|
||||
slot/4/left_color = Color(1, 1, 1, 1)
|
||||
slot/4/left_icon = null
|
||||
slot/4/right_enabled = false
|
||||
slot/4/right_type = 0
|
||||
slot/4/right_color = Color(1, 1, 1, 1)
|
||||
slot/4/right_icon = null
|
||||
slot/4/draw_stylebox = true
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"]
|
||||
layout_mode = 2
|
||||
text = "等待生产完成"
|
||||
|
||||
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"]
|
||||
custom_minimum_size = Vector2(0, 256)
|
||||
layout_mode = 2
|
||||
stream = ExtResource("2_hle6k")
|
||||
expand = true
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Button" type="Button" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"]
|
||||
layout_mode = 2
|
||||
text = "播放模拟生产"
|
||||
|
||||
[node name="Button2" type="Button" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"]
|
||||
layout_mode = 2
|
||||
text = "停止播放模拟生产"
|
||||
|
||||
[node name="1-3" type="GraphNode" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit"]
|
||||
layout_mode = 0
|
||||
offset_left = 502.0
|
||||
offset_top = 56.0
|
||||
offset_right = 682.0
|
||||
offset_bottom = 344.0
|
||||
mouse_filter = 1
|
||||
title = "处理订单"
|
||||
position_offset = Vector2(502, 56)
|
||||
draggable = false
|
||||
selectable = false
|
||||
slot/0/left_enabled = true
|
||||
slot/0/left_type = 0
|
||||
slot/0/left_color = Color(1, 1, 1, 1)
|
||||
slot/0/left_icon = null
|
||||
slot/0/right_enabled = false
|
||||
slot/0/right_type = 0
|
||||
slot/0/right_color = Color(1, 1, 1, 1)
|
||||
slot/0/right_icon = null
|
||||
slot/0/draw_stylebox = true
|
||||
slot/1/left_enabled = false
|
||||
slot/1/left_type = 0
|
||||
slot/1/left_color = Color(1, 1, 1, 1)
|
||||
slot/1/left_icon = null
|
||||
slot/1/right_enabled = true
|
||||
slot/1/right_type = 0
|
||||
slot/1/right_color = Color(1, 1, 1, 1)
|
||||
slot/1/right_icon = null
|
||||
slot/1/draw_stylebox = true
|
||||
slot/2/left_enabled = false
|
||||
slot/2/left_type = 0
|
||||
slot/2/left_color = Color(1, 1, 1, 1)
|
||||
slot/2/left_icon = null
|
||||
slot/2/right_enabled = false
|
||||
slot/2/right_type = 0
|
||||
slot/2/right_color = Color(1, 1, 1, 1)
|
||||
slot/2/right_icon = null
|
||||
slot/2/draw_stylebox = true
|
||||
slot/3/left_enabled = false
|
||||
slot/3/left_type = 0
|
||||
slot/3/left_color = Color(1, 1, 1, 1)
|
||||
slot/3/left_icon = null
|
||||
slot/3/right_enabled = false
|
||||
slot/3/right_type = 0
|
||||
slot/3/right_color = Color(1, 1, 1, 1)
|
||||
slot/3/right_icon = null
|
||||
slot/3/draw_stylebox = true
|
||||
slot/4/left_enabled = false
|
||||
slot/4/left_type = 0
|
||||
slot/4/left_color = Color(1, 1, 1, 1)
|
||||
slot/4/left_icon = null
|
||||
slot/4/right_enabled = false
|
||||
slot/4/right_type = 0
|
||||
slot/4/right_color = Color(1, 1, 1, 1)
|
||||
slot/4/right_icon = null
|
||||
slot/4/draw_stylebox = true
|
||||
slot/5/left_enabled = false
|
||||
slot/5/left_type = 0
|
||||
slot/5/left_color = Color(1, 1, 1, 1)
|
||||
slot/5/left_icon = null
|
||||
slot/5/right_enabled = false
|
||||
slot/5/right_type = 0
|
||||
slot/5/right_color = Color(1, 1, 1, 1)
|
||||
slot/5/right_icon = null
|
||||
slot/5/draw_stylebox = true
|
||||
slot/6/left_enabled = true
|
||||
slot/6/left_type = 0
|
||||
slot/6/left_color = Color(1, 1, 1, 1)
|
||||
slot/6/left_icon = null
|
||||
slot/6/right_enabled = false
|
||||
slot/6/right_type = 0
|
||||
slot/6/right_color = Color(1, 1, 1, 1)
|
||||
slot/6/right_icon = null
|
||||
slot/6/draw_stylebox = true
|
||||
slot/7/left_enabled = false
|
||||
slot/7/left_type = 0
|
||||
slot/7/left_color = Color(1, 1, 1, 1)
|
||||
slot/7/left_icon = null
|
||||
slot/7/right_enabled = false
|
||||
slot/7/right_type = 0
|
||||
slot/7/right_color = Color(1, 1, 1, 1)
|
||||
slot/7/right_icon = null
|
||||
slot/7/draw_stylebox = true
|
||||
slot/8/left_enabled = false
|
||||
slot/8/left_type = 0
|
||||
slot/8/left_color = Color(1, 1, 1, 1)
|
||||
slot/8/left_icon = null
|
||||
slot/8/right_enabled = false
|
||||
slot/8/right_type = 0
|
||||
slot/8/right_color = Color(1, 1, 1, 1)
|
||||
slot/8/right_icon = null
|
||||
slot/8/draw_stylebox = true
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "提交订单至Mes系统"
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "MES系统处理完成"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Label3" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "订单创建"
|
||||
|
||||
[node name="Label4" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "订单发布"
|
||||
|
||||
[node name="Label5" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "资源分配"
|
||||
|
||||
[node name="Label6" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "生产执行"
|
||||
|
||||
[node name="Label7" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "跟踪和监控"
|
||||
|
||||
[node name="Label8" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"]
|
||||
layout_mode = 2
|
||||
text = "质量控制"
|
||||
|
||||
[node name="标识解析" type="ColorRect" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer"]
|
||||
visible = false
|
||||
clip_children = 1
|
||||
[node name="标识注册" parent="TabContainer" instance=ExtResource("6_nuph1")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析"]
|
||||
self_modulate = Color(0.113725, 0.113725, 0.113725, 1)
|
||||
layout_mode = 0
|
||||
offset_left = -36.0
|
||||
offset_top = 269.0
|
||||
offset_right = 638.0
|
||||
offset_bottom = 898.0
|
||||
texture = ExtResource("3_bpa18")
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析"]
|
||||
visible = false
|
||||
self_modulate = Color(0.113725, 0.113725, 0.113725, 1)
|
||||
layout_mode = 0
|
||||
offset_left = 1282.0
|
||||
offset_top = 221.0
|
||||
offset_right = 1956.0
|
||||
offset_bottom = 850.0
|
||||
texture = ExtResource("4_v0ed3")
|
||||
|
||||
[node name="Container" type="MarginContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 32
|
||||
theme_override_constants/margin_top = 32
|
||||
theme_override_constants/margin_right = 32
|
||||
theme_override_constants/margin_bottom = 32
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 64
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "历史解析标识码"
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
auto_height = true
|
||||
item_count = 10
|
||||
item_0/text = "32"
|
||||
item_1/text = "123312"
|
||||
item_2/text = "12312312"
|
||||
item_3/text = "41241241231"
|
||||
item_4/text = "123123123"
|
||||
item_5/text = "123123123"
|
||||
item_6/text = "123123123"
|
||||
item_7/text = "3313"
|
||||
item_8/text = "124124"
|
||||
item_9/text = "412412"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "解析标识码"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "解析标识码"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(256, 0)
|
||||
layout_mode = 2
|
||||
placeholder_text = "88.123.99/02020220225008"
|
||||
|
||||
[node name="Button" type="Button" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "解析"
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
theme_override_colors/font_color = Color(0, 1, 0, 1)
|
||||
text = "正确的标识码格式"
|
||||
|
||||
[node name="VBoxContainer3" type="FlowContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "解析结果"
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HBoxContainer"]
|
||||
[node name="标识解析" parent="TabContainer" instance=ExtResource("7_fapjq")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "解析耗时:128ms"
|
||||
|
||||
[node name="HFlowContainer" type="GridContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 16
|
||||
theme_override_constants/v_separation = 16
|
||||
columns = 2
|
||||
|
||||
[node name="ColorRect" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect2" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect3" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect4" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect5" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect6" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect7" parent="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识解析/Container/HBoxContainer/VBoxContainer3/HFlowContainer" instance=ExtResource("3_buh0o")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
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="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/HBoxContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Button" type="Button" parent="HBoxContainer/HBoxContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "自动进行下一步"
|
||||
icon = ExtResource("2_b3djk")
|
||||
|
||||
[node name="GraphFlow" type="Node" parent="."]
|
||||
script = ExtResource("3_g5nag")
|
||||
nodes = {
|
||||
0: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/0"),
|
||||
1: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"),
|
||||
2: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2"),
|
||||
3: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/1-3"),
|
||||
4: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"),
|
||||
5: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/5"),
|
||||
6: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/6"),
|
||||
7: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/7"),
|
||||
8: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/8"),
|
||||
9: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/4-9"),
|
||||
10: NodePath("../HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/10")
|
||||
0: NodePath(""),
|
||||
1: NodePath(""),
|
||||
2: NodePath(""),
|
||||
3: NodePath(""),
|
||||
4: NodePath(""),
|
||||
5: NodePath(""),
|
||||
6: NodePath(""),
|
||||
7: NodePath(""),
|
||||
8: NodePath(""),
|
||||
9: NodePath(""),
|
||||
10: NodePath("")
|
||||
}
|
||||
|
||||
[connection signal="connection_request" from="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit" to="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit" method="RequestConnection"]
|
||||
[connection signal="pressed" from="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2/Button" to="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2/VideoStreamPlayer" method="play"]
|
||||
[connection signal="pressed" from="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2/Button2" to="HBoxContainer/HBoxContainer/VBoxContainer/TabContainer/标识注册/GraphEdit/2/VideoStreamPlayer" method="stop"]
|
||||
[connection signal="pressed" from="HBoxContainer/HBoxContainer/VBoxContainer/MarginContainer/HBoxContainer/Button" to="GraphFlow" method="EntryNext"]
|
||||
[node name="Return-Button" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 5.0
|
||||
offset_right = 129.0
|
||||
offset_bottom = 66.0
|
||||
text = "返回"
|
||||
icon = ExtResource("16_s70sy")
|
||||
expand_icon = true
|
||||
script = ExtResource("16_qcre0")
|
||||
|
||||
[node name="SearchEngine" type="Node" parent="." node_paths=PackedStringArray("nodeContainer", "searchInput", "searchButton", "quickSearchButton", "searchProgressBar", "searchLogLabel")]
|
||||
script = ExtResource("12_m0fjq")
|
||||
nodeContainer = NodePath("../TabContainer/标识解析/MarginContainer/VBoxContainer/SearchResult-Container")
|
||||
searchEntry = ExtResource("3_buh0o")
|
||||
searchInput = NodePath("../TabContainer/标识解析/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/SearchInput")
|
||||
searchButton = NodePath("../TabContainer/标识解析/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/SearchButton")
|
||||
quickSearchButton = NodePath("../TabContainer/标识解析/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/QuickSearchButton")
|
||||
searchProgressBar = NodePath("../TabContainer/标识解析/MarginContainer/VBoxContainer/SearchProgressBar")
|
||||
searchLogLabel = NodePath("../TabContainer/标识解析/SearchLogLabel")
|
||||
|
||||
[connection signal="pressed" from="Return-Button" to="Return-Button" method="Return"]
|
||||
|
||||
[editable path="教程Header"]
|
||||
[editable path="TabContainer/标识解析"]
|
||||
|
|
|
@ -0,0 +1,427 @@
|
|||
[gd_scene load_steps=7 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="Texture2D" uid="uid://dv24ghy23fnje" path="res://Artists/Art/Icons/icon_file-ppt-filled.png" id="2_ugkdr"]
|
||||
[ext_resource type="Theme" uid="uid://dokwscirps6nt" path="res://Artists/Themes/Factory_Theme.tres" id="4_gvxxh"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6ug6k"]
|
||||
bg_color = Color(0.0901961, 0.0901961, 0.0901961, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1emc7"]
|
||||
bg_color = Color(0.2167, 0.560482, 0.759032, 1)
|
||||
|
||||
[node name="标识注册" type="ColorRect"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("4_gvxxh")
|
||||
color = Color(0.121569, 0.129412, 0.145098, 1)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 64.0
|
||||
offset_top = 64.0
|
||||
offset_right = 1856.0
|
||||
offset_bottom = 1018.0
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="Control" type="Control" parent="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/Control"]
|
||||
layout_mode = 2
|
||||
offset_top = 4.0
|
||||
offset_right = 1792.0
|
||||
offset_bottom = 31.0
|
||||
text = "当前步骤"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
follow_focus = true
|
||||
vertical_scroll_mode = 0
|
||||
|
||||
[node name="HFlowContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 64
|
||||
|
||||
[node name="StepElement2" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/BaseComponent" index="0"]
|
||||
text = "注册标识"
|
||||
|
||||
[node name="Label2" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/BaseComponent" index="2"]
|
||||
text = "为温湿度传感器注册标识码"
|
||||
|
||||
[node name="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/BaseComponent" index="4"]
|
||||
bbcode_enabled = true
|
||||
text = "标识注册服务器向解析服务器发送创建标识请求来创建新的标识
|
||||
via: [url=\"https://www.aii-alliance.org/uploads/1/20220519/981fd98199f940f8d2b5dd2fb43ba97d.pdf\"]工业互联网产业联盟标准[/url]"
|
||||
|
||||
[node name="32493" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 72.0
|
||||
step = 1.0
|
||||
page = 72.0
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "标识码"
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "国家级.重庆市.厂家/你的标识"
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "88.164.143.4154/S84SF1E"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "设备名称:"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "温湿度传感器"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "设备Id
|
||||
"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "t.h.sensor_01"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator4" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer5" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer5"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "标识值数量"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer5"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "自动"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator5" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer6" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer6"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "标识值"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer6"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "自动"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator3" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer4"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "注册记录"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2/HBoxContainer4"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "registry-t.h.sensor_01-S84SF1E"
|
||||
caret_blink = true
|
||||
caret_blink_interval = 0.5
|
||||
|
||||
[node name="HSeparator6" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="注册标识" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
layout_mode = 2
|
||||
text = "注册标识"
|
||||
icon = ExtResource("2_1ml36")
|
||||
expand_icon = true
|
||||
|
||||
[node name="StepElement" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/BaseComponent" index="4"]
|
||||
text = "这里是需要安装和配置的软件"
|
||||
|
||||
[node name="32492" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 24.0
|
||||
step = 1.0
|
||||
page = 24.0
|
||||
|
||||
[node name="CheckButton" type="CheckButton" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
text = "ModbusPoll.exe"
|
||||
flat = true
|
||||
|
||||
[node name="CheckButton2" type="CheckButton" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
text = "NetAssist.exe"
|
||||
flat = true
|
||||
|
||||
[node name="CheckButton3" type="CheckButton" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
text = "UartAssist.exe"
|
||||
flat = true
|
||||
|
||||
[node name="CheckButton4" type="CheckButton" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
text = "chfs.exe"
|
||||
flat = true
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "准备好了么?"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
layout_mode = 2
|
||||
text = "打开需要使用的PPT"
|
||||
icon = ExtResource("2_ugkdr")
|
||||
expand_icon = true
|
||||
|
||||
[node name="StepElement5" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement5/BaseComponent" index="0"]
|
||||
text = "开始采集"
|
||||
|
||||
[node name="Label2" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement5/BaseComponent" index="2"]
|
||||
text = "配置好环境后开始采集"
|
||||
|
||||
[node name="32496" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement5/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 24.0
|
||||
step = 1.0
|
||||
page = 24.0
|
||||
|
||||
[node name="StepElement3" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
custom_minimum_size = Vector2(512, 512)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/BaseComponent" index="0"]
|
||||
text = "获取数据"
|
||||
|
||||
[node name="Label2" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/BaseComponent" index="2"]
|
||||
text = "已经采集到数据了"
|
||||
|
||||
[node name="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/BaseComponent" index="4"]
|
||||
text = "当前传感器数据"
|
||||
|
||||
[node name="32494" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 24.0
|
||||
step = 1.0
|
||||
page = 24.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(256, 128)
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"ColorPanel"
|
||||
|
||||
[node name="Button2" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(256, 128)
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"ColorPanel"
|
||||
|
||||
[node name="Button3" type="Button" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(256, 128)
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"ColorPanel"
|
||||
|
||||
[node name="StepElement4" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/BaseComponent" index="0"]
|
||||
text = "更新标识"
|
||||
|
||||
[node name="Label2" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/BaseComponent" index="2"]
|
||||
text = "将传感器的数据更新到解析节点"
|
||||
|
||||
[node name="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/BaseComponent" index="4"]
|
||||
text = "每隔一段时间,就会更新数据到标识"
|
||||
|
||||
[node name="32495" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 24.0
|
||||
step = 1.0
|
||||
page = 24.0
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4"]
|
||||
clip_children = 2
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_6ug6k")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_1emc7")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer/PanelContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer/PanelContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "更新数据:温度"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4/Panel/VBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "温度:256℃
|
||||
湿度:50%"
|
||||
fit_content = true
|
||||
|
||||
[node name="StepElement6" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement6/BaseComponent" index="0"]
|
||||
text = "生产模拟"
|
||||
|
||||
[node name="Label2" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement6/BaseComponent" index="2"]
|
||||
text = "数据"
|
||||
|
||||
[node name="RichTextLabel" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement6/BaseComponent" index="4"]
|
||||
text = "更改"
|
||||
|
||||
[node name="32497" type="VScrollBar" parent="VBoxContainer/ScrollContainer/HFlowContainer/StepElement6/BaseComponent/RichTextLabel" index="1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -8.0
|
||||
max_value = 24.0
|
||||
step = 1.0
|
||||
page = 24.0
|
||||
|
||||
[node name="StepElement7" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StepElement8" parent="VBoxContainer/ScrollContainer/HFlowContainer" instance=ExtResource("1_6n8rk")]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="ready" from="VBoxContainer/ScrollContainer" to="VBoxContainer/ScrollContainer" method="set_horizontal_scroll_mode" binds= [1]]
|
||||
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement2"]
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement"]
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement5"]
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement3"]
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement4"]
|
||||
[editable path="VBoxContainer/ScrollContainer/HFlowContainer/StepElement6"]
|
|
@ -0,0 +1,126 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://yxubv8dgqnpa"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://mfyhei8n50j0" path="res://Artists/Art/Icons/icon_gears.png" id="1_2ocw7"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqhcsm0j6w85j" path="res://Artists/Art/Icons/icon_material-symbols_search.png" id="2_bocj6"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdteo2b8x1rkv" path="res://Artists/Art/Icons/icon_tabler_select.png" id="3_lb8sd"]
|
||||
[ext_resource type="PackedScene" uid="uid://x86mmss5del3" path="res://Mods/CAICT/Templates/标识解析溯源元素.tscn" id="3_tao46"]
|
||||
|
||||
[node name="_标识解析" type="ColorRect"]
|
||||
clip_children = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="SearchLogLabel" type="RichTextLabel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
text = ">搜索日志"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
self_modulate = Color(0.113725, 0.113725, 0.113725, 1)
|
||||
layout_mode = 0
|
||||
offset_left = -36.0
|
||||
offset_top = 269.0
|
||||
offset_right = 638.0
|
||||
offset_bottom = 898.0
|
||||
texture = ExtResource("1_2ocw7")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_top = 64
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "工业互联网标识查询"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(512, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(512, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="SearchInput" type="LineEdit" parent="MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="SearchButton" type="Button" parent="MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(100, 32)
|
||||
layout_mode = 2
|
||||
text = "查询"
|
||||
icon = ExtResource("2_bocj6")
|
||||
expand_icon = true
|
||||
|
||||
[node name="QuickSearchButton" type="MenuButton" parent="MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
text = "快速查询"
|
||||
icon = ExtResource("3_lb8sd")
|
||||
flat = false
|
||||
expand_icon = true
|
||||
|
||||
[node name="PopupMenu" type="PopupMenu" parent="MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
item_count = 1
|
||||
item_0/text = ""
|
||||
item_0/id = 0
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "未填写则查找所有条目"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="SearchResult-Container" type="GridContainer" parent="MarginContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(512, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_constants/h_separation = 16
|
||||
theme_override_constants/v_separation = 16
|
||||
columns = 3
|
||||
|
||||
[node name="ColorRect" parent="MarginContainer/VBoxContainer/SearchResult-Container" instance=ExtResource("3_tao46")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect2" parent="MarginContainer/VBoxContainer/SearchResult-Container" instance=ExtResource("3_tao46")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect3" parent="MarginContainer/VBoxContainer/SearchResult-Container" instance=ExtResource("3_tao46")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect4" parent="MarginContainer/VBoxContainer/SearchResult-Container" instance=ExtResource("3_tao46")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect5" parent="MarginContainer/VBoxContainer/SearchResult-Container" instance=ExtResource("3_tao46")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SearchProgressBar" type="ProgressBar" parent="MarginContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(512, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
value = 50.0
|
||||
rounded = true
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=29 format=3 uid="uid://cwq2llh4vrnsg"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://cwq2llh4vrnsg"]
|
||||
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXPanel.cs" id="1_rnsr2"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1po2qljd0jh2" path="res://Mods/教育平台/教程header.tscn" id="2_136dc"]
|
||||
|
@ -15,7 +15,6 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dhws1cqlkdixm" path="res://Artists/Art/Icons/icon_folder.png" id="13_w2j7y"]
|
||||
[ext_resource type="Texture2D" uid="uid://cai2ch4k68eyi" path="res://Artists/Art/Icons/icon_folder-delete.png" id="14_7e8yu"]
|
||||
[ext_resource type="PackedScene" uid="uid://kjagucr1ngry" path="res://Artists/Templates/RectangleData.tscn" id="15_i3dfc"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkjlnpeapxmn" path="res://Artists/Art/Icons/icon_baseline-percentage.png" id="16_yil5s"]
|
||||
[ext_resource type="Texture2D" uid="uid://fkd63fjc550" path="res://Artists/Art/Icons/icon_help.png" id="17_qggt8"]
|
||||
[ext_resource type="Texture2D" uid="uid://c38luts5hc5fj" path="res://Artists/Art/Icons/Arrows/icon_chevron-left-rounded.png" id="18_l665t"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqwchhovknbro" path="res://Artists/Art/Icons/Arrows/icon_chevron-right-rounded.png" id="19_lo7qx"]
|
||||
|
@ -585,15 +584,6 @@ layout_mode = 2
|
|||
[node name="RectangleData2" parent="HBoxContainer/VBoxContainer/TabContainer2/温湿度数据采集/VBoxContainer/CenterContainer" instance=ExtResource("15_i3dfc")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" parent="HBoxContainer/VBoxContainer/TabContainer2/温湿度数据采集/VBoxContainer/CenterContainer/RectangleData2" index="0"]
|
||||
texture = ExtResource("16_yil5s")
|
||||
|
||||
[node name="Label" parent="HBoxContainer/VBoxContainer/TabContainer2/温湿度数据采集/VBoxContainer/CenterContainer/RectangleData2" index="1"]
|
||||
text = "湿度"
|
||||
|
||||
[node name="Label2" parent="HBoxContainer/VBoxContainer/TabContainer2/温湿度数据采集/VBoxContainer/CenterContainer/RectangleData2/MarginContainer" index="0"]
|
||||
text = "50.6"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1018 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b0f2b032lufnb"
|
||||
path="res://.godot/imported/ee680086375133.5d97558385c71.jpg-f30b7cfe7124b4ea2461c64e0076bf70.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Mods/教育平台/Arts/Textures/ee680086375133.5d97558385c71.jpg"
|
||||
dest_files=["res://.godot/imported/ee680086375133.5d97558385c71.jpg-f30b7cfe7124b4ea2461c64e0076bf70.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
Binary file not shown.
After Width: | Height: | Size: 452 KiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://brhl3mwa5ibbk"
|
||||
path="res://.godot/imported/holographic_city_node.jpg-6ac6802a1743110d4580539fcc2f9c82.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Mods/教育平台/Arts/Textures/holographic_city_node.jpg"
|
||||
dest_files=["res://.godot/imported/holographic_city_node.jpg-6ac6802a1743110d4580539fcc2f9c82.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -16,7 +16,12 @@ public partial class CourseElement : Node
|
|||
public string CourseName
|
||||
{
|
||||
get => _courseName;
|
||||
set=>courseLabel.Text =_courseName= value;
|
||||
set
|
||||
{
|
||||
if (courseLabel is not null)
|
||||
courseLabel.Text = _courseName = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private string _courseName;
|
||||
|
|
|
@ -0,0 +1,135 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BITKit;
|
||||
using Godot;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace BITFactory;
|
||||
|
||||
public interface ISearchEntry
|
||||
{
|
||||
string Key { get; }
|
||||
string Value { get; }
|
||||
}
|
||||
[Serializable]
|
||||
[Keyless]
|
||||
public class SearchResult:ISearchEntry
|
||||
{
|
||||
public string Key { get; set; }
|
||||
public string Value { get; set; }
|
||||
public string Display { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string RegistryRecord { get; set; }
|
||||
public DateTime UpdateDate { get; set; }
|
||||
public DateTime CreateDate { get; set; }=DateTime.Now;
|
||||
}
|
||||
|
||||
public partial class SearchEngine:Node
|
||||
{
|
||||
private static SqlLiteContext<SearchResult> Context;
|
||||
[Export] private Node nodeContainer;
|
||||
[Export] private PackedScene searchEntry;
|
||||
[Export] private LineEdit searchInput;
|
||||
[Export] private Button searchButton;
|
||||
[Export] private MenuButton quickSearchButton;
|
||||
[Export] private ProgressBar searchProgressBar;
|
||||
[Export] private RichTextLabel searchLogLabel;
|
||||
|
||||
private readonly StringBuilder _logBuilder=new StringBuilder();
|
||||
private SearchResult[] _currentSearchResults;
|
||||
public override async void _Ready()
|
||||
{
|
||||
try
|
||||
{
|
||||
QueueContainerFree();
|
||||
|
||||
await UniTask.SwitchToTaskPool();
|
||||
|
||||
Context = new SqlLiteContext<SearchResult>();
|
||||
await Context.Database.EnsureCreatedAsync();
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
BIT4Log.LogException(e);
|
||||
}
|
||||
searchButton.Pressed+= Search;
|
||||
searchInput.TextSubmitted += Search;
|
||||
quickSearchButton.Pressed+= QuickSearch;
|
||||
quickSearchButton.GetPopup().AllowSearch = true;
|
||||
|
||||
quickSearchButton.GetPopup().IdPressed += OnPressedIndex;
|
||||
|
||||
searchProgressBar.Hide();
|
||||
}
|
||||
private void Search()
|
||||
{
|
||||
Search(searchInput.Text);
|
||||
}
|
||||
|
||||
private async void Search(string key)
|
||||
{
|
||||
_logBuilder.AppendLine("正在释放");
|
||||
QueueContainerFree();
|
||||
searchProgressBar.Show();
|
||||
var list = await Context.context.ToListAsync();
|
||||
Spawn(string.IsNullOrEmpty(key) ? list : list.Where(x => x.Key.Contains(key)));
|
||||
_logBuilder.AppendLine($"已获取到集合");
|
||||
_logBuilder.AppendLine($"{string.Join("\n",list)}");
|
||||
searchProgressBar.Hide();
|
||||
//searchLogLabel.Text = _logBuilder.ToString();
|
||||
}
|
||||
|
||||
private void QuickSearch()
|
||||
{
|
||||
quickSearchButton.GetPopup().Clear();
|
||||
var enumerable = Context.context.Distinct((x,y)=>x.Key == y.Key);
|
||||
var searchResults = enumerable as SearchResult[] ?? enumerable.ToArray();
|
||||
_currentSearchResults = searchResults;
|
||||
for (var i = 0; i < searchResults.Length; i++)
|
||||
{
|
||||
var index = i;
|
||||
var element = searchResults[i];
|
||||
quickSearchButton.GetPopup().AddItem(element.Key);
|
||||
// quickSearchButton.GetPopup().IdPressed = id =>
|
||||
// {
|
||||
// var entry = searchResults[index];
|
||||
// searchInput.Text = entry.Key;
|
||||
// Search(entry.Key);
|
||||
// };
|
||||
}
|
||||
}
|
||||
private void OnPressedIndex(long index)
|
||||
{
|
||||
var entry = _currentSearchResults[index];
|
||||
searchInput.Text = entry.Key;
|
||||
Search(entry.Key);
|
||||
}
|
||||
|
||||
private void Spawn(IEnumerable<SearchResult> entries)
|
||||
{
|
||||
foreach (var entry in entries)
|
||||
{
|
||||
var instance = searchEntry.Instantiate<UXContainer>();
|
||||
nodeContainer.AddChild(instance);
|
||||
|
||||
instance.titleLabel.Text = entry.Display ?? entry.Id ?? entry.Key;
|
||||
instance.Text = entry.Value;
|
||||
}
|
||||
}
|
||||
|
||||
private void QueueContainerFree()
|
||||
{
|
||||
foreach (var x in nodeContainer.GetChildren())
|
||||
{
|
||||
x.QueueFree();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dwdlewpjrt8pf"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dwdlewpjrt8pf"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://k3xy782w6pa0" path="res://BITKit/Art/Shapes/icon_squad_rounded-4px.png" id="1_3jo82"]
|
||||
[ext_resource type="Script" path="res://Mods/教育平台/Scripts/CourseElement.cs" id="2_bgpgb"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqyvxwbejuica" path="res://Mods/工业数据采集与分析应用分享/Arts/Images/工业互联网标识解析.jpg" id="3_bknr3"]
|
||||
[ext_resource type="Theme" uid="uid://dokwscirps6nt" path="res://Artists/Themes/Factory_Theme.tres" id="4_l51y6"]
|
||||
|
||||
[node name="NinePatchRect" type="NinePatchRect" node_paths=PackedStringArray("courseLabel", "entryButton")]
|
||||
self_modulate = Color(0, 0, 0, 0.784314)
|
||||
|
@ -169,6 +170,8 @@ layout_mode = 2
|
|||
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer/MarginContainer/VBoxContainer2"]
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_l51y6")
|
||||
theme_type_variation = &"Accent"
|
||||
text = "开始"
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/VBoxContainer2"]
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXServiceProxy.cs" id="2_qbyqo"]
|
||||
|
||||
[node name="教程Header" type="ColorRect"]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
color = Color(0.117647, 0.117647, 0.117647, 1)
|
||||
clip_children = 2
|
||||
custom_minimum_size = Vector2(1024, 100)
|
||||
color = Color(0.121569, 0.129412, 0.145098, 1)
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
|
@ -28,13 +29,14 @@ layout_mode = 1
|
|||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 43.0
|
||||
offset_top = -33.0
|
||||
offset_right = 143.0
|
||||
offset_left = 37.0
|
||||
offset_top = -31.0
|
||||
offset_right = 165.0
|
||||
offset_bottom = 33.0
|
||||
grow_vertical = 2
|
||||
text = "返回"
|
||||
icon = ExtResource("1_mns52")
|
||||
expand_icon = true
|
||||
script = ExtResource("2_qbyqo")
|
||||
|
||||
[connection signal="pressed" from="Button" to="Button" method="Return"]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://bu5w3n4me3xj2"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://bu5w3n4me3xj2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://6dpw3hl2gu10" path="res://Mods/工业数据采集与分析应用分享/Arts/Illustrations/Illustration_ABB_Rotbotic_Arm_Rendering_DWADWFF.jpg" id="1_uwo3j"]
|
||||
[ext_resource type="PackedScene" uid="uid://dwdlewpjrt8pf" path="res://Mods/教育平台/Templates/选择课程.tscn" id="2_rvvu8"]
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXPanel.cs" id="2_vgo47"]
|
||||
[ext_resource type="Theme" uid="uid://dokwscirps6nt" path="res://Artists/Themes/Factory_Theme.tres" id="3_t8g27"]
|
||||
[ext_resource type="Texture2D" uid="uid://be1o87ilc237s" path="res://Artists/Art/Logos/logo-intelli.png" id="3_wkkwb"]
|
||||
[ext_resource type="PackedScene" uid="uid://cwq2llh4vrnsg" path="res://Mods/工业数据采集与分析应用分享/温湿度数据采集.tscn" id="5_2s7gj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbbq18cuoubm3" path="res://Mods/工业数据采集与分析应用分享/Arts/Images/实战-温湿度数据采集.jpg" id="5_5ul10"]
|
||||
|
@ -39,36 +40,27 @@ isStartPanel = true
|
|||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UXPanel/ColorRect"]
|
||||
[node name="TabBar" type="TabBar" parent="UXPanel/ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -256.0
|
||||
offset_right = 256.0
|
||||
offset_bottom = 100.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TabBar" type="TabBar" parent="UXPanel/ColorRect/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("3_t8g27")
|
||||
tab_alignment = 1
|
||||
clip_tabs = false
|
||||
tab_count = 3
|
||||
tab_0/title = "教程与实训"
|
||||
tab_1/title = "知识点"
|
||||
tab_2/title = "设置"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="UXPanel/ColorRect"]
|
||||
layout_mode = 0
|
||||
offset_left = 32.0
|
||||
offset_right = 211.0
|
||||
offset_bottom = 100.0
|
||||
texture = ExtResource("3_wkkwb")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UXPanel/ColorRect"]
|
||||
layout_mode = 0
|
||||
offset_left = 228.0
|
||||
offset_right = 692.0
|
||||
offset_left = 189.0
|
||||
offset_right = 737.0
|
||||
offset_bottom = 100.0
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
@ -84,10 +76,28 @@ vertical_alignment = 1
|
|||
|
||||
[node name="Label2" type="Label" parent="UXPanel/ColorRect/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"HeaderMedium"
|
||||
theme = ExtResource("3_t8g27")
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
text = "Virtual Simulation Training Course System"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="UXPanel/ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 9
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 189.0
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="UXPanel/ColorRect/MarginContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("3_wkkwb")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="ReferenceRect" type="MarginContainer" parent="UXPanel"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<ProjectReference Include="..\BITKit\BITKit.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.19" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.19" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="6.0.19" />
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0-preview.4.23259.5" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0-preview.4.23259.5" />
|
||||
<PackageReference Include="UniTask" Version="2.3.3" />
|
||||
|
|
|
@ -4,8 +4,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iFactory", "iFactory.csproj
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BITKit", "..\BITKit\BITKit.csproj", "{81C8377E-1A22-488B-A1F5-1CA61C70C0F1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RosBridgeClient", "..\AGV_System\Vol.Net6\RosBridgeClient\RosBridgeClient.csproj", "{D00A3B38-295F-4C0B-933A-12620142284F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -25,11 +23,5 @@ Global
|
|||
{81C8377E-1A22-488B-A1F5-1CA61C70C0F1}.ExportDebug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{81C8377E-1A22-488B-A1F5-1CA61C70C0F1}.ExportRelease|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{81C8377E-1A22-488B-A1F5-1CA61C70C0F1}.ExportRelease|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.ExportDebug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.ExportDebug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.ExportRelease|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D00A3B38-295F-4C0B-933A-12620142284F}.ExportRelease|Any CPU.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -49,7 +49,7 @@ import/fbx/enabled=false
|
|||
|
||||
[gui]
|
||||
|
||||
theme/custom="res://Mods/MinimalUI/MinimalUI.tres"
|
||||
theme/custom="res://Artists/Themes/Factory_Theme.tres"
|
||||
|
||||
[input]
|
||||
|
||||
|
|
Loading…
Reference in New Issue