add read status ems g
This commit is contained in:
@@ -7,6 +7,7 @@ const DEFAULT_PORT: String = '50011'
|
||||
const CONST_MIN_TEMP: int = -25
|
||||
const MAXIMUM_CODE_ADC: int = 3796
|
||||
const MINIMUM_CODE_AD: int = 2660
|
||||
const EMS_G_BASE_ADDR: int = 0x120
|
||||
const TEMP: float = 115.0 / (MAXIMUM_CODE_ADC - MINIMUM_CODE_AD)
|
||||
const TableNode = preload("res://table/node.tscn")
|
||||
const TableList = preload("res://table/node_list.tscn")
|
||||
@@ -61,7 +62,7 @@ var CONTROL_POWER_SUPPLY: Array = [
|
||||
['ИП9-50 №3', 'ОШИБКА. КОНТРОЛЬ ИП9-50 №3'],
|
||||
['ИП12-50 №2', 'ОШИБКА. КОНТРОЛЬ ИП12-50 №2'],
|
||||
['ИП5-25', 'ОШИБКА. КОНТРОЛЬ ИП5-25']]
|
||||
const EMS_G: Array = [
|
||||
const EMS_G_CONTROL_PANEL: Array = [
|
||||
['Нет Х3:2(СЗИ2 от УФ)', 'Есть Х3:2(СЗИ2 от УФ)'],
|
||||
['Нет Х3:19(СИ2 от ФС)', 'Есть Х3:19(СИ2 от ФС)'],
|
||||
['Нет Х3:11(СИ2 в УФ)', 'Есть Х3:11(СИ2 в УФ)'],
|
||||
@@ -101,7 +102,7 @@ const OUT_EMS_G: Array = [
|
||||
[60, '31 :47'],
|
||||
[61, '32 :48'],
|
||||
[62, '33 :49']]
|
||||
const OUT_x128 = [
|
||||
const OUT_x128: Array = [
|
||||
'Р',
|
||||
'К',
|
||||
'0',
|
||||
@@ -138,3 +139,5 @@ enum STATE {
|
||||
WRITE_ISA,
|
||||
DONE,
|
||||
}
|
||||
|
||||
var EMS_G_PORT_DATA_HOLDER: Array = []
|
||||
|
||||
Reference in New Issue
Block a user