DeviceModel.xsd 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="DeviceModelDefine">
  4. <xs:complexType>
  5. <xs:sequence>
  6. <xs:element name="IoValves">
  7. <xs:complexType>
  8. <xs:sequence>
  9. <xs:element maxOccurs="unbounded" name="IoValve">
  10. <xs:complexType>
  11. <xs:attribute name="id" type="xs:string" use="required" />
  12. <xs:attribute name="display" type="xs:string" use="required" />
  13. <xs:attribute name="schematicId" type="xs:string" use="required" />
  14. <xs:attribute name="unit" type="xs:string" use="required" />
  15. <xs:attribute name="isNc" type="xs:boolean" use="required" />
  16. <xs:attribute name="isDefaultOpen" type="xs:boolean" use="required" />
  17. <xs:attribute name="diOpen" type="xs:string" use="required" />
  18. <xs:attribute name="doOpen" type="xs:string" use="required" />
  19. <xs:attribute name="diCloseSensor" type="xs:string" use="required" />
  20. <xs:attribute name="diOpenSensor" type="xs:string" use="required" />
  21. </xs:complexType>
  22. </xs:element>
  23. </xs:sequence>
  24. </xs:complexType>
  25. </xs:element>
  26. <xs:element name="IoMfcs">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:element maxOccurs="unbounded" name="IoMfc">
  30. <xs:complexType>
  31. <xs:attribute name="id" type="xs:string" use="required" />
  32. <xs:attribute name="display" type="xs:string" use="required" />
  33. <xs:attribute name="schematicId" type="xs:string" use="required" />
  34. <xs:attribute name="unit" type="xs:string" use="required" />
  35. <xs:attribute name="aiFlow" type="xs:string" use="required" />
  36. <xs:attribute name="aoFlow" type="xs:string" use="required" />
  37. <xs:attribute name="diOffline" type="xs:string" use="required" />
  38. <xs:attribute name="diPressureAlarm" type="xs:string" use="required" />
  39. <xs:attribute name="aoRange" type="xs:string" use="required" />
  40. <xs:attribute name="scGasName" type="xs:string" use="required" />
  41. <xs:attribute name="scEnable" type="xs:string" use="required" />
  42. <xs:attribute name="scN2Scale" type="xs:string" use="required" />
  43. <xs:attribute name="scScaleFactor" type="xs:string" use="required" />
  44. <xs:attribute name="scAlarmRange" type="xs:string" use="required" />
  45. <xs:attribute name="scEnableAlarm" type="xs:string" use="required" />
  46. <xs:attribute name="scAlarmTime" type="xs:string" use="required" />
  47. <xs:attribute name="scFlowRegulationFactor" type="xs:string" use="required" />
  48. <xs:attribute name="scDefaultSetPoint" type="xs:string" use="required" />
  49. </xs:complexType>
  50. </xs:element>
  51. </xs:sequence>
  52. <xs:attribute name="assembly" type="xs:string" use="required" />
  53. <xs:attribute name="classType" type="xs:string" use="required" />
  54. </xs:complexType>
  55. </xs:element>
  56. <xs:element name="IoGasSticks">
  57. <xs:complexType>
  58. <xs:sequence>
  59. <xs:element maxOccurs="unbounded" name="IoGasStick">
  60. <xs:complexType>
  61. <xs:attribute name="id" type="xs:string" use="required" />
  62. <xs:attribute name="display" type="xs:string" use="required" />
  63. <xs:attribute name="mfc" type="xs:string" use="required" />
  64. <xs:attribute name="downvalve" type="xs:string" use="required" />
  65. </xs:complexType>
  66. </xs:element>
  67. </xs:sequence>
  68. <xs:attribute name="assembly" type="xs:string" use="required" />
  69. <xs:attribute name="classType" type="xs:string" use="required" />
  70. </xs:complexType>
  71. </xs:element>
  72. <xs:element name="IoTemperatureCtrls">
  73. <xs:complexType>
  74. <xs:sequence>
  75. <xs:element name="IoTemperatureCtrl">
  76. <xs:complexType>
  77. <xs:attribute name="id" type="xs:string" use="required" />
  78. <xs:attribute name="aoSetpoint" type="xs:string" use="required" />
  79. <xs:attribute name="aiCtrlFB" type="xs:string" use="required" />
  80. <xs:attribute name="aiMonitorFB" type="xs:string" use="required" />
  81. </xs:complexType>
  82. </xs:element>
  83. </xs:sequence>
  84. <xs:attribute name="assembly" type="xs:string" use="required" />
  85. <xs:attribute name="classType" type="xs:string" use="required" />
  86. </xs:complexType>
  87. </xs:element>
  88. <xs:element name="IoSensors">
  89. <xs:complexType>
  90. <xs:sequence>
  91. <xs:element maxOccurs="unbounded" name="IoSensor">
  92. <xs:complexType>
  93. <xs:attribute name="id" type="xs:string" use="required" />
  94. <xs:attribute name="display" type="xs:string" use="required" />
  95. <xs:attribute name="schematicId" type="xs:string" use="required" />
  96. <xs:attribute name="unit" type="xs:string" use="required" />
  97. <xs:attribute name="di" type="xs:string" use="required" />
  98. <xs:attribute name="isLowAsNormal" type="xs:string" use="required" />
  99. <xs:attribute name="infoText" type="xs:string" use="required" />
  100. <xs:attribute name="warningText" type="xs:string" use="required" />
  101. <xs:attribute name="alarmText" type="xs:string" use="required" />
  102. </xs:complexType>
  103. </xs:element>
  104. </xs:sequence>
  105. </xs:complexType>
  106. </xs:element>
  107. <xs:element name="IoPressureMeters">
  108. <xs:complexType>
  109. <xs:sequence>
  110. <xs:element maxOccurs="unbounded" name="IoPressureMeter">
  111. <xs:complexType>
  112. <xs:attribute name="id" type="xs:string" use="required" />
  113. <xs:attribute name="display" type="xs:string" use="required" />
  114. <xs:attribute name="schematicId" type="xs:string" use="required" />
  115. <xs:attribute name="unit" type="xs:string" use="required" />
  116. <xs:attribute name="aiValue" type="xs:string" use="required" />
  117. <xs:attribute name="diGaugeFail" type="xs:string" use="required" />
  118. <xs:attribute name="scPrecision" type="xs:string" use="required" />
  119. <xs:attribute name="scOffset" type="xs:string" use="required" />
  120. </xs:complexType>
  121. </xs:element>
  122. </xs:sequence>
  123. </xs:complexType>
  124. </xs:element>
  125. <xs:element name="IoPumps">
  126. <xs:complexType>
  127. <xs:sequence>
  128. <xs:element name="IoPump">
  129. <xs:complexType>
  130. <xs:attribute name="id" type="xs:string" use="required" />
  131. <xs:attribute name="display" type="xs:string" use="required" />
  132. <xs:attribute name="schematicId" type="xs:string" use="required" />
  133. <xs:attribute name="unit" type="xs:string" use="required" />
  134. <xs:attribute name="diBreakerState" type="xs:string" use="required" />
  135. <xs:attribute name="diRunning" type="xs:string" use="required" />
  136. <xs:attribute name="diOverloadAlarm" type="xs:string" use="required" />
  137. <xs:attribute name="diStart" type="xs:string" use="required" />
  138. <xs:attribute name="diStop" type="xs:string" use="required" />
  139. <xs:attribute name="diPumpTempWaring" type="xs:string" use="required" />
  140. <xs:attribute name="diPumpTempAlarm" type="xs:string" use="required" />
  141. <xs:attribute name="diN2Alarm" type="xs:string" use="required" />
  142. <xs:attribute name="diWaterFlowAlarm" type="xs:string" use="required" />
  143. <xs:attribute name="doStart" type="xs:string" use="required" />
  144. <xs:attribute name="doStop" type="xs:string" use="required" />
  145. <xs:attribute name="doWaterFlowAlarm" type="xs:string" use="required" />
  146. <xs:attribute name="doN2PressureAlarm" type="xs:string" use="required" />
  147. <xs:attribute name="aiWaterFlow" type="xs:string" use="required" />
  148. <xs:attribute name="aiN2Pressure" type="xs:string" use="required" />
  149. <xs:attribute name="aoN2PressureAlarmMaxValue" type="xs:string" use="required" />
  150. <xs:attribute name="aoN2PressureAlarmMinValue" type="xs:string" use="required" />
  151. <xs:attribute name="aoWaterFlowAlarmMaxValue" type="xs:string" use="required" />
  152. <xs:attribute name="aoWaterFlowAlarmMinValue" type="xs:string" use="required" />
  153. <xs:attribute name="scEnableDryPump" type="xs:string" use="required" />
  154. <xs:attribute name="scEnableWaterFlow" type="xs:string" use="required" />
  155. <xs:attribute name="scWaterFlowMinValue" type="xs:string" use="required" />
  156. <xs:attribute name="scWaterFlowMaxValue" type="xs:string" use="required" />
  157. <xs:attribute name="scWaterFlowOutOfToleranceWarningTime" type="xs:string" use="required" />
  158. <xs:attribute name="scWaterFlowOutOfToleranceAlarmTime" type="xs:string" use="required" />
  159. <xs:attribute name="scEnableN2Pressure" type="xs:string" use="required" />
  160. <xs:attribute name="scN2PressureMinValue" type="xs:string" use="required" />
  161. <xs:attribute name="scN2PressureMaxValue" type="xs:string" use="required" />
  162. <xs:attribute name="scN2PressureOutOfToleranceWarningTime" type="xs:string" use="required" />
  163. <xs:attribute name="scN2PressureOutOfToleranceAlarmTime" type="xs:string" use="required" />
  164. </xs:complexType>
  165. </xs:element>
  166. </xs:sequence>
  167. <xs:attribute name="assembly" type="xs:string" use="required" />
  168. <xs:attribute name="classType" type="xs:string" use="required" />
  169. </xs:complexType>
  170. </xs:element>
  171. <xs:element name="IoRfs">
  172. <xs:complexType>
  173. <xs:sequence>
  174. <xs:element name="IoRf">
  175. <xs:complexType>
  176. <xs:attribute name="id" type="xs:string" use="required" />
  177. <xs:attribute name="display" type="xs:string" use="required" />
  178. <xs:attribute name="schematicId" type="xs:string" use="required" />
  179. <xs:attribute name="unit" type="xs:string" use="required" />
  180. <xs:attribute name="doOnOff" type="xs:string" use="required" />
  181. <xs:attribute name="diOnOffFeedback" type="xs:string" use="required" />
  182. <xs:attribute name="diInterlock" type="xs:string" use="required" />
  183. <xs:attribute name="diOverTemp" type="xs:string" use="required" />
  184. <xs:attribute name="aiCurrent" type="xs:string" use="required" />
  185. <xs:attribute name="aiVoltage" type="xs:string" use="required" />
  186. <xs:attribute name="diBreakerState" type="xs:string" use="required" />
  187. <xs:attribute name="diIArc" type="xs:string" use="required" />
  188. <xs:attribute name="diOffline" type="xs:string" use="required" />
  189. <xs:attribute name="diVArc" type="xs:string" use="required" />
  190. <xs:attribute name="doWaterFlowAlarm" type="xs:string" use="required" />
  191. <xs:attribute name="doWaterFlowWarning" type="xs:string" use="required" />
  192. <xs:attribute name="aoMatchMode" type="xs:string" use="required" />
  193. <xs:attribute name="aoMatchPositionC1" type="xs:string" use="required" />
  194. <xs:attribute name="aoMatchPositionC2" type="xs:string" use="required" />
  195. <xs:attribute name="aoWorkMode" type="xs:string" use="required" />
  196. <xs:attribute name="aoFrequency" type="xs:string" use="required" />
  197. <xs:attribute name="aoDuty" type="xs:string" use="required" />
  198. <xs:attribute name="aoPower" type="xs:string" use="required" />
  199. <xs:attribute name="aoCoefficient" type="xs:string" use="required" />
  200. <xs:attribute name="aiWaterFlow" type="xs:string" use="required" />
  201. <xs:attribute name="aiForwardPower" type="xs:string" use="required" />
  202. <xs:attribute name="aiReflectPower" type="xs:string" use="required" />
  203. <xs:attribute name="aiMatchMode" type="xs:string" use="required" />
  204. <xs:attribute name="aiMatchPositionC1" type="xs:string" use="required" />
  205. <xs:attribute name="aiMatchPositionC2" type="xs:string" use="required" />
  206. <xs:attribute name="scMatchMode" type="xs:string" use="required" />
  207. <xs:attribute name="scMatchPositionC1" type="xs:string" use="required" />
  208. <xs:attribute name="scMatchPositionC2" type="xs:string" use="required" />
  209. <xs:attribute name="scPowerAlarmRange" type="xs:string" use="required" />
  210. <xs:attribute name="scPowerAlarmTime" type="xs:string" use="required" />
  211. <xs:attribute name="scReflectPowerAlarmRange" type="xs:string" use="required" />
  212. <xs:attribute name="scReflectPowerAlarmTime" type="xs:string" use="required" />
  213. <xs:attribute name="scPowerRange" type="xs:string" use="required" />
  214. <xs:attribute name="scCoefficient" type="xs:string" use="required" />
  215. <xs:attribute name="scEnablePulsingFunction" type="xs:string" use="required" />
  216. <xs:attribute name="scEnableC1C2Position" type="xs:string" use="required" />
  217. <xs:attribute name="scEnableReflectPower" type="xs:string" use="required" />
  218. <xs:attribute name="scEnableVoltageCurrent" type="xs:string" use="required" />
  219. <xs:attribute name="scPowerRegulationFactor" type="xs:string" use="required" />
  220. </xs:complexType>
  221. </xs:element>
  222. </xs:sequence>
  223. <xs:attribute name="assembly" type="xs:string" use="required" />
  224. <xs:attribute name="classType" type="xs:string" use="required" />
  225. </xs:complexType>
  226. </xs:element>
  227. <xs:element name="IoThrottleValves">
  228. <xs:complexType>
  229. <xs:sequence>
  230. <xs:element name="IoThrottleValve">
  231. <xs:complexType>
  232. <xs:attribute name="id" type="xs:string" use="required" />
  233. <xs:attribute name="display" type="xs:string" use="required" />
  234. <xs:attribute name="schematicId" type="xs:string" use="required" />
  235. <xs:attribute name="unit" type="xs:string" use="required" />
  236. <xs:attribute name="aiPositionFeedback" type="xs:string" use="required" />
  237. <xs:attribute name="aiPressureFeedback" type="xs:string" use="required" />
  238. <xs:attribute name="aiState" type="xs:string" use="required" />
  239. <xs:attribute name="aoPositionSetPoint" type="xs:string" use="required" />
  240. <xs:attribute name="aoPressureSetPoint" type="xs:string" use="required" />
  241. <xs:attribute name="aoPressureMode" type="xs:string" use="required" />
  242. </xs:complexType>
  243. </xs:element>
  244. </xs:sequence>
  245. <xs:attribute name="assembly" type="xs:string" use="required" />
  246. <xs:attribute name="classType" type="xs:string" use="required" />
  247. </xs:complexType>
  248. </xs:element>
  249. <xs:element name="IoPressureControls">
  250. <xs:complexType>
  251. <xs:sequence>
  252. <xs:element name="IoPressureControl">
  253. <xs:complexType>
  254. <xs:attribute name="id" type="xs:string" use="required" />
  255. <xs:attribute name="display" type="xs:string" use="required" />
  256. <xs:attribute name="schematicId" type="xs:string" use="required" />
  257. <xs:attribute name="unit" type="xs:string" use="required" />
  258. <xs:attribute name="diLogicProcessGasFlowing" type="xs:string" use="required" />
  259. <xs:attribute name="scGasFlowPressureAlarmRange" type="xs:string" use="required" />
  260. <xs:attribute name="scGasFlowPressureAlarmTime" type="xs:string" use="required" />
  261. <xs:attribute name="scIsIndependentControl" type="xs:string" use="required" />
  262. <xs:attribute name="scIsBoostPumpInstalled" type="xs:string" use="required" />
  263. <xs:attribute name="scTvInstalled" type="xs:string" use="required" />
  264. <xs:attribute name="boost" type="xs:string" use="required" />
  265. <xs:attribute name="tv" type="xs:string" use="required" />
  266. <xs:attribute name="drypump" type="xs:string" use="required" />
  267. <xs:attribute name="pressureMeter" type="xs:string" use="required" />
  268. <xs:attribute name="processMeter" type="xs:string" use="required" />
  269. <xs:attribute name="forelineMeter" type="xs:string" use="required" />
  270. </xs:complexType>
  271. </xs:element>
  272. </xs:sequence>
  273. <xs:attribute name="assembly" type="xs:string" use="required" />
  274. <xs:attribute name="classType" type="xs:string" use="required" />
  275. </xs:complexType>
  276. </xs:element>
  277. <xs:element name="IoHeaters">
  278. <xs:complexType>
  279. <xs:sequence>
  280. <xs:element name="IoHeater">
  281. <xs:complexType>
  282. <xs:attribute name="id" type="xs:string" use="required" />
  283. <xs:attribute name="display" type="xs:string" use="required" />
  284. <xs:attribute name="schematicId" type="xs:string" use="required" />
  285. <xs:attribute name="unit" type="xs:string" use="required" />
  286. <xs:attribute name="doPowerOn" type="xs:string" use="required" />
  287. <xs:attribute name="diPowerOnFeedback" type="xs:string" use="required" />
  288. <xs:attribute name="aoSetPoint" type="xs:string" use="required" />
  289. <xs:attribute name="aoSetPointLimit" type="xs:string" use="required" />
  290. <xs:attribute name="aiFeedback" type="xs:string" use="required" />
  291. <xs:attribute name="aiMonitor" type="xs:string" use="required" />
  292. <xs:attribute name="aiCoolantInletTemp" type="xs:string" use="required" />
  293. <xs:attribute name="aiCoolantOutletTemp" type="xs:string" use="required" />
  294. <xs:attribute name="scSetPointLimit" type="xs:string" use="required" />
  295. </xs:complexType>
  296. </xs:element>
  297. </xs:sequence>
  298. </xs:complexType>
  299. </xs:element>
  300. <xs:element name="IoHeartbeats">
  301. <xs:complexType>
  302. <xs:sequence>
  303. <xs:element name="IoHeartbeat">
  304. <xs:complexType>
  305. <xs:attribute name="id" type="xs:string" use="required" />
  306. <xs:attribute name="display" type="xs:string" use="required" />
  307. <xs:attribute name="schematicId" type="xs:string" use="required" />
  308. <xs:attribute name="unit" type="xs:string" use="required" />
  309. <xs:attribute name="ao" type="xs:string" use="required" />
  310. <xs:attribute name="ai" type="xs:string" use="required" />
  311. </xs:complexType>
  312. </xs:element>
  313. </xs:sequence>
  314. </xs:complexType>
  315. </xs:element>
  316. <xs:element name="IoResets">
  317. <xs:complexType>
  318. <xs:sequence>
  319. <xs:element name="IoReset">
  320. <xs:complexType>
  321. <xs:attribute name="id" type="xs:string" use="required" />
  322. <xs:attribute name="display" type="xs:string" use="required" />
  323. <xs:attribute name="schematicId" type="xs:string" use="required" />
  324. <xs:attribute name="unit" type="xs:string" use="required" />
  325. <xs:attribute name="doReset" type="xs:string" use="required" />
  326. </xs:complexType>
  327. </xs:element>
  328. </xs:sequence>
  329. </xs:complexType>
  330. </xs:element>
  331. <xs:element name="IoSetConfigs">
  332. <xs:complexType>
  333. <xs:sequence>
  334. <xs:element name="IoSetConfig">
  335. <xs:complexType>
  336. <xs:attribute name="id" type="xs:string" use="required" />
  337. <xs:attribute name="display" type="xs:string" use="required" />
  338. <xs:attribute name="schematicId" type="xs:string" use="required" />
  339. <xs:attribute name="unit" type="xs:string" use="required" />
  340. <xs:attribute name="aoPressureOffset" type="xs:string" use="required" />
  341. </xs:complexType>
  342. </xs:element>
  343. </xs:sequence>
  344. </xs:complexType>
  345. </xs:element>
  346. <xs:element name="IoStatisticss">
  347. <xs:complexType>
  348. <xs:sequence>
  349. <xs:element maxOccurs="unbounded" name="IoStatistics">
  350. <xs:complexType>
  351. <xs:attribute name="id" type="xs:string" use="required" />
  352. <xs:attribute name="display" type="xs:string" use="required" />
  353. <xs:attribute name="schematicId" type="xs:string" use="required" />
  354. <xs:attribute name="unit" type="xs:string" use="required" />
  355. <xs:attribute name="diMonitorSignal" type="xs:string" use="required" />
  356. <xs:attribute name="scLastPMTime" type="xs:string" use="required" />
  357. <xs:attribute name="scTimeFromLastPM" type="xs:string" use="required" />
  358. <xs:attribute name="scTimeTotal" type="xs:string" use="required" />
  359. <xs:attribute name="scEnableAlarm" type="xs:string" use="required" />
  360. <xs:attribute name="scPMInterval" type="xs:string" use="required" />
  361. </xs:complexType>
  362. </xs:element>
  363. </xs:sequence>
  364. </xs:complexType>
  365. </xs:element>
  366. <xs:element name="IoPlcDateTimes">
  367. <xs:complexType>
  368. <xs:sequence>
  369. <xs:element name="IoPlcDateTime">
  370. <xs:complexType>
  371. <xs:attribute name="id" type="xs:string" use="required" />
  372. <xs:attribute name="display" type="xs:string" use="required" />
  373. <xs:attribute name="schematicId" type="xs:string" use="required" />
  374. <xs:attribute name="unit" type="xs:string" use="required" />
  375. <xs:attribute name="aiYear" type="xs:string" use="required" />
  376. <xs:attribute name="aiMonth" type="xs:string" use="required" />
  377. <xs:attribute name="aiDay" type="xs:string" use="required" />
  378. <xs:attribute name="aiHour" type="xs:string" use="required" />
  379. <xs:attribute name="aiMinute" type="xs:string" use="required" />
  380. <xs:attribute name="aiSecond" type="xs:string" use="required" />
  381. </xs:complexType>
  382. </xs:element>
  383. </xs:sequence>
  384. </xs:complexType>
  385. </xs:element>
  386. <xs:element name="IoCylinders">
  387. <xs:complexType>
  388. <xs:sequence>
  389. <xs:element maxOccurs="unbounded" name="IoCylinder">
  390. <xs:complexType>
  391. <xs:attribute name="id" type="xs:string" use="required" />
  392. <xs:attribute name="display" type="xs:string" use="required" />
  393. <xs:attribute name="schematicId" type="xs:string" use="required" />
  394. <xs:attribute name="unit" type="xs:string" use="required" />
  395. <xs:attribute name="doMotorRelay" type="xs:string" use="optional" />
  396. <xs:attribute name="doON" type="xs:string" use="required" />
  397. <xs:attribute name="doOFF" type="xs:string" use="required" />
  398. <xs:attribute name="diON" type="xs:string" use="required" />
  399. <xs:attribute name="diOFF" type="xs:string" use="required" />
  400. </xs:complexType>
  401. </xs:element>
  402. </xs:sequence>
  403. <xs:attribute name="assembly" type="xs:string" use="required" />
  404. <xs:attribute name="classType" type="xs:string" use="required" />
  405. </xs:complexType>
  406. </xs:element>
  407. </xs:sequence>
  408. <xs:attribute name="type" type="xs:string" use="required" />
  409. </xs:complexType>
  410. </xs:element>
  411. </xs:schema>