Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

351 lines
16 KiB

  1. /*
  2. *
  3. * REVISIONS:
  4. * pcy21Jan93: Added TextGenerator, TurnOffDelaySensor, SelfTestSensor
  5. * pcy22Jan93: Fixed multiple definitions of VOLTAGEMANAGER
  6. * pcy22Jan93: Removed use mUps for measure ups vars. Breaks cfgmgr.
  7. * pcy22Jan93: Added EepromSensor
  8. * rct07Feb93: added NlmTimerManager
  9. * pcy30Apr93: Added XVT front end isa stuff
  10. * jwa04May93: Add more front end isa stuff and PollLoop isa definition
  11. * jod14May93: Added Matrix changes.
  12. * rct17May93: added nlm stuff, fixed indexing, added some other stuff
  13. * rct23Jun93: switched isa's back to long text
  14. * rct23Jun93: added lost items...
  15. * cad24jun93: added new xvt field type
  16. * cad04Aug93: added new dialog
  17. * cad26Aug93: added mups firware sensor and dialog
  18. * cad31Aug93: Added smart edit controls
  19. * djs22Feb96: Added smart trim sensor
  20. * djs17May96: Added DarkStar codes
  21. * mds18Jun97: Added codes used for ApcBinderyEntrySortable and ApcIntSortable
  22. * mds13Aug97: Added codes used for ApcStripIntSortable
  23. * tjg02Dec97: Changed darkstar to symmetra, minloadcapability to
  24. * maxloadcapability and added MODULESCOUNTSBADBATTERIESSENSOR
  25. */
  26. #ifndef __ISA_H
  27. #define __ISA_H
  28. #ifdef DECLARE_ISA_TEXT
  29. #define ISA_EXTERN extern
  30. #define ISA_INIT(x) =x
  31. #else
  32. #define ISA_EXTERN extern
  33. #define ISA_INIT(x)
  34. #endif
  35. #if (!(C_OS & C_UNIX) && !(C_OS & C_OS2))
  36. ISA_EXTERN const INT OBJ ISA_INIT(1);
  37. ISA_EXTERN const INT ABNORMALCONDITIONSENSOR ISA_INIT(1);
  38. ISA_EXTERN const INT ALARMDELAYSENSOR ISA_INIT(2);
  39. ISA_EXTERN const INT ATTRIBUTE ISA_INIT(3);
  40. ISA_EXTERN const INT BACKUPS ISA_INIT(4);
  41. ISA_EXTERN const INT BATTERYCALIBRATIONTESTSENSOR ISA_INIT(5);
  42. ISA_EXTERN const INT BATTERYCAPACITYSENSOR ISA_INIT(6);
  43. ISA_EXTERN const INT BATTERYCONDITIONSENSOR ISA_INIT(7);
  44. ISA_EXTERN const INT BATTERYREPLACEMENTDATESENSOR ISA_INIT(9);
  45. ISA_EXTERN const INT BATTERYVOLTAGESENSOR ISA_INIT(11);
  46. ISA_EXTERN const INT NMPIPEBINDERYENTRY ISA_INIT(12);
  47. ISA_EXTERN const INT COMMDEVICE ISA_INIT(13);
  48. ISA_EXTERN const INT SERVERCOMMCONTROLLER ISA_INIT(16);
  49. ISA_EXTERN const INT COMMUNICATIONSTATESENSOR ISA_INIT(18);
  50. ISA_EXTERN const INT COPYRIGHTSENSOR ISA_INIT(19);
  51. ISA_EXTERN const INT DIPSWITCHPOSITIONSENSOR ISA_INIT(23);
  52. ISA_EXTERN const INT EVENTNODE ISA_INIT(24);
  53. ISA_EXTERN const INT DEVICECONTROLLER ISA_INIT(26);
  54. ISA_EXTERN const INT ERRORMESSAGE ISA_INIT(32);
  55. ISA_EXTERN const INT APC_EVENT ISA_INIT(34);
  56. ISA_EXTERN const INT EVENTTIMER ISA_INIT(35);
  57. ISA_EXTERN const INT EVENTMESSAGE ISA_INIT(38);
  58. ISA_EXTERN const INT FILE_ISA ISA_INIT(40);
  59. ISA_EXTERN const INT FIRMWAREREVSENSOR ISA_INIT(41);
  60. ISA_EXTERN const INT OUTPUTFREQUENCYSENSOR ISA_INIT(42);
  61. ISA_EXTERN const INT HIGHTRANSFERVOLTAGESENSOR ISA_INIT(43);
  62. ISA_EXTERN const INT ITEMCODE ISA_INIT(45);
  63. ISA_EXTERN const INT LINEVOLTAGESENSOR ISA_INIT(49);
  64. ISA_EXTERN const INT LIST ISA_INIT(50);
  65. ISA_EXTERN const INT LIGHTSTESTSENSOR ISA_INIT(51);
  66. ISA_EXTERN const INT LOWBATTERYDURATIONSENSOR ISA_INIT(52);
  67. ISA_EXTERN const INT LOWTRANSFERVOLTAGESENSOR ISA_INIT(53);
  68. ISA_EXTERN const INT MANUFACTUREDATESENSOR ISA_INIT(54);
  69. ISA_EXTERN const INT MAXLINEVOLTAGESENSOR ISA_INIT(55);
  70. ISA_EXTERN const INT MESSAGE ISA_INIT(57);
  71. ISA_EXTERN const INT MINLINEVOLTAGESENSOR ISA_INIT(58);
  72. ISA_EXTERN const INT MINRETURNCAPACITYSENSOR ISA_INIT(59);
  73. ISA_EXTERN const INT NMPIPESTREAM ISA_INIT(61);
  74. ISA_EXTERN const INT NODE ISA_INIT(62);
  75. ISA_EXTERN const INT OUTPUTVOLTAGESENSOR ISA_INIT(64);
  76. ISA_EXTERN const INT OVERLOADSENSOR ISA_INIT(65);
  77. ISA_EXTERN const INT POLLMAXLINEVOLTAGESENSOR ISA_INIT(66);
  78. ISA_EXTERN const INT POLLMINLINEVOLTAGESENSOR ISA_INIT(67);
  79. ISA_EXTERN const INT POLLPARAM ISA_INIT(68);
  80. ISA_EXTERN const INT PORT ISA_INIT(72);
  81. ISA_EXTERN const INT RATEDBATTERYVOLTAGESENSOR ISA_INIT(77);
  82. ISA_EXTERN const INT REPLACEBATTERYSENSOR ISA_INIT(78);
  83. ISA_EXTERN const INT RESETEEPROMDEFAULTSSENSOR ISA_INIT(79);
  84. ISA_EXTERN const INT RATEDLINEVOLTAGESENSOR ISA_INIT(80);
  85. ISA_EXTERN const INT RATEDOUTPUTVOLTAGESENSOR ISA_INIT(81);
  86. ISA_EXTERN const INT RUNTIMEREMAININGSENSOR ISA_INIT(82);
  87. ISA_EXTERN const INT SCHEDULELISTENTRY ISA_INIT(83);
  88. ISA_EXTERN const INT SCRIPT ISA_INIT(85);
  89. ISA_EXTERN const INT SELFTESTRESULTSENSOR ISA_INIT(87);
  90. ISA_EXTERN const INT SELFTESTSCHEDULESENSOR ISA_INIT(88);
  91. ISA_EXTERN const INT SHUTDOWNDELAYSENSOR ISA_INIT(91);
  92. ISA_EXTERN const INT SMARTUPS ISA_INIT(93);
  93. ISA_EXTERN const INT SMARTBOOSTSENSOR ISA_INIT(94);
  94. ISA_EXTERN const INT SMARTTRIMSENSOR ISA_INIT(95);
  95. ISA_EXTERN const INT TIMESTAMP ISA_INIT(96);
  96. ISA_EXTERN const INT TATTRIBUTE ISA_INIT(97);
  97. ISA_EXTERN const INT TIMER ISA_INIT(100);
  98. ISA_EXTERN const INT TURNOFFUPSIMMEDIATELYSENSOR ISA_INIT(102);
  99. ISA_EXTERN const INT TURNOFFWITHDELAYSENSOR ISA_INIT(103);
  100. ISA_EXTERN const INT TRANSACTIONITEM ISA_INIT(105);
  101. ISA_EXTERN const INT TRANSACTIONGROUP ISA_INIT(106);
  102. ISA_EXTERN const INT TRANSFERCAUSESENSOR ISA_INIT(107);
  103. ISA_EXTERN const INT TRIPREGISTERSENSOR ISA_INIT(108);
  104. ISA_EXTERN const INT TURNONDELAYSENSOR ISA_INIT(110);
  105. ISA_EXTERN const INT TURNOFFUPSONBATTERYSENSOR ISA_INIT(111);
  106. ISA_EXTERN const INT UTILITYLINECONDITIONSENSOR ISA_INIT(112);
  107. ISA_EXTERN const INT UNSUPPORTEDSENSOR ISA_INIT(113);
  108. ISA_EXTERN const INT PUTUPSTOSLEEPSENSOR ISA_INIT(116);
  109. ISA_EXTERN const INT UPSBATTERYTYPESENSOR ISA_INIT(117);
  110. ISA_EXTERN const INT UPSIDSENSOR ISA_INIT(118);
  111. ISA_EXTERN const INT UPSLOADSENSOR ISA_INIT(119);
  112. ISA_EXTERN const INT UPSSENSITIVITYSENSOR ISA_INIT(120);
  113. ISA_EXTERN const INT UPSSERIALNUMBERSENSOR ISA_INIT(121);
  114. ISA_EXTERN const INT UPSSIMULATEPOWERFAILSENSOR ISA_INIT(122);
  115. ISA_EXTERN const INT UPSTEMPERATURESENSOR ISA_INIT(123);
  116. ISA_EXTERN const INT TURNOFFDELAYSENSOR ISA_INIT(126);
  117. ISA_EXTERN const INT SELFTESTSENSOR ISA_INIT(127);
  118. ISA_EXTERN const INT DDESTREAM ISA_INIT(128);
  119. ISA_EXTERN const INT DDEBINDERYENTRY ISA_INIT(129);
  120. ISA_EXTERN const INT NUMBERBATTERYPACKSSENSOR ISA_INIT(130);
  121. ISA_EXTERN const INT FIRMWAREREVMANAGER ISA_INIT(131);
  122. // measure ups stuff
  123. ISA_EXTERN const INT AMBIENTTEMPERATURESENSOR ISA_INIT(136);
  124. ISA_EXTERN const INT HUMIDITYSENSOR ISA_INIT(137);
  125. ISA_EXTERN const INT CONTACTSENSOR ISA_INIT(138);
  126. ISA_EXTERN const INT APCSTRING ISA_INIT(139);
  127. ISA_EXTERN const INT NUMBERBADBATTERIESSENSOR ISA_INIT(148);
  128. ISA_EXTERN const INT STATEREGISTERSENSOR ISA_INIT(149);
  129. ISA_EXTERN const INT FANFAILURESENSOR ISA_INIT(150);
  130. ISA_EXTERN const INT BATTERYCHARGERSENSOR ISA_INIT(151);
  131. ISA_EXTERN const INT OVERTEMPFAULTSENSOR ISA_INIT(152);
  132. ISA_EXTERN const INT BYPASSMODESENSOR ISA_INIT(154);
  133. ISA_EXTERN const INT BYPASSRELAYFAILEDSENSOR ISA_INIT(156);
  134. ISA_EXTERN const INT BYPASSPOWERSUPPLYFAULTSENSOR ISA_INIT(157);
  135. ISA_EXTERN const INT MATRIX ISA_INIT(158);
  136. ISA_EXTERN const INT MEASUREUPS ISA_INIT(162);
  137. ISA_EXTERN const INT MUPS_CONTACT_MGR ISA_INIT(163);
  138. ISA_EXTERN const INT MUPSFIRMWAREREVSENSOR ISA_INIT(163);
  139. ISA_EXTERN const INT CLIENTBINDERY ISA_INIT(164);
  140. ISA_EXTERN const INT VOLTAGEMANAGER ISA_INIT(165);
  141. ISA_EXTERN const INT BATTERYRUNTIMESENSOR ISA_INIT(166);
  142. ISA_EXTERN const INT RUNTIMEAFTERLOWBATTERYSENSOR ISA_INIT(167);
  143. ISA_EXTERN const INT PANELPASSWORDSENSOR ISA_INIT(168);
  144. ISA_EXTERN const INT UPSMODELSENSOR ISA_INIT(169);
  145. ISA_EXTERN const INT INTELLIGENCEMODULESENSOR ISA_INIT(170);
  146. ISA_EXTERN const INT IMINSTALLATIONSTATUSSENSOR ISA_INIT(171);
  147. ISA_EXTERN const INT RIMSTATUSSENSOR ISA_INIT(172);
  148. ISA_EXTERN const INT RIMINSTALLATIONSTATUSSENSOR ISA_INIT(173);
  149. ISA_EXTERN const INT SYSTEMLEVELFANSENSOR ISA_INIT(174);
  150. ISA_EXTERN const INT BYPASSCONTACTORSENSOR ISA_INIT(175);
  151. ISA_EXTERN const INT INPUTCIRCUITBREAKERSENSOR ISA_INIT(176);
  152. ISA_EXTERN const INT REDUNDANCYCONDITIONSENSOR ISA_INIT(177);
  153. ISA_EXTERN const INT LOADCAPABILITYSTATESENSOR ISA_INIT(178);
  154. ISA_EXTERN const INT UPSMODULESTATUSENSOR ISA_INIT(179);
  155. ISA_EXTERN const INT NUMBERUPSMODULESSENSOR ISA_INIT(180);
  156. ISA_EXTERN const INT NUMBERBADUPSMODULESSENSOR ISA_INIT(181);
  157. ISA_EXTERN const INT PHASEAINPUTVOLTAGESENSOR ISA_INIT(182);
  158. ISA_EXTERN const INT PHASEBINPUTVOLTAGESENSOR ISA_INIT(183);
  159. ISA_EXTERN const INT PHASECINPUTVOLTAGESENSOR ISA_INIT(184);
  160. ISA_EXTERN const INT PHASEAOUTPUTVOLTAGESENSOR ISA_INIT(185);
  161. ISA_EXTERN const INT PHASEBOUTPUTVOLTAGESENSOR ISA_INIT(186);
  162. ISA_EXTERN const INT PHASECOUTPUTVOLTAGESENSOR ISA_INIT(187);
  163. ISA_EXTERN const INT MINIMUMREDUNDANCYSENSOR ISA_INIT(188);
  164. ISA_EXTERN const INT CURRENTREDUNDANCYSENSOR ISA_INIT(189);
  165. ISA_EXTERN const INT CURRENTLOADSENSOR ISA_INIT(190);
  166. ISA_EXTERN const INT SYMMETRA ISA_INIT(191);
  167. ISA_EXTERN const INT NUMBERINPUTPHASESSENSOR ISA_INIT(192);
  168. ISA_EXTERN const INT NUMBEROUTPUTPHASESSENSOR ISA_INIT(193);
  169. ISA_EXTERN const INT CURRENTLOADCAPABILITYSENSOR ISA_INIT(194);
  170. ISA_EXTERN const INT MAXIMUMLOADCAPABILITYSENSOR ISA_INIT(195);
  171. ISA_EXTERN const INT APCBINDERYENTRYSORTABLE ISA_INIT(196);
  172. ISA_EXTERN const INT APCINTSORTABLE ISA_INIT(197);
  173. ISA_EXTERN const INT APCSTRIPINTSORTABLE ISA_INIT(198);
  174. ISA_EXTERN const INT MODULESCOUNTSBADBATTERIESSENSOR ISA_INIT(199);
  175. #endif
  176. #if ((C_OS & C_UNIX) || (C_OS & C_OS2))
  177. #define OBJ 1
  178. #define ABNORMALCONDITIONSENSOR 1
  179. #define ALARMDELAYSENSOR 2
  180. #define ATTRIBUTE 3
  181. #define BACKUPS 4
  182. #define BATTERYCALIBRATIONTESTSENSOR 5
  183. #define BATTERYCAPACITYSENSOR 6
  184. #define BATTERYCONDITIONSENSOR 7
  185. #define BATTERYREPLACEMENTDATESENSOR 9
  186. #define BATTERYVOLTAGESENSOR 11
  187. #define NMPIPEBINDERYENTRY 12
  188. #define COMMDEVICE 13
  189. #define SERVERCOMMCONTROLLER 16
  190. #define COMMUNICATIONSTATESENSOR 18
  191. #define COPYRIGHTSENSOR 19
  192. #define DIPSWITCHPOSITIONSENSOR 23
  193. #define EVENTNODE 24
  194. #define DEVICECONTROLLER 26
  195. #define ERRORMESSAGE 32
  196. #define APC_EVENT 34
  197. #define EVENTTIMER 35
  198. #define EVENTMESSAGE 38
  199. #define FILE_ISA 40
  200. #define FIRMWAREREVSENSOR 41
  201. #define OUTPUTFREQUENCYSENSOR 42
  202. #define HIGHTRANSFERVOLTAGESENSOR 43
  203. #define ITEMCODE 45
  204. #define LINEVOLTAGESENSOR 49
  205. #define LIST 50
  206. #define LIGHTSTESTSENSOR 51
  207. #define LOWBATTERYDURATIONSENSOR 52
  208. #define LOWTRANSFERVOLTAGESENSOR 53
  209. #define MANUFACTUREDATESENSOR 54
  210. #define MAXLINEVOLTAGESENSOR 55
  211. #define MESSAGE 57
  212. #define MINLINEVOLTAGESENSOR 58
  213. #define MINRETURNCAPACITYSENSOR 59
  214. #define NMPIPESTREAM 61
  215. #define NODE 62
  216. #define OUTPUTVOLTAGESENSOR 64
  217. #define OVERLOADSENSOR 65
  218. #define POLLMAXLINEVOLTAGESENSOR 66
  219. #define POLLMINLINEVOLTAGESENSOR 67
  220. #define POLLPARAM 68
  221. #define PORT 72
  222. #define RATEDBATTERYVOLTAGESENSOR 77
  223. #define REPLACEBATTERYSENSOR 78
  224. #define RESETEEPROMDEFAULTSSENSOR 79
  225. #define RATEDLINEVOLTAGESENSOR 80
  226. #define RATEDOUTPUTVOLTAGESENSOR 81
  227. #define RUNTIMEREMAININGSENSOR 82
  228. #define SCHEDULELISTENTRY 83
  229. #define SCRIPT 85
  230. #define SELFTESTRESULTSENSOR 87
  231. #define SELFTESTSCHEDULESENSOR 88
  232. #define SHUTDOWNDELAYSENSOR 91
  233. #define SMARTUPS 93
  234. #define SMARTBOOSTSENSOR 94
  235. #define SMARTTRIMSENSOR 95
  236. #define TIMESTAMP 96
  237. #define TATTRIBUTE 97
  238. #define TIMER 100
  239. #define TURNOFFUPSIMMEDIATELYSENSOR 102
  240. #define TURNOFFWITHDELAYSENSOR 103
  241. #define TRANSACTIONITEM 105
  242. #define TRANSACTIONGROUP 106
  243. #define TRANSFERCAUSESENSOR 107
  244. #define TRIPREGISTERSENSOR 108
  245. #define TURNONDELAYSENSOR 110
  246. #define TURNOFFUPSONBATTERYSENSOR 111
  247. #define UTILITYLINECONDITIONSENSOR 112
  248. #define UNSUPPORTEDSENSOR 113
  249. #define PUTUPSTOSLEEPSENSOR 116
  250. #define UPSBATTERYTYPESENSOR 117
  251. #define UPSIDSENSOR 118
  252. #define UPSLOADSENSOR 119
  253. #define UPSSENSITIVITYSENSOR 120
  254. #define UPSSERIALNUMBERSENSOR 121
  255. #define UPSSIMULATEPOWERFAILSENSOR 122
  256. #define UPSTEMPERATURESENSOR 123
  257. #define TURNOFFDELAYSENSOR 126
  258. #define SELFTESTSENSOR 127
  259. #define DDESTREAM 128
  260. #define DDEBINDERYENTRY 129
  261. #define NUMBERBATTERYPACKSSENSOR 130
  262. #define FIRMWAREREVMANAGER 131
  263. // measure ups stuff
  264. #define AMBIENTTEMPERATURESENSOR 136
  265. #define HUMIDITYSENSOR 137
  266. #define CONTACTSENSOR 138
  267. #define APCSTRING 139
  268. #define NUMBERBADBATTERIESSENSOR 148
  269. #define STATEREGISTERSENSOR 149
  270. #define FANFAILURESENSOR 150
  271. #define BATTERYCHARGERSENSOR 151
  272. #define OVERTEMPFAULTSENSOR 152
  273. #define BYPASSMODESENSOR 154
  274. #define BYPASSRELAYFAILEDSENSOR 156
  275. #define BYPASSPOWERSUPPLYFAULTSENSOR 157
  276. #define MATRIX 158
  277. #define MEASUREUPS 162
  278. #define MUPS_CONTACT_MGR 163
  279. #define MUPSFIRMWAREREVSENSOR 163
  280. #define CLIENTBINDERY 164
  281. #define VOLTAGEMANAGER 165
  282. #define BATTERYRUNTIMESENSOR 166
  283. #define RUNTIMEAFTERLOWBATTERYSENSOR 167
  284. #define PANELPASSWORDSENSOR 168
  285. #define UPSMODELSENSOR 169
  286. #define INTELLIGENCEMODULESENSOR 170
  287. #define IMINSTALLATIONSTATUSSENSOR 171
  288. #define RIMSTATUSSENSOR 172
  289. #define RIMINSTALLATIONSTATUSSENSOR 173
  290. #define SYSTEMLEVELFANSENSOR 174
  291. #define BYPASSCONTACTORSENSOR 175
  292. #define INPUTCIRCUITBREAKERSENSOR 176
  293. #define REDUNDANCYCONDITIONSENSOR 177
  294. #define LOADCAPABILITYSTATESENSOR 178
  295. #define UPSMODULESTATUSENSOR 179
  296. #define NUMBERUPSMODULESSENSOR 180
  297. #define NUMBERBADUPSMODULESSENSOR 181
  298. #define PHASEAINPUTVOLTAGESENSOR 182
  299. #define PHASEBINPUTVOLTAGESENSOR 183
  300. #define PHASECINPUTVOLTAGESENSOR 184
  301. #define PHASEAOUTPUTVOLTAGESENSOR 185
  302. #define PHASEBOUTPUTVOLTAGESENSOR 186
  303. #define PHASECOUTPUTVOLTAGESENSOR 187
  304. #define MINIMUMREDUNDANCYSENSOR 188
  305. #define CURRENTREDUNDANCYSENSOR 189
  306. #define CURRENTLOADSENSOR 190
  307. #define SYMMETRA 191
  308. #define NUMBERINPUTPHASESSENSOR 192
  309. #define NUMBEROUTPUTPHASESSENSOR 193
  310. #define CURRENTLOADCAPABILITYSENSOR 194
  311. #define MAXIMUMLOADCAPABILITYSENSOR 195
  312. #define APCBINDERYENTRYSORTABLE 196
  313. #define APCINTSORTABLE 197
  314. #define APCSTRIPINTSORTABLE 198
  315. #define MODULESCOUNTSBADBATTERIESSENSOR 199
  316. #endif
  317. #endif