Чистка, удалён закоментаренный код в yems-board.gd
This commit is contained in:
@@ -15,7 +15,7 @@ from threading import Timer
|
||||
import logger
|
||||
from pymodbus.client.sync import ModbusSerialClient
|
||||
|
||||
DEF_SERIAL = 'COM1' if os.name == 'nt' else '/dev/tty0'
|
||||
DEF_SERIAL = 'COM3' if os.name == 'nt' else '/dev/tty0'
|
||||
log_file_dir = os.path.join(os.path.expanduser('~'))
|
||||
log = logger.get_logger(__file__, log_file_dir)
|
||||
EXCEPT_MSGS = {
|
||||
|
||||
@@ -41,15 +41,15 @@ extends Sprite2D
|
||||
get: return material.get('shader_parameter/rotation')
|
||||
"
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="6"]
|
||||
[sub_resource type="StyleBoxEmpty" id="4"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="5"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="2"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="3"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="5"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="4"]
|
||||
[sub_resource type="StyleBoxEmpty" id="6"]
|
||||
|
||||
[node name="container" type="PanelContainer"]
|
||||
offset_right = 20.0
|
||||
@@ -79,11 +79,11 @@ axis_stretch_vertical = 2
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/outline_size = 4
|
||||
theme_override_styles/normal = SubResource("6")
|
||||
theme_override_styles/focus = SubResource("4")
|
||||
theme_override_styles/disabled = SubResource("5")
|
||||
theme_override_styles/hover = SubResource("2")
|
||||
theme_override_styles/pressed = SubResource("3")
|
||||
theme_override_styles/disabled = SubResource("5")
|
||||
theme_override_styles/focus = SubResource("4")
|
||||
theme_override_styles/normal = SubResource("6")
|
||||
toggle_mode = true
|
||||
clip_text = true
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ offset_right = 1106.0
|
||||
offset_bottom = 1170.0
|
||||
tooltip_text = "Кнопки выбора типа помехи"
|
||||
mouse_filter = 0
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")]
|
||||
layout_mode = 0
|
||||
|
||||
@@ -147,8 +147,6 @@ class EmsBoard:
|
||||
elif (state_cmd == WRITE_FLASH) and (unit_ems.cmd_code_rx == unit_ems.CmdCode.WRITE_FLASH_MP550):
|
||||
state_board = WAIT
|
||||
state_cmd = WAIT
|
||||
#load_flash()
|
||||
#emit_signal('write_msg', 'Произведена запись в ПЗУ ячейки ЯУ-07')
|
||||
|
||||
# Выбор текущего устройства и проверка правильности его номера
|
||||
func check_dev_number():
|
||||
@@ -264,4 +262,3 @@ class EmsBoard:
|
||||
else: continue
|
||||
if ports.has('%d'%(base_addr_isa + 10)):
|
||||
cur_dev.ports_data[base_addr_isa + 10] = int(ports['%d'%(base_addr_isa + 10)])
|
||||
else: continue
|
||||
|
||||
Reference in New Issue
Block a user