?? jjf24b.h
字號:
#define NEW_DAYTOTAL_ADDR 0xa200 // 日分項合計起始地址
#define NEW_BILLS_ADDR 0xa500 // 通話記錄起始地址
#define NEW_BILL_LEN 30 // 通話記錄長度
#define NEW_TEST_PA 0x00
#define NEW_TEST_NE 0x0a
#define NEW_DAYTOTAL_PA 0x05
#define NEW_DAYTOTAL_NE 0x32
#define NEW_POWERONOFF_PA 0x03
#define NEW_POWERONOFF_NE 0x00
#define NEW_QUERYBILL_PA 0x00
#define NEW_QUERYBILL_NE 0x08
#define NEW_SYSTEM_LIMIT 0x7f
#define NEW_EXPAND_LIMIT 0x7f
#define NEW_TEST_LIMIT 0x7f
#define NEW_CALLSTATION_LIMIT 0x300
#define NEW_MANAGEMENT_LIMIT 0x400
#define NEW_DISCOUNT_LIMIT 0xb00
#define NEW_IDD_TARIFF_LIMIT 0x2000
#define NEW_DDD_TARIFF_LIMIT 0x2000
#define NEW_LOCAL_TARIFF_LIMIT 0x2000
#define NEW_IDD_CLASS_LIMIT 0x1000
#define NEW_DDD_CLASS_LIMIT 0x1000
#define NEW_LOCAL_CLASS_LIMIT 0x1000
//
// 新費率表內地址部參數地址常量定義:
//
#define PARA_00 0x0000 // 動態密碼
#define PARA_01 0x0006 // 呼出限制密碼
#define PARA_02 0x000E
#define PARA_03 0x0016
#define PARA_04 0x0017
#define PARA_05 0x0018
#define PARA_06 0x0019
#define PARA_07 0x001A
#define PARA_08 0x001B
#define PARA_09 0x001C
#define PARA_10 0x001D
#define PARA_11 0x001E
#define PARA_12 0x001F
#define PARA_13 0x0020
#define PARA_14 0x0021
#define PARA_15 0x0022
#define PARA_16 0x0023
#define PARA_17 0x0024
#define PARA_18 0x0025
#define PARA_19 0x0026
#define PARA_20 0x0027
#define PARA_21 0x0028
#define PARA_22 0x002E
#define PARA_23 0x0034
#define PARA_24 0x0036
#define PARA_25 0x0038
#define PARA_26 0x003A
#define PARA_27 0x003C
#define PARA_28 0x003E
#define PARA_29 0x0040
//
// 應用程序檢驗和存儲地址:
#define PROGRAM_CHECKSUM_ADDR 0x007e
//
// 擴充參數:
//
#define PARA_30 0x0080
#define PARA_31 0x0082
#define PARA_32 0x0084
#define PARA_33 0x0086
#define PARA_34 0x0088
#define PARA_35 0x0089
#define PARA_36 0x008b
#define PARA_37 0x008c
#define PARA_38 0x008d
#define PARA_39 0x008e
#define PARA_40 0x008f
#define PARA_41 0x0090
#define PARA_42 0x0091
#define PARA_43 0x0092
#define PARA_44 0x0093
#define PARA_45 0x0094
#define PARA_46 0x0095
//
#define PARA_47 0x00b0
#define PARA_48 0x00b1
#define PARA_49 0x0098
#define PARA_50 0x0099
#define PARA_51 0x00a3
#define PARA_52 0x00a4 // 644發送增益
#define PARA_53 0x00a5 // 644接收增益
#define PARA_54 0x00a6 // 644均衡
#define PARA_55 0x00a7 // 被叫并模擬負載控制
#define PARA_56 0x00a8 //
#define PARA_57 0x00aa //
//
// 12887內部RAM參數:
//
#define PARA_59 0xc049
#define PARA_60 0xC00E
#define PARA_61 0xC010
#define PARA_62 0xC013
#define PARA_63 0xC015
#define PARA_64 0xC017
#define PARA_65 0xC019
#define PARA_66 0xC01B
#define PARA_67 0xC01E
#define PARA_68 0xC020
#define PARA_69 0xC022
#define PARA_70 0xC024
#define PARA_71 0xC025
#define PARA_72 0xC026
#define PARA_73 0xC027
#define PARA_74 0xC028
#define PARA_75 0xC02a
#define PARA_76 0xc03f
#define PARA_77 0xC040
#define PARA_78 0xc041
#define ClassIDDAddress 0xc068
#define ClassDDDAddress 0xc06d
#define ClassLOCALAddress 0xc072
#define TodayIDDAddress 0xc059
#define TodayDDDAddress 0xc05e
#define TodayLOCALAddress 0xc063
#define MonthIDDAddress 0xc04a
#define MonthDDDAddress 0xc04f
#define MonthLOCALAddress 0xc054
#define DateAddress 0xc077
#define StartTimeAddress 0xc07a
#define EndTimeAddress 0xc07d
//
// 測試參數:
//
#define PARA_90 0x0180
#define PARA_91 0x0181
#define PARA_92 0x0182
#define PARA_93 0x0183
#define PARA_94 0x0184
#define PARA_95 0x0185
#define PARA_96 0x0186
#define PARA_97 0x0187
#define PARA_98 0x0188
#define PARA_99 0x0189
//
// 重要參數長度:
//
#define PARA_100 0x0120
#define PARA_101 0x0122
#define PARA_102 0x0124
#define PARA_103 0x0126
#define PARA_104 0x0128
#define PARA_105 0x012A
#define PARA_106 0x012C
#define PARA_107 0x012E
#define PARA_108 0x0130
#define PARA_109 0x0132
//
#define PARA_START 0xfc00
#define PARA_END 0xff32
#define DISP_CODE_ADDR 0xc000
#define DISP_CODE_END 0xc070
//
// 老費率表內地址部參數地址常量定義:
#define PARA_200 0xebb8
#define PARA_201 0xebbc
#define PARA_202 0xebc0
#define PARA_203 0xebc4
#define PARA_204 0xebc4
#define PARA_205 0xebc5
#define PARA_206 0xebc6
#define PARA_207 0xebc7
#define PARA_208 0xebc8
#define PARA_209 0xebc9
#define PARA_210 0xebca
#define PARA_211 0xebce
#define PARA_212 0xebcf
#define PARA_213 0xebd0
#define PARA_214 0xebd8
#define PARA_215 0xebdc
#define PARA_216 0xebe1
#define PARA_217 0xebe6
#define PARA_218 0xebeb
#define PARA_219 0xebf0
#define PARA_220 0xebf5
#define PARA_221 0xebfa
#define PARA_222 0xec00
#define PARA_223 0xec01
#define PARA_224 0xec02
#define PARA_225 0xec03
#define PARA_226 0xec04
#define PARA_227 0xec05
#define PARA_228 0xec06
#define PARA_229 0xec07
#define PARA_230 0xec08
#define PARA_231 0xec09
#define PARA_232 0xec0a
#define PARA_233 0xec0d
//
// 出錯代碼定義:
//
#define ERR_00 0x00 // 撥號無應答
#define ERR_01 0x01 // 沒有載波
#define ERR_02 0x02 // 超時錯
#define ERR_03 0x03 // 密碼錯
#define ERR_04 0x04 // 數據校驗錯
#define ERR_05 0x05 // 命令格式錯
#define ERR_06 0x06 // 本機密碼錯
#define ERR_07 0x07 // 命令超時錯
#define ERR_08 0x08 // 命令校驗錯
#define ERR_10 0x10 // 系統參數錯
#define ERR_11 0x11 // 折扣參數錯
#define ERR_12 0x12 // 禁撥號碼錯
#define ERR_13 0x13 // IDD級數表錯
#define ERR_14 0x14 // DDD級數表錯
#define ERR_15 0x15 // LOCAL級數表錯
#define ERR_16 0x16 // IDD區號表錯
#define ERR_17 0x17 // DDD區號表錯
#define ERR_18 0x18 // LOCAL區號表錯
#define ERR_19 0x19 // 時鐘錯
#define ERR_20 0x20 // 線路接反
#define ERR_21 0x21 // 系統無本用戶
#define ERR_22 0x22 // FLASH被寫壞
#define ERR_23 0x23 // 下載程序校驗和錯
#define ERR_24 0x24 // 發送超時
#define ERR_25 0x25 // 程序校驗錯
#define ERR_31 0x31 // 模式命令錯
#define ERR_32 0x32 // 系統模式錯
#define ERR_33 0x33 // 異常命令
#define ERR_34 0x34 // 下載版本不匹配
#define ERR_35 0x35 // 收不到聯絡命令
#define ERR_99 0x99 // 重大錯誤
#define KEY_EXIT 0xC0
#define ERR_NO 0xCC // 無錯誤
#define LARGE_PHONE 1 // 顯示掛機
#define LARGE_UNPHONE 2 // 不顯示掛機
#define LARGE_HOOK 3 // 顯示摘機
#define LARGE_UNHOOK 4 // 不顯示摘機
#define LARGE_FLASH 5 // 顯示胡須
#define LARGE_UNFLASH 6 // 不顯示胡須
#define LARGE_LOCK 7 // 顯示鎖機
#define LARGE_UNLOCK 8 // 不顯示鎖機
#define SMALL_COMM 9 // 顯示通信
#define SMALL_UNCOMM 10 // 不顯示通信
#define SMALL_HALFPRICE 11 // 顯示SMALL-LCD半價
#define SMALL_ALLPRICE 12 // 顯示SMALL-LCD全價
#define LARGE_HALFPRICE 13 // 顯示LARGE-LCD半價
#define LARGE_ALLPRICE 14 // 顯示LARGE-LCD全價
#define LARGE_COMM 15 // 顯示通信
#define LARGE_UNCOMM 16 // 不顯示通信
#define LargeLcd 1
#define SmallLcd 0
#define OK 0x01
#define EQ 0x02
#define ERR_CS 0x03
#define ERR_PW 0x04
#define END 0x05
#define FD 0x80
#define MD_CS 0x40
#define POWER_ON 0x20
#define MLD 0x10
#define SELECT 0x08
#define STB 0x04
#define RLY 0x02
#define COM_DATA 0x01
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -