Новый клиент от ФС
This commit is contained in:
@@ -178,7 +178,7 @@ class ClientFs extends Node:
|
||||
|
||||
func send_fs_data() -> bool:
|
||||
if _status != _stream.STATUS_CONNECTED:
|
||||
print("Error: Stream is not currently connected.")
|
||||
print("Send_fs_data Error: Stream is not currently connected.")
|
||||
return false
|
||||
|
||||
var error: int = _stream.put_data(command_stack.pop_front())
|
||||
@@ -208,7 +208,7 @@ class ClientFs extends Node:
|
||||
send_packet_to(packet)
|
||||
|
||||
## Constant модуляция
|
||||
func set_configure_state_msk_const_1():
|
||||
func set_configure_state_msk_const():
|
||||
var index_size = 0x20
|
||||
var packet = _form_packet(GROUP.GENERATOR, CmdCode.SET_CONFIGURE, index_size, counter)
|
||||
packet.encode_u8(0x3, 0x09)
|
||||
@@ -244,7 +244,7 @@ class ClientFs extends Node:
|
||||
packet.encode_float(0x18, attenuation)
|
||||
send_packet_to(packet)
|
||||
|
||||
func set_base_can_macro(installation_can_frequency: int, ):
|
||||
func set_base_can_macro(installation_can_frequency: int):
|
||||
var index_size = 0x34
|
||||
var packet = _form_packet(GROUP.BASE, CmdCode.BASE_CAN_MACRO_WRITE, index_size, counter)
|
||||
packet.encode_u16(0x08, 0x28)
|
||||
|
||||
Reference in New Issue
Block a user