при написании ТУ
This commit is contained in:
@@ -54,6 +54,7 @@ func _ready() -> void:
|
||||
node_select_yau_07b.set_node_text(0, 3, 'Положение луча')
|
||||
node_select_yau_07b.set_node_text(0, 4, 'Аттенюатор УМ')
|
||||
node_select_yau_07b.set_node_text(0, 6, 'СИ 2 в УФ')
|
||||
node_select_yau_07b.set_node_text(0, 7, 'СЗИ 2 от УФ')
|
||||
|
||||
var node_select_yau_07b_2 = $TabContainer/PRD/body_grid/litera_3_5_7/yau07b_control
|
||||
draw_tabl(node_select_yau_07b_2, Constants.ROWS_YAU_07B_2, Constants.ROWS_YAU_07B_2.size())
|
||||
@@ -66,6 +67,7 @@ func _ready() -> void:
|
||||
node_select_yau_07b_2.set_node_text(0, 4, 'Аттенюатор УМ')
|
||||
node_select_yau_07b_2.set_node_text(0, 5, 'ФГОЗ 3')
|
||||
node_select_yau_07b_2.set_node_text(0, 6, 'СИ 3 в УФ')
|
||||
node_select_yau_07b_2.set_node_text(0, 7, 'СЗИ 3 от УФ')
|
||||
|
||||
#Таблица ФС
|
||||
var node_select_fs_1 = $TabContainer/PRD/body_grid/litera_2_4_6/fs_control
|
||||
|
||||
@@ -29,6 +29,7 @@ const ROWS_YAU_07B_1: Array = [
|
||||
[TableNode, TableList],
|
||||
[TableNode, TableList],
|
||||
[TableNode, TableNode],
|
||||
[TableNode, SocketStatus],
|
||||
[TableNode, SocketStatus]]
|
||||
const ROWS_YAU_07B_2: Array = [
|
||||
[Header, Header],
|
||||
@@ -37,6 +38,7 @@ const ROWS_YAU_07B_2: Array = [
|
||||
[TableNode, TableList],
|
||||
[TableNode, TableList],
|
||||
[TableNode, Switch],
|
||||
[TableNode, SocketStatus],
|
||||
[TableNode, SocketStatus]]
|
||||
const ROWS_FS: Array = [
|
||||
[Header, Header, Header],
|
||||
|
||||
@@ -101,14 +101,14 @@ func _status_prd():
|
||||
$lbl_control.text = 'Прибор исправен'
|
||||
$lbl_control.modulate = Color.AQUAMARINE
|
||||
else:
|
||||
$lbl_control.text = 'Прибор не исправен'
|
||||
$lbl_control.text = 'Прибор неисправен'
|
||||
$lbl_control.modulate = Color.CRIMSON
|
||||
else:
|
||||
if (status == count_cell-2):
|
||||
$lbl_control.text = 'Прибор исправен'
|
||||
$lbl_control.modulate = Color.AQUAMARINE
|
||||
else:
|
||||
$lbl_control.text = 'Прибор не исправен'
|
||||
$lbl_control.text = 'Прибор неисправен'
|
||||
$lbl_control.modulate = Color.CRIMSON
|
||||
|
||||
|
||||
|
||||
@@ -140,9 +140,12 @@ func process_sockets_vert(blank: int, imp: int, count: int, col: int, parent_nod
|
||||
set_frame(socket_status, frame_type)
|
||||
|
||||
if i == 1: # СЗИ_2_от_УФ
|
||||
pass
|
||||
# $TabContainer /PRD /body_grid/litera_2_4_6/yau07b_control
|
||||
var CZI_2_FS = parent_node2.get_child(3).get_child(0).get_child(0).get_child(0).get_child(2).get_node2(1, 7).get_child(1)
|
||||
set_frame(CZI_2_FS, frame_type)
|
||||
if i == 2: # СЗИ_3_от_УФ
|
||||
pass
|
||||
var CZI_3_FS = parent_node2.get_child(3).get_child(0).get_child(0).get_child(1).get_child(2).get_node2(1, 7).get_child(1)
|
||||
set_frame(CZI_3_FS, frame_type)
|
||||
if i == 9: # СИ_2_от_ФС
|
||||
var CI_2_FS = parent_node2.get_child(3).get_child(0).get_child(0).get_child(0).get_child(0).get_node2(1, 6).get_child(1)
|
||||
set_frame(CI_2_FS, frame_type)
|
||||
|
||||
Reference in New Issue
Block a user