⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emenus.mnu

📁 SECS I, SECS II协议通讯源码
💻 MNU
📖 第 1 页 / 共 2 页
字号:
     [ tx_BTpw10, 9, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw11, 10, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw12, 11, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw13, 12, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw14, 13, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw15, 14, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw16, 15, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw17, 16, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw18, 17, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw19, 18, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw20, 19, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw21, 20, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw22, 21, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw23, 22, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw24, 23, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw25, 24, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw26, 25, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw27, 26, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw28, 27, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw29, 28, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw30, 29, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw31, 30, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw32, 31, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw33, 32, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw34, 33, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw35, 34, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw36, 35, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw37, 36, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw38, 37, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw39, 38, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw40, 39, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw41, 40, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_passbutton, null, null, null]
     [ tx_BTpw42, 41, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_LASTITEM + MNF_NOPASSET, rn_passbutton, null, null, null]
}
MENUREC mnr_Password {
 [ mn_Password, bt_Password, 0, 6, 10,
			PasswordInit, PasswordHandle, PasswordPaint ]
}
MENUREC mnr_Passchng {
 [ mn_Password, bt_Password, 0, 6, 10,
			PasschngInit, PasschngHandle, PasschngPaint ]
}
MENUREC mnr_Coname {
 [ mn_Password, bt_Password, 0, 6, 10,
			ConameInit, ConameHandle, ConamePaint ]
}
MENUREC mnr_Save { [ mn_Password, bt_Password, 0, 6, 10,
			SaveInit, SaveHandle, SavePaint ]
}

MENU mn_Color {
    [ tx_BTExit, CB_EXIT, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_colorbutton, null, null, null ]
    [ tx_BTSave, CB_SAVE, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_colorbutton, null, null, null ]
    [ tx_BTDefault, CB_USEDEFAULTS, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_colorbutton, null, null, null ]
    [ tx_BTOld, CB_USEOLD, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_NOPASSET, rn_colorbutton, null, null, null ]
; RGB color bar buttons
    [ null, 0, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 1, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 2, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 3, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 4, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 5, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 6, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 7, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 8, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 9, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 10, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 11, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 12, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 13, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 14, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 15, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
; RGB modify fields
    [ null, 16, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 17, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 18, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 19, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 20, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 21, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 22, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 23, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 24, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 25, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 26, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET, null, null, null, null ]
    [ null, 27, VM_BLINK, AM_BEEP, 0, MNP_FLOAT, MNF_INVISIBLE + MNF_NOPASSET + MNF_LASTITEM, null, null, null, null ]
}
MENUREC mnr_Color {
 [ mn_Color, bt_Color, 0, 32, 24, ColorInit, ColorHandle, ColorPaint ]
}
PBREC secsr_discard {
 [ discarding_duplicates,  discarding_duplicates ]
}
PREREC secsr_establish {
 [ secspre_establish, null,secsdef_establish, null, 0.0, 120.0 ]
}
PREREC secsr_interblock {
 [ secspre_interblock, null,secsdef_interblock, null, 0.0, 120.0  ]
}
PREREC secsr_reply {
 [ secspre_reply, null,secsdef_reply, null, 0.0, 120.0 ]
}
PREREC secsr_interchar {
 [ secspre_interchar, null,secsdef_interchar, null, 0.5, 10.0 ]
}
PREREC secsr_protocol {
 [ secspre_protocol, null,secsdef_protocol, null, 0.2, 25.0]
}
PREREC secsr_retries {
 [ secspre_retries, null,secsdef_retries, null, 0.0, 31.0 ]
}
PREREC secsr_devid {
 [ secspre_devid, null,secsdef_devid, null, 0.0, 32767.0 ]
}
MENU mn_Secs {
	 [ tx_BTStatusDisplay, 0, VM_MENU, AM_BEEP, 0, MNP_FLOAT, 0, rn_status, null, null, mnr_StatusDisplay]
	 [ tx_BTMenuBack, 0, VM_EXITMENU, AM_BEEP, 0, MNP_FLOAT, 0, rn_backmenu, null, null, null]
	 [ tx_SXDiscard, 0, VM_PB, AM_BEEP, 0, MNP_FLOAT, 0, pbRends, null, null, secsr_discard ]
	 [ tx_SXEstablishTO, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_establish ]
	 [ tx_SXInterblockTO, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_interblock ]
	 [ tx_SXReplyTO, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_reply ]
	 [ tx_SXIntercharTO, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_interchar ]
	 [ tx_SXProtocolTO, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_protocol ]
	 [ tx_SXRetries, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_retries ]
	 [ tx_SXDeviceID, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, Secs2SyncPresets, null, secsr_devid ]
	 [ tx_SXBaudRate, 0, VM_MODIFY, AM_BEEP, 0, MNP_FLOAT, MNF_LASTITEM, rn_modify, null, null, secspre_baud ]
}
MENUREC mnr_Secs {
 [ mn_Secs, bt_Main, 11, 0, 0, null, null, null]
}

MODREC buzzer_exist_states { [ 0, 4 ]}
MODREC buzzer_unack_states { [ 0, 4 ]}

FLOAT buzzer_exist_default { 5.0}
FLOAT buzzer_unack_default { 5.0 }

PREREC existpre {
 [ buzzer_exist_time, null, buzzer_exist_default, null, 0.0, 100000.0 ]
}
PREREC unackpre {
 [ buzzer_unack_time, null, buzzer_unack_default, null, 0.0, 100000.0 ]
}

PBREC passetpb {
 [ setting_password_levels, setting_password_levels ]
}

MENU mn_AuxParams {
	 [ tx_BTStatusDisplay, 0, VM_MENU, AM_BEEP, 0, MNP_FLOAT, 0, rn_status, null, null, mnr_StatusDisplay]
	 [ tx_BTMenuBack, 0, VM_EXITMENU, AM_BEEP, 0, MNP_FLOAT, 0, rn_backmenu, null, null, null]
	 [ tx_BTMainMenu, 0, VM_MAINMENU, AM_BEEP, 0, MNP_FLOAT, 0, rn_mainmenu, null, null, null]
	 [ tx_BTAlarmExist, 0, VM_MODIFY, AM_BEEP, 0, MNP_FLOAT, 0, rn_modify, BuzzerSetmode, null, buzzer_exist_states]
	 [ tx_BTAlarmUnack, 0, VM_MODIFY, AM_BEEP, 0, MNP_FLOAT, 0, rn_modify, BuzzerSetmode, null, buzzer_unack_states]
	 [ tx_BTAlarmExistTimer, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, BuzzerSetmode, null, existpre]
	 [ tx_BTAlarmUnackTimer, 0, VM_PRESET, AM_BEEP, 0, MNP_FLOAT, 0, rn_preset, BuzzerSetmode, null, unackpre]
	 [ tx_BTSetPasswordLevels, 0, VM_SETPASS, AM_BEEP, 0, 7, 0, pbRends, null, null, passetpb]
	 [ tx_BTChangeColors, 0, VM_MENU, AM_BEEP, 0, MNP_FLOAT, MNF_LASTITEM, rn_paslvl, null, null, mnr_Color ]
}
MENUREC mnr_AuxParams { [ mn_AuxParams, bt_Main, 11, 0, 0 , null, null, null]}
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -