QueryLgGlobalMap.xml.svn-base 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <queryMap desc="炼钢生产总貌图">
  3. <query id="GetTrackObjData.Select" desc="查询作业跟踪表信息" fetchSize="10">
  4. <![CDATA[
  5. select OBJECTPOS,
  6. nvl(OBJECTID, '') OBJECTID,
  7. nvl(DISPOSALTIME, '') DISPOSALTIME,
  8. nvl(POTNO, '') POTNO,
  9. COMINGTIME,
  10. nvl(FRONTPOS, '') FRONTPOS,
  11. DEVICESTATES,
  12. SENDTYPE
  13. from TPM_TRACKOBJECTINFOR
  14. ]]>
  15. </query>
  16. <query id="GetScheduleInfo.Select" desc="查询作业计划信息" fetchSize="10">
  17. <![CDATA[
  18. select a.HEATNO,
  19. a.aim_grade_code,
  20. (select steel from scm_steel where steelcode = a.aim_grade_code) STEEL,
  21. '' catalogid,
  22. '' std_code,
  23. a.PLAN_LINES,
  24. a.FACT_ROUTE,
  25. a.CAST_ID,
  26. a.heat_state,
  27. a.PLAN_MAKING_TIME,
  28. a.PLAN_MAKER,
  29. STD_CODE,
  30. a.V_HEAT_ID,
  31. a.ORD_GON_ID,
  32. a.cast_no,
  33. a.cast_seq,
  34. a.HEAT_NUM,
  35. a.len,
  36. a.width,
  37. a.thick,
  38. /*(a.width || '×' || a.thick )*/e.MATERIELDEPICT MATERIELDEPICT,
  39. b.potno SENDTOOLID,
  40. b.POTDISTINCTION SENDGRADE,
  41. b.POTWRAPSTATE INSTANCE,
  42. b.POTAGE,
  43. case when b.isaddtop = 'C' then '已加盖' else '' end isaddtop,
  44. a.STD_NAME SPECIFICATION,
  45. b.steelpass,
  46. b.baleleavewgtpass,
  47. c.mouldbalewgt-b.baleleavewgtpass gspz,
  48. case when c.fronttime is not null then round((c.balestarttime - c.fronttime) * 24 * 60) || '分钟' else '' end SedationTime,
  49. case when b.tappingendtime is not null then round((sysdate - b.tappingendtime) * 24 * 60)||'分钟' else '' end tappingendtime,
  50. (select SLABWIDTH || '×' || SLABHEIGHT
  51. from PPC_STEEL_CUTINGDETAIL
  52. where FURNACENO = a.v_heat_id
  53. and rownum < 2) Aim_W_T,
  54. 'A:'||d.A||',B:'||d.B||',C:'||d.C||',D:'||d.D INCLUSION /*20210802 新增夹杂物标准*/
  55. from PPC_STEEL_HEAT a, STL_bof_optinfo b,stl_ccm_optinfo c,SCM_INCLUSION_INFO d,
  56. (select FURNACENO,LISTAGG(MATERIELDEPICT, ' ') WITHIN GROUP(ORDER BY MATERIELDEPICT) MATERIELDEPICT
  57. from (SELECT slabwidth || '×' || slabheight MATERIELDEPICT, FURNACENO FROM ppc_steel_cutingdetail
  58. group by FURNACENO, slabwidth || '×' || slabheight) t GROUP BY FURNACENO) e/*20220919 新增计划改变后的断面查询*/
  59. WHERE a.heatno = b.heatno(+)
  60. and a.heatno = c.heatno(+)
  61. and a.V_HEAT_ID = d.STL_GRD(+)
  62. and a.V_HEAT_ID = e.FURNACENO(+)
  63. and a.heat_state > '02'
  64. and a.heat_state < '10' and a.heatno is not null
  65. ]]>
  66. </query>
  67. <query id="GetBofData.Select" desc="查询转炉作业数据" fetchSize="10">
  68. <![CDATA[
  69. select heatprocessno,heatno,stationcode,disposaltime,
  70. plansteel,woid,optdate,shiftcode,
  71. molirnsource,ironpotid,ironpotwgt,irontemperature,
  72. pigironwgt,wsteelwgt,joinmarlwgt,rsteelwgt,
  73. changestarttime,changeendtime,changetime,openoxygentime,
  74. stopoxygentime,
  75. round((decode(B1STARTTIME,null,0,decode(B1ENDTIME,null,
  76. (sysdate - B1STARTTIME) * 1440*60,B1TIME))) +
  77. (decode(B2STARTTIME,null,0,decode(B2ENDTIME,null,
  78. (sysdate - B2STARTTIME) * 1440*60,B2TIME))) +
  79. (decode(B3STARTTIME,null,0,decode(B3ENDTIME,null,
  80. (sysdate - B3STARTTIME) * 1440*60,B3TIME))) +
  81. (decode(B4STARTTIME,null,0,decode(B4ENDTIME,null,
  82. (sysdate - B4STARTTIME) * 1440*60,B4TIME))) +
  83. (decode(B5STARTTIME,null,0,decode(B5ENDTIME,null,
  84. (sysdate - B5STARTTIME) * 1440*60,B5TIME)))) SUPPLYOXYGENTIME,
  85. o2press,o2flux,o2consume,molstltemperature,b1starttime,
  86. b1endtime,b1time,b1temperature,b2starttime,
  87. b2endtime,b2time,b2temperature,b3starttime,
  88. b3endtime,b3time,b3temperature,b4starttime,
  89. b4endtime,b4time,b4temperature,b5starttime,
  90. b5endtime,b5time,b5temperature,terminustept,
  91. terminusc,terminuso2,blowo2times,blowartimes,
  92. blown2times,tappingstarttime,tappingendtime,tappingtime,
  93. psstarttime,psendtime,brpstime,brpstimes,
  94. n2press,n2flux,n2consume,topn2consume,
  95. arpress,arflux,arconsume,brwgt,
  96. drwgt,blkredmode,blkredeffects,oggnumid,
  97. gage,subnumid,subage,subheight,
  98. subtension,sage,emolstltime,potno,
  99. potage,potdistinction,potwrapstate,tappingwgt,
  100. rsstoveno,rswgt,ccmflag,vflag,
  101. molstlwgt,ironwgt,foldflag,dfrflag,
  102. prflag,addflag,eleconsume,ironcomponentid,
  103. firstcomponentid,endcomponentid,numid,opttype,
  104. molstlleave,molirntype,ccmplantempt,ccmplantempttime,
  105. gasrecoverytime,wsid,optpersonnel,updatetime,memo,POTTEMP
  106. from stl_bof_optinfo
  107. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  108. ]]>
  109. </query>
  110. <query id="GetCasData.Select" desc="查询吹氩作业数据" fetchSize="10">
  111. <![CDATA[
  112. SELECT HEATPROCESSNO,HEATNO,STATIONCODE,DISPOSALTIME,
  113. PLANSTEEL,WOID,OPTDATE,SHIFTCODE,
  114. ARRIVETIME,LEAVETIME,STAYTIME,
  115. BLOWARSTARTTIME,BLOWARENDTIME,BLOWARTIME,
  116. CASSTARTTIME,CASENDTIME,CASTIME,CASUSETIME,
  117. FEEDSILKBEGINTIME,FEEDSILKCLOSETIME,FEEDSILKTIME,FEEDINGSPEED,
  118. ARRIVEWGT,LEAVEWGT,ARCONSUME,ARFLUX,
  119. BLOWARPRESS,BLOWARMODE,USEDPRESS,ARFTEMPT,
  120. ARITEMPT,ARBTEMPT,ARRIVEO2,LEAVEO2,
  121. HPCONSUME,RESIDUETHICKNESS,TWSTEELWGT,MANTLEFLAG,
  122. MANTLENUM,POTNO,POTDISTINCTION,POTAGE,
  123. POTWRAPSTATE,GUNNO,BLOWARTIMES,ODERO2TIMES,
  124. MOLSTLLEAVE, ARRIVECPTCODE,LEAVECPTCODE,PRODUCTCPTCODE,
  125. DESLAGGFLAG,MOLSTLTAREWGT,MOLSTLWGT,WSID,LMLTEMPT,
  126. OPTPERSONNEL,MEMO,UPDATETIME
  127. FROM STL_CAS_OPTINFO
  128. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  129. ]]>
  130. </query>
  131. <query id="GetLfsData.Select" desc="查询LF炉作业数据" fetchSize="10">
  132. <![CDATA[
  133. SELECT HEATPROCESSNO,HEATNO,STATIONCODE,DISPOSALTIME,
  134. PLANSTEEL,WOID,OPTDATE,SHIFTCODE,
  135. ARRIVETIME,LEAVETIME,REFINETIME,
  136. SEATDSTARTTIME,SEATDENDTIME,SEATDTIME,
  137. BEGINBLOWAR,ENDBLOWAR,BLOWARTIME,
  138. SELESTARTTIME,SELEENDTIME,SELETIME,
  139. REPOSEBEGINTIME,REPOSECLOSETIME,REPOSETIME,
  140. COVERUPPERTIME,COVERDOWNTIME,FEEDSILKBEGINTIME,
  141. FEEDSILKCLOSETIME,ARCONSUME,BLOWARPRESS,ARFLUX,
  142. BLOWARMODE,BLOWARTIMES,ARRIVETEMPT,LEAVETEMPT,
  143. ELETRICITYCONSUME,ELETRICITYTIMES,FEEDINGSPEED,
  144. ARRIVEWGT,LEAVEWGT,MOLSTLWGT,ARRIVEO2,
  145. LEAVEO2,ODERO2TIMES,MRTCONSUME,NMRTCONSUME,
  146. BESTROWDOSAGE,TEMPTNUM,RESIDUETHICKNESS,SLAGWGT,
  147. POTNO,POTDISTINCTION,POTAGE,
  148. POTWRAPSTATE,AGE,LFSNO,COVERAGE,
  149. MOLSTLLEAVE,CCMTEMPT,FLEXIBLEBLOWTIME,SOFTBLOWBEGINTIME,
  150. LADLECOVERAGE,ISRS,WSID,OPTPERSONNEL,
  151. UPDATETIME,MEMO,DILUTEDRESIDUEDOSE,WAITTIME
  152. FROM STL_LFS_OPTINFO
  153. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  154. ]]>
  155. </query>
  156. <query id="GetRhsData.Select" desc="查询RH炉作业数据" fetchSize="10">
  157. <![CDATA[
  158. SELECT HEATPROCESSNO,HEATNO,STATIONCODE,DISPOSALTIME,
  159. PLANSTEEL,WOID,SHIFTCODE,OPTDATE,
  160. ARRIVETIME,LEAVETIME,REFINETIME,REPOSEBEGINTIME,
  161. REPOSECLOSETIME,LD_RISE_STA_DTIME,LD_DOWN_DTIME,
  162. SUM_TIME,VACBEGINTIME,VACLOSETIME,VAC_TIME,
  163. O2BEGINTIME,O2CLOSETIME,O2_TIME,ARBEGINTIME,
  164. ARCLOSETIME,AR_TIME,FEEDBEGINTIME,FEEDCLOSETIME,
  165. FEED_TIME,FEEDINGSPEED,ARFTEMPT,
  166. ARBTEMPT,ARRIVEWGT,LEAVEWGT,MOLSTLWGT,
  167. ARRIVEO2,LEAVEO2,HPCONSUME,RESIDUETHICKNESS,
  168. TWSTEELWGT,MANTLEFLAG,MANTLENUM,ARFLUX,
  169. O2USEDTOTALAL,O2USEDTOTALC,N2_CONS_C,AR_CONS_S,
  170. ARCONSUME,O2CONSUME,STEAMFLUX,STEAMPRESS,
  171. STEAMTEMPT,STEAMCONSUME,WATER_CONS_LNQ,WATER_CONS_JX,
  172. N2_CONS_S,LANCE_NO,LANCE_TIMES,VAC_KEEP_TIME,
  173. PURE_TIME,BEF_VAC_TIME,VAC_MIN,RHSNO,VES_NO,
  174. RHSNO2,VES_NO2,POTNO,POTDISTINCTION,
  175. POTAGE,POTWRAPSTATE,VACGROOVEID,MOLSTLLEAVE,
  176. ISRS,OPTPERSONNEL,WSID,UPDATETIME,MEMO,WAITTIME
  177. FROM STL_RHS_OPTINFO
  178. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  179. ]]>
  180. </query>
  181. <query id="GetVdsData.Select" desc="查询VD炉作业数据" fetchSize="10">
  182. <![CDATA[
  183. SELECT HEATPROCESSNO,HEATNO,STATIONCODE,DISPOSALTIME,
  184. PLANSTEEL,WOID,SHIFTCODE,OPTDATE,
  185. ARRIVETIME,LEAVETIME,REFINETIME,REPOSEBEGINTIME,
  186. REPOSECLOSETIME,TREATTIME,OXYGENSTARTTIME,
  187. OXYGENENDTIME,OXYGENTIME,HYDGENSTARTTIME,
  188. HYDGENENDTIME,HYDGENTIME,MIXSTARTTIME,MIXENDTIME,
  189. MIXTIME,VACBEGINTIME,VACLOSETIME,VAC_TIME,
  190. FEEDBEGINTIME,FEEDCLOSETIME,FEED_TIME,FEEDINGSPEED,
  191. SUM_TIME,ARFTEMPT,ARBTEMPT,ARRIVEWGT,
  192. LEAVEWGT,HPCONSUME,MANTLEFLAG,MANTLENUM,
  193. VDAGE,VDNO,VACUUMPRESS,STOP_DATE,
  194. SLAG_WGT,VAC_MIN,O2CONSUME,STEAMCONSUME,
  195. STEAM_TEM,STEAM_PRES,POTNO,POTDISTINCTION,
  196. POTAGE,POTWRAPSTATE,COVER,MOLSTLWGT,
  197. ISRS,OPTPERSONNEL,WSID,ARRIVEO2,
  198. LEAVEO2,UPDATETIME,MEMO,ARRIVEH,
  199. LEAVEH,RESIDUETHICKNESS,ARBEGINTIME,ARCLOSETIME,
  200. AR_TIME,ARFLUX
  201. FROM STL_VDS_OPTINFO
  202. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  203. ]]>
  204. </query>
  205. <query id="GetCcmData.Select" desc="查询连铸机作业数据" fetchSize="10">
  206. <![CDATA[
  207. SELECT HEATPROCESSNO,HEATNO,STATIONCODE,DISPOSALTIME,
  208. PLANSTEEL,CCMSTOVENO,WOID,BILLETSECTION,
  209. BILLETFIXSIZE,OPTDATE,SHIFTCODE,POTNO,
  210. POTDISTINCTION,POTAGE,POTWRAPSTATE,MOULDSTOVENUM,
  211. PFBALETEMPT,PFBALEWGT,BALEPFTIME,MOULDINGPOTNO,
  212. MOULDINGPOTRANK,MOULDBALEWGT,MOULDBALETEMPT,
  213. BALESTARTTIME,BALEENDTIME,BALELEAVETIME,BALELEAVEWGT,
  214. PLANPFTIME,WAITMOULDTIME,MOULDTIME,BALEFLOWFLAG,
  215. BALEMOULDFLAG,BALEMOULDTIME,BALEFLOWTIEMS,
  216. MWRAPNO,MWRAPTEMPT,MWRAPWGT,MWRAPSTARTTIME,
  217. MWRAPENDTIME,HEAT_SEQ,BIGPOTARM1WEIGHT,BIGPOTARM2WEIGHT,
  218. MOULDNUMID,MOULDNO,METERODDWGT,LMLTEMPT,
  219. SWRAPREMAINWGT,SWRAPENDCAUSE,MOULDWAITTIME,MWRAPTEMPT05,
  220. MWRAPTEMPT20,MWRAPLIQUID,MWRAPLIQUID15,SMWRAPLIQUID,
  221. SMWRAPWGT,BILLETLENGTH,BILLETWGT,BILLETNUM,
  222. S1BILLETLENGTH,S2BILLETLENGTH,RESIDUETHICKNESS,
  223. PRODUCTCPTCODE,BAKEO2TIEMS,FLAG,FBTOTALWGT,
  224. HOTPITCH, PROTECTDTEG,PROTECTDTEGDOSAGE,
  225. RSMOLSTLWGT,ISRS,WSID,OPTPERSONNEL,UPDATETIME,MEMO,
  226. HLSTANDARD1,HLSTANDARD2
  227. FROM STL_CCM_OPTINFO
  228. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME=?
  229. ]]>
  230. </query>
  231. <query id="GetHmpData.Select" desc="查询脱硫作业数据" fetchSize="10">
  232. <![CDATA[
  233. SELECT HEATPROCESSNO,HUDWID,EQUIPMENTNO,WSID,
  234. HEATNO,PLANSTEEL,ARRIVETIME,LEAVETIME,
  235. INSTATIONTIME,SWTIME,WHISKBEGINTIME,WHISKCLOSETIME,
  236. SB_FIRST_STARTIME,SB_FIRST_ENDTIME,SB_FIRST_TIME,
  237. FIRSTQUANTITY,SB_SECOND_STARTIME,SB_SECOND_ENDTIME,
  238. SB_SECOND_TIME,SECONDQUANTITY,SB_THIRD_STARTIME,
  239. SB_THIRD_ENDTIME,SB_THIRD_TIME,THIRDQUANTITY,
  240. CHURNUPDATE,SETCHURNUPDATE,DR_BEF_STARTTIME,
  241. DR_BEF_ENDTIME,DR_BEF_TIME,DR_BEF_WGT,DR_AFT_STARTTIME,
  242. DR_AFT_ENDTIME,DR_AFT_TIME,DR_AFT_WGT,DREFFECT,
  243. DFRSTARTTIME,DFRENDTIME,DFRTIME,SWFELEMENTCODE,
  244. SWFTEMPERATURE,SWBELEMENTCODE,SWBTEMPERATURE,
  245. SWBSPERCENT,IRONPOTGROSSWGT,IRONPOTTAREWGT,IRONWGT,
  246. ARRIVEWGTTIME,LEAVEWGTTIME,ARRIVEWGT,LEAVEWGT,
  247. IRONPOTBOFWGT,PRETEMPERATURE,BLOWSPEED,MOSTROTATESPEED,
  248. IRONPWRAPNO,POTAGE,MIX_REALITY_HEIGHT,MR_USER_TIMES,
  249. IRONSOURCE,MOLIRNLEAVE,RSSTOVENO,RSWGT,
  250. SBPRESS,SBPLUX,SBCONSUME,CAOCONSUME,
  251. SCONTENT,N2PLUX,N2CONSUME,N2PRESS,
  252. SGGNUMID,SGGAGE,SGGNUMNO,SIRONWGT,VFLAG,
  253. EXECUTESTATE,DFRSTATE,DFRWGT,RESERVSECANPRESSURE,
  254. VALVEOPENWIDTH,DRQUANTITY,NUMID,FORMER_S_VALUE,
  255. DREGSSOLVENT,SITH_S_VALUE,SHIFTCODE,OPTPERSONNEL,
  256. OPTDATE,UPDATETIME,MEMO
  257. FROM STL_HMP_OPTINFO
  258. WHERE HEATPROCESSNO = ?
  259. ]]>
  260. </query>
  261. <query id="GetSumData.DayBofNum" desc="查询本日炼制炉数" fetchSize="10">
  262. <![CDATA[
  263. SELECT a.sum1 + b.sum2
  264. from (select count(1) sum1
  265. from STL_BOF_OPTINFO
  266. where nvl(TAPPINGSTARTTIME,OPTDATE) between
  267. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  268. 'yyyy-MM-dd HH24:mi:ss') and
  269. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  270. 'yyyy-MM-dd HH24:mi:ss')) a,
  271. (select count(1) sum2
  272. from j#STL_BOF_OPTINFO
  273. where nvl(TAPPINGSTARTTIME,OPTDATE) between
  274. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  275. 'yyyy-MM-dd HH24:mi:ss') and
  276. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  277. 'yyyy-MM-dd HH24:mi:ss')) b
  278. ]]>
  279. </query>
  280. <query id="GetSumData.DayBofNum_New1" desc="查询本日炼制炉数(跨天班次当天生产炉数)" fetchSize="10">
  281. <![CDATA[
  282. SELECT a.sum1 + b.sum2
  283. from (select count(1) sum1
  284. from STL_BOF_OPTINFO
  285. where OPTDATE between
  286. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  287. 'yyyy-MM-dd HH24:mi:ss') and
  288. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  289. 'yyyy-MM-dd HH24:mi:ss')) a,
  290. (select count(1) sum2
  291. from j#STL_BOF_OPTINFO
  292. where OPTDATE between
  293. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  294. 'yyyy-MM-dd HH24:mi:ss') and
  295. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  296. 'yyyy-MM-dd HH24:mi:ss')) b
  297. ]]>
  298. </query>
  299. <query id="GetSumData.DayBofNum_New2" desc="查询本日炼制炉数(跨天班次跨天生产总炉数)" fetchSize="10">
  300. <![CDATA[
  301. SELECT a.sum1 + b.sum2
  302. from (select count(1) sum1
  303. from STL_BOF_OPTINFO
  304. where OPTDATE between
  305. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 20:00:00',
  306. 'yyyy-MM-dd HH24:mi:ss') and
  307. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:59:59',
  308. 'yyyy-MM-dd HH24:mi:ss')) a,
  309. (select count(1) sum2
  310. from j#STL_BOF_OPTINFO
  311. where OPTDATE between
  312. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 20:00:00',
  313. 'yyyy-MM-dd HH24:mi:ss') and
  314. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:59:59',
  315. 'yyyy-MM-dd HH24:mi:ss')) b
  316. ]]>
  317. </query>
  318. <query id="GetSumData.ShiftBofNum" desc="查询本班炼制炉数" fetchSize="10">
  319. <![CDATA[
  320. SELECT a.sum1 + b.sum2
  321. from (select count(1) sum1
  322. from STL_BOF_OPTINFO
  323. where OPTDATE between
  324. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  325. 'yyyy-MM-dd HH24:mi:ss') and
  326. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  327. 'yyyy-MM-dd HH24:mi:ss')
  328. and SHIFTCODE =
  329. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) a,
  330. (select count(1) sum2
  331. from j#STL_BOF_OPTINFO
  332. where OPTDATE between
  333. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  334. 'yyyy-MM-dd HH24:mi:ss') and
  335. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  336. 'yyyy-MM-dd HH24:mi:ss')
  337. and SHIFTCODE =
  338. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) b
  339. ]]>
  340. </query>
  341. <query id="GetSumData.ShiftBofNum_New1" desc="查询本班炼制炉数" fetchSize="10">
  342. <![CDATA[
  343. SELECT a.sum1 + b.sum2
  344. from (select count(1) sum1
  345. from STL_BOF_OPTINFO
  346. where OPTDATE between
  347. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  348. 'yyyy-MM-dd HH24:mi:ss') and
  349. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  350. 'yyyy-MM-dd HH24:mi:ss')
  351. and SHIFTCODE =
  352. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) a,
  353. (select count(1) sum2
  354. from j#STL_BOF_OPTINFO
  355. where OPTDATE between
  356. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  357. 'yyyy-MM-dd HH24:mi:ss') and
  358. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  359. 'yyyy-MM-dd HH24:mi:ss')
  360. and SHIFTCODE =
  361. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) b
  362. ]]>
  363. </query>
  364. <query id="GetSumData.ShiftBofNum_New2" desc="查询本班炼制炉数" fetchSize="10">
  365. <![CDATA[
  366. SELECT a.sum1 + b.sum2
  367. from (select count(1) sum1
  368. from STL_BOF_OPTINFO
  369. where OPTDATE between
  370. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 20:00:00',
  371. 'yyyy-MM-dd HH24:mi:ss') and
  372. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:59:59',
  373. 'yyyy-MM-dd HH24:mi:ss')
  374. and SHIFTCODE =
  375. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) a,
  376. (select count(1) sum2
  377. from j#STL_BOF_OPTINFO
  378. where OPTDATE between
  379. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 20:00:00',
  380. 'yyyy-MM-dd HH24:mi:ss') and
  381. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:59:59',
  382. 'yyyy-MM-dd HH24:mi:ss')
  383. and SHIFTCODE =
  384. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAL)) b
  385. ]]>
  386. </query>
  387. <query id="GetSumData.DayCcmNum" desc="获取本日连铸炉数 " fetchSize="10">
  388. <![CDATA[
  389. select a.sum1 + b.sum2
  390. from (select count(1) sum1
  391. from STL_CCM_OPTINFO
  392. where nvl(BALESTARTTIME,OPTDATE) between
  393. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  394. 'yyyy-MM-dd HH24:mi:ss') and
  395. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  396. 'yyyy-MM-dd HH24:mi:ss')) a,
  397. (select count(1) sum2
  398. from j#STL_CCM_OPTINFO
  399. where nvl(BALESTARTTIME,OPTDATE) between
  400. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  401. 'yyyy-MM-dd HH24:mi:ss') and
  402. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  403. 'yyyy-MM-dd HH24:mi:ss')) b
  404. ]]>
  405. </query>
  406. <query id="GetSumData.DayCcmNum_New1" desc="获取本日连铸炉数 " fetchSize="10">
  407. <![CDATA[
  408. select a.sum1 + b.sum2
  409. from (select count(1) sum1
  410. from STL_CCM_OPTINFO
  411. where OPTDATE between
  412. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  413. 'yyyy-MM-dd HH24:mi:ss') and
  414. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  415. 'yyyy-MM-dd HH24:mi:ss')) a,
  416. (select count(1) sum2
  417. from j#STL_CCM_OPTINFO
  418. where OPTDATE between
  419. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 20:00:00',
  420. 'yyyy-MM-dd HH24:mi:ss') and
  421. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  422. 'yyyy-MM-dd HH24:mi:ss')) b
  423. ]]>
  424. </query>
  425. <query id="GetSumData.DayCcmNum_New2" desc="获取本日连铸炉数 " fetchSize="10">
  426. <![CDATA[
  427. select a.sum1 + b.sum2
  428. from (select count(1) sum1
  429. from STL_CCM_OPTINFO
  430. where OPTDATE between
  431. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 19:50:00',
  432. 'yyyy-MM-dd HH24:mi:ss') and
  433. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:49:59',
  434. 'yyyy-MM-dd HH24:mi:ss')) a,
  435. (select count(1) sum2
  436. from j#STL_CCM_OPTINFO
  437. where OPTDATE between
  438. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 19:50:00',
  439. 'yyyy-MM-dd HH24:mi:ss') and
  440. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:49:59',
  441. 'yyyy-MM-dd HH24:mi:ss')) b
  442. ]]>
  443. </query>
  444. <query id="GetSumData.ShiftCcmNum" desc="获取本班连铸炉数 " fetchSize="10">
  445. <![CDATA[
  446. select a.sum1 + b.sum2
  447. from (select count(1) sum1
  448. from STL_CCM_OPTINFO
  449. where OPTDATE between
  450. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  451. 'yyyy-MM-dd HH24:mi:ss') and
  452. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  453. 'yyyy-MM-dd HH24:mi:ss')
  454. and SHIFTCODE =
  455. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) a,
  456. (select count(1) sum2
  457. from j#STL_CCM_OPTINFO
  458. where OPTDATE between
  459. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 00:00:00',
  460. 'yyyy-MM-dd HH24:mi:ss') and
  461. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  462. 'yyyy-MM-dd HH24:mi:ss')
  463. and SHIFTCODE =
  464. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) b
  465. ]]>
  466. </query>
  467. <query id="GetSumData.ShiftCcmNum_New1" desc="获取本班连铸炉数 " fetchSize="10">
  468. <![CDATA[
  469. select a.sum1 + b.sum2
  470. from (select count(1) sum1
  471. from STL_CCM_OPTINFO
  472. where OPTDATE between
  473. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:50:00',
  474. 'yyyy-MM-dd HH24:mi:ss') and
  475. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  476. 'yyyy-MM-dd HH24:mi:ss')
  477. and SHIFTCODE =
  478. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) a,
  479. (select count(1) sum2
  480. from j#STL_CCM_OPTINFO
  481. where OPTDATE between
  482. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:50:00',
  483. 'yyyy-MM-dd HH24:mi:ss') and
  484. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 23:59:59',
  485. 'yyyy-MM-dd HH24:mi:ss')
  486. and SHIFTCODE =
  487. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) b
  488. ]]>
  489. </query>
  490. <query id="GetSumData.ShiftCcmNum_New2" desc="获取本班连铸炉数 " fetchSize="10">
  491. <![CDATA[
  492. select a.sum1 + b.sum2
  493. from (select count(1) sum1
  494. from STL_CCM_OPTINFO
  495. where OPTDATE between
  496. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 19:50:00',
  497. 'yyyy-MM-dd HH24:mi:ss') and
  498. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:49:59',
  499. 'yyyy-MM-dd HH24:mi:ss')
  500. and SHIFTCODE =
  501. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) a,
  502. (select count(1) sum2
  503. from j#STL_CCM_OPTINFO
  504. where OPTDATE between
  505. to_date(to_char(sysdate - 1, 'yyyy-MM-dd') || ' 19:50:00',
  506. 'yyyy-MM-dd HH24:mi:ss') and
  507. to_date(to_char(sysdate, 'yyyy-MM-dd') || ' 19:49:59',
  508. 'yyyy-MM-dd HH24:mi:ss')
  509. and SHIFTCODE =
  510. (SELECT mes_lg_common.getlgshift1(sysdate) FROM DUAl)) b
  511. ]]>
  512. </query>
  513. <query id="GetRDT_Pointccm.Select" desc="获取连铸机切割拉速状态信息 " fetchSize="10">
  514. <![CDATA[
  515. select round(t1.S1CASTSPEED, 2) CCM01_S1CASTSPEED,
  516. round(t1.S2CASTSPEED, 2) CCM01_S2CASTSPEED,
  517. round(t1.S3CASTSPEED, 2) CCM01_S3CASTSPEED,
  518. round(t1.S4CASTSPEED, 2) CCM01_S4CASTSPEED,
  519. round(t1.S5CASTSPEED, 2) CCM01_S5CASTSPEED,
  520. decode(t2.s1cutting,1,'切割信号',decode(t2.s1casting,1,'浇铸模式',decode(t2.s1casttail,1,
  521. '在浇尾坯',decode(t2.s1castprep,1,'浇铸准备',decode(t2.s1castdumb,1,
  522. '送引锭杆',decode(t2.S1PREPMODE,1,'工作准备','')))))) CCM01_S1State,
  523. decode(t2.s2cutting,1,'切割信号',decode(t2.s2casting,1,'浇铸模式',decode(t2.s2casttail,1,
  524. '在浇尾坯',decode(t2.s2castprep,1,'浇铸准备',decode(t2.s2castdumb,1,
  525. '送引锭杆',decode(t2.S2PREPMODE,1,'工作准备','')))))) CCM01_S2State,
  526. decode(t2.s3cutting,1,'切割信号',decode(t2.s3casting,1,'浇铸模式',decode(t2.s3casttail,1,
  527. '在浇尾坯',decode(t2.s3castprep,1,'浇铸准备',decode(t2.s3castdumb,1,
  528. '送引锭杆',decode(t2.S3PREPMODE,1,'工作准备','')))))) CCM01_S3State,
  529. decode(t2.s4cutting,1,'切割信号',decode(t2.s4casting,1,'浇铸模式',decode(t2.s4casttail,1,
  530. '在浇尾坯',decode(t2.s4castprep,1,'浇铸准备',decode(t2.s4castdumb,1,
  531. '送引锭杆',decode(t2.S4PREPMODE,1,'工作准备','')))))) CCM01_S4State,
  532. decode(t2.s5cutting,1,'切割信号',decode(t2.s5casting,1,'浇铸模式',decode(t2.s5casttail,1,
  533. '在浇尾坯',decode(t2.s5castprep,1,'浇铸准备',decode(t2.s5castdumb,1,
  534. '送引锭杆',decode(t2.S5PREPMODE,1,'工作准备','')))))) CCM01_S5State,
  535. round(t3.S1CASTSPEED, 2) CCM02_S1CASTSPEED,
  536. round(t3.S2CASTSPEED, 2) CCM02_S2CASTSPEED,
  537. round(t3.S3CASTSPEED, 2) CCM02_S3CASTSPEED,
  538. round(t3.S4CASTSPEED, 2) CCM02_S4CASTSPEED,
  539. round(t3.S5CASTSPEED, 2) CCM02_S5CASTSPEED,
  540. decode(t4.s1cutting,1,'切割信号',decode(t4.s1casting,1,'浇铸模式',decode(t4.s1casttail,1,
  541. '在浇尾坯',decode(t4.s1castprep,1,'浇铸准备',decode(t4.s1castdumb,1,
  542. '送引锭杆',decode(t4.S1PREPMODE,1,'工作准备','')))))) CCM02_S1State,
  543. decode(t4.s2cutting,1,'切割信号',decode(t4.s2casting,1,'浇铸模式',decode(t4.s2casttail,1,
  544. '在浇尾坯',decode(t4.s2castprep,1,'浇铸准备',decode(t4.s2castdumb,1,
  545. '送引锭杆',decode(t4.S2PREPMODE,1,'工作准备','')))))) CCM02_S2State,
  546. decode(t4.s3cutting,1,'切割信号',decode(t4.s3casting,1,'浇铸模式',decode(t4.s3casttail,1,
  547. '在浇尾坯',decode(t4.s3castprep,1,'浇铸准备',decode(t4.s3castdumb,1,
  548. '送引锭杆',decode(t4.S3PREPMODE,1,'工作准备','')))))) CCM02_S3State,
  549. decode(t4.s4cutting,1,'切割信号',decode(t4.s4casting,1,'浇铸模式',decode(t4.s4casttail,1,
  550. '在浇尾坯',decode(t4.s4castprep,1,'浇铸准备',decode(t4.s4castdumb,1,
  551. '送引锭杆',decode(t4.S4PREPMODE,1,'工作准备','')))))) CCM02_S4State,
  552. decode(t4.s5cutting,1,'切割信号',decode(t4.s5casting,1,'浇铸模式',decode(t4.s5casttail,1,
  553. '在浇尾坯',decode(t4.s5castprep,1,'浇铸准备',decode(t4.s5castdumb,1,
  554. '送引锭杆',decode(t4.S5PREPMODE,1,'工作准备','')))))) CCM02_S5State,
  555. round(t5.S1CASTSPEED, 2) CCM03_S1CASTSPEED,
  556. round(t5.S2CASTSPEED, 2) CCM03_S2CASTSPEED,
  557. round(t5.S3CASTSPEED, 2) CCM03_S3CASTSPEED,
  558. round(t5.S4CASTSPEED, 2) CCM03_S4CASTSPEED,
  559. round(t5.S5CASTSPEED, 2) CCM03_S5CASTSPEED,
  560. decode(t6.s1cutting,1,'切割信号',decode(t6.s1casting,1,'浇铸模式',decode(t6.s1casttail,1,
  561. '在浇尾坯',decode(t6.s1castprep,1,'浇铸准备',decode(t6.s1castdumb,1,
  562. '送引锭杆',decode(t6.S1PREPMODE,1,'工作准备','')))))) CCM03_S1State,
  563. decode(t6.s2cutting,1,'切割信号',decode(t6.s2casting,1,'浇铸模式',decode(t6.s2casttail,1,
  564. '在浇尾坯',decode(t6.s2castprep,1,'浇铸准备',decode(t6.s2castdumb,1,
  565. '送引锭杆',decode(t6.S2PREPMODE,1,'工作准备','')))))) CCM03_S2State,
  566. decode(t6.s3cutting,1,'切割信号',decode(t6.s3casting,1,'浇铸模式',decode(t6.s3casttail,1,
  567. '在浇尾坯',decode(t6.s3castprep,1,'浇铸准备',decode(t6.s3castdumb,1,
  568. '送引锭杆',decode(t6.S3PREPMODE,1,'工作准备','')))))) CCM03_S3State,
  569. decode(t6.s4cutting,1,'切割信号',decode(t6.s4casting,1,'浇铸模式',decode(t6.s4casttail,1,
  570. '在浇尾坯',decode(t6.s4castprep,1,'浇铸准备',decode(t6.s4castdumb,1,
  571. '送引锭杆',decode(t6.S4PREPMODE,1,'工作准备','')))))) CCM03_S4State,
  572. decode(t6.s5cutting,1,'切割信号',decode(t6.s5casting,1,'浇铸模式',decode(t6.s5casttail,1,
  573. '在浇尾坯',decode(t6.s5castprep,1,'浇铸准备',decode(t6.s5castdumb,1,
  574. '送引锭杆',decode(t6.S5PREPMODE,1,'工作准备','')))))) CCM03_S5State,
  575. round(t7.S1CASTSPEED, 2) CCM04_S1CASTSPEED,
  576. round(t7.S2CASTSPEED, 2) CCM04_S2CASTSPEED,
  577. round(t7.S3CASTSPEED, 2) CCM04_S3CASTSPEED,
  578. round(t7.S4CASTSPEED, 2) CCM04_S4CASTSPEED,
  579. round(t7.S5CASTSPEED, 2) CCM04_S5CASTSPEED,
  580. decode(t8.s1cutting,1,'切割信号', decode(t8.s1casting,1,'浇铸模式',decode(t8.s1casttail,1,
  581. '在浇尾坯',decode(t8.s1castprep,1,'浇铸准备',decode(t8.s1castdumb,1,
  582. '送引锭杆',decode(t8.S1PREPMODE,1,'工作准备','')))))) CCM04_S1State,
  583. decode(t8.s2cutting,1,'切割信号', decode(t8.s2casting,1,'浇铸模式',decode(t8.s2casttail,1,
  584. '在浇尾坯',decode(t8.s2castprep,1,'浇铸准备',decode(t8.s2castdumb,1,
  585. '送引锭杆',decode(t8.S2PREPMODE,1, '工作准备','')))))) CCM04_S2State,
  586. decode(t8.s3cutting,1,'切割信号',decode(t8.s3casting,1,'浇铸模式', decode(t8.s3casttail, 1,
  587. '在浇尾坯',decode(t8.s3castprep,1,'浇铸准备',decode(t8.s3castdumb,1,
  588. '送引锭杆',decode(t8.S3PREPMODE,1, '工作准备','')))))) CCM04_S3State,
  589. decode(t8.s4cutting,1,'切割信号',decode(t8.s4casting,1, '浇铸模式',decode(t8.s4casttail,1,
  590. '在浇尾坯',decode(t8.s4castprep,1,'浇铸准备',decode(t8.s4castdumb,1,
  591. '送引锭杆',decode(t8.S4PREPMODE,1, '工作准备','')))))) CCM04_S4State,
  592. decode(t8.s5cutting,1,'切割信号',decode(t8.s5casting,1,'浇铸模式',decode(t8.s5casttail,1,
  593. '在浇尾坯',decode(t8.s5castprep,1,'浇铸准备',decode(t8.s5castdumb,1,
  594. '送引锭杆',decode(t8.S5PREPMODE,1, '工作准备','')))))) CCM04_S5State,
  595. round(XYQ1PRESSURE,2) XYQ1PRESSURE,
  596. round(XYQ2PRESSURE,2) XYQ2PRESSURE,
  597. round(XYQ3PRESSURE,2) XYQ3PRESSURE,
  598. round(XYQ4PRESSURE,2) XYQ4PRESSURE,
  599. round(XYQ5PRESSURE,2) XYQ5PRESSURE,
  600. round(XYQ6PRESSURE,2) XYQ6PRESSURE,
  601. ROUND(OXZYL, 2) OXZYL,
  602. round(RHSTEAMPRESSURE,2) RHSTEAMPRESSURE,
  603. round(RHSTEAMFLUX,2) RHSTEAMFLUX,
  604. round(ARPRESSURE,2) ARPRESSURE,
  605. round(VDSTEAMPRESSURE,2) VDSTEAMPRESSURE,
  606. round(VDSTEAMFLUX,2) VDSTEAMFLUX,
  607. round(BOF1O2PRESS,2) BOF1O2PRESS,
  608. round(BOF2O2PRESS,2) BOF2O2PRESS,
  609. round(MIDN2PRESS,2) MIDN2PRESS,
  610. round(DOWNN2PRESS,2) DOWNN2PRESS,
  611. round(JLCO2PRESS,2) JLCO2PRESS,
  612. round(BOFCO2PRESS,2) BOFCO2PRESS,
  613. round(BOF1O2FLUX,2) BOF1O2FLUX,
  614. round(BOF2O2FLUX,2) BOF2O2FLUX,
  615. round(FQG1PRESS,2) FQG1PRESS
  616. from
  617. rtd_pointccm1no1 t1,
  618. rtd_pointccm1no3 t2,
  619. rtd_pointccm2no1 t3,
  620. rtd_pointccm2no3 t4,
  621. rtd_pointccm3no1 t5,
  622. rtd_pointccm3no3 t6,
  623. rtd_pointccm4no1 t7,
  624. rtd_pointccm4no3 t8,
  625. rtd_pointlyjz1 t9
  626. ]]>
  627. </query>
  628. <query id="GetBofAdditive.Select" desc="获取转炉作业物料消耗 " fetchSize="10">
  629. <![CDATA[
  630. select round(sum(JMWGT)) JMWGT,
  631. HEATNO,
  632. 'C' || STATIONCODE STATIONCODE,
  633. DISPOSALTIME,
  634. MATERIELCODE,
  635. HOPPERNUMID,
  636. MATERIELTYPE,
  637. JMTYPE
  638. from STL_BOF_ADDITIVES
  639. where HEATNO = ?
  640. AND STATIONCODE = ?
  641. AND DISPOSALTIME = ?
  642. group by HEATNO,
  643. STATIONCODE,
  644. DISPOSALTIME,
  645. MATERIELCODE,
  646. HOPPERNUMID,
  647. MATERIELTYPE,
  648. JMTYPE
  649. ORDER BY STATIONCODE DESC, materieltype
  650. ]]>
  651. </query>
  652. <query id="GetGlobalBofSampling.Select" desc="获取转炉作业采样信息 " fetchSize="10">
  653. <![CDATA[
  654. select a.HEATPROCESSNO,
  655. a.SAMPLINGID,
  656. a.SAMPLINGNAME,
  657. a.HEATNO,
  658. a.STATIONCODE,
  659. a.DISPOSALTIME,
  660. a.SAMPLINGDEPICT,
  661. a.SAMPLINGVALUE,
  662. a.SAMPLINGDATE
  663. from STL_tempsampling a,
  664. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  665. FROM STL_tempsampling
  666. GROUP BY heatno, stationcode, disposaltime) b
  667. where a.heatno = b.heatno
  668. and a.stationcode = b.stationcode
  669. and a.disposaltime = b.disposaltime
  670. and a.samplingid = b.samplingid
  671. AND a.HEATNO = ?
  672. AND a.STATIONCODE = ?
  673. AND a.DISPOSALTIME = ?
  674. ]]>
  675. </query>
  676. <query id="GetCasAdditive.Select" desc="获取吹氩作业物料消耗信息 " fetchSize="10">
  677. <![CDATA[
  678. select sum(JMWGT) JMWGT,HEATNO,STATIONCODE,
  679. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  680. MATERIELTYPE,JMTYPE
  681. from (select JMWGT,HEATNO,
  682. 'D' || STATIONCODE STATIONCODE,
  683. DISPOSALTIME,MATERIELCODE,
  684. HOPPERNUMID,MATERIELTYPE,JMTYPE
  685. from STL_CAS_ADDITIVES
  686. WHERE HEATNO = ? AND STATIONCODE = ? AND DISPOSALTIME = ?
  687. union
  688. select JMWGT,HEATNO,'C' || STATIONCODE STATIONCODE,
  689. DISPOSALTIME,MATERIELCODE, HOPPERNUMID,
  690. MATERIELTYPE,JMTYPE
  691. from Stl_BOF_ADDITIVES
  692. WHERE HEATNO =? AND DISPOSALTIME =?) a
  693. group by STATIONCODE,DISPOSALTIME,MATERIELCODE,
  694. HOPPERNUMID,MATERIELTYPE,JMTYPE,HEATNO
  695. ORDER BY STATIONCODE DESC,materieltype
  696. ]]>
  697. </query>
  698. <query id="GetGlobalCasSampling.Select" desc="获取吹氩作业采样信息 " fetchSize="10">
  699. <![CDATA[
  700. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  701. a.HEATNO,a.STATIONCODE,a.DISPOSALTIME,
  702. a.SAMPLINGDEPICT,a.SAMPLINGVALUE,a.SAMPLINGDATE
  703. from stl_tempsampling a,
  704. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  705. FROM STL_tempsampling
  706. GROUP BY heatno, stationcode, disposaltime) b
  707. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO = ?
  708. union
  709. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  710. a.HEATNO,'D' || a.STATIONCODE STATIONCODE,
  711. a.DISPOSALTIME,a.SAMPLINGDEPICT,a.SAMPLINGVALUE,
  712. a.SAMPLINGDATE
  713. from STL_CAS_SAMPLING a,
  714. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  715. FROM STL_CAS_SAMPLING GROUP BY heatno, stationcode, disposaltime) b
  716. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO = ?
  717. AND a.DISPOSALTIME = ? ORDER BY STATIONCODE DESC,disposaltime
  718. ]]>
  719. </query>
  720. <query id="GetLfsAdditive.Select" desc="获取LF炉作业物料消耗信息 " fetchSize="10">
  721. <![CDATA[
  722. select sum(JMWGT) JMWGT,HEATNO,STATIONCODE,DISPOSALTIME,
  723. MATERIELCODE,HOPPERNUMID,MATERIELTYPE,JMTYPE
  724. from (select JMWGT,HEATNO,'E' || STATIONCODE STATIONCODE,
  725. DISPOSALTIME,MATERIELCODE,
  726. HOPPERNUMID,MATERIELTYPE,JMTYPE
  727. from STL_LFS_ADDITIVES
  728. WHERE HEATNO =? and STATIONCODE = ? AND DISPOSALTIME = ?
  729. union
  730. select JMWGT,HEATNO,'D' || STATIONCODE STATIONCODE,
  731. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  732. MATERIELTYPE,JMTYPE
  733. from STL_CAS_ADDITIVES WHERE HEATNO =?
  734. union
  735. select JMWGT,HEATNO,'C' || STATIONCODE STATIONCODE,
  736. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  737. MATERIELTYPE,JMTYPE
  738. from STL_BOF_ADDITIVES WHERE HEATNO = ? and DISPOSALTIME = ?) a
  739. group by STATIONCODE,DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  740. MATERIELTYPE,JMTYPE,HEATNO
  741. ORDER BY STATIONCODE DESC,materieltype
  742. ]]>
  743. </query>
  744. <query id="GetGlobalLfsSampling.Select" desc="获取LF炉作业采样信息 " fetchSize="10">
  745. <![CDATA[
  746. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  747. a.HEATNO,a.STATIONCODE,a.DISPOSALTIME,
  748. a.SAMPLINGDEPICT,a.SAMPLINGVALUE,a.SAMPLINGDATE
  749. from stl_tempsampling a,
  750. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  751. FROM STL_tempsampling
  752. GROUP BY heatno, stationcode, disposaltime) b
  753. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO =?
  754. union
  755. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  756. a.HEATNO,'E' || a.STATIONCODE STATIONCODE,
  757. a.DISPOSALTIME,a.SAMPLINGDEPICT,a.SAMPLINGVALUE,
  758. a.SAMPLINGDATE
  759. from STL_LFS_SAMPLING a,
  760. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  761. FROM STL_LFS_SAMPLING GROUP BY heatno, stationcode, disposaltime) b
  762. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO = ?
  763. AND a.DISPOSALTIME = ? ORDER BY STATIONCODE DESC,disposaltime
  764. ]]>
  765. </query>
  766. <query id="GetRhsAdditive.Select" desc="获取RH炉作业物料消耗信息 " fetchSize="10">
  767. <![CDATA[
  768. select sum(JMWGT) JMWGT,HEATNO,STATIONCODE,DISPOSALTIME,
  769. MATERIELCODE,HOPPERNUMID,MATERIELTYPE,JMTYPE
  770. from (select JMWGT,HEATNO,'F' || STATIONCODE STATIONCODE,
  771. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  772. MATERIELTYPE,JMTYPE
  773. from STL_RHS_ADDITIVES WHERE HEATNO =? and STATIONCODE =?
  774. AND DISPOSALTIME =?
  775. union
  776. select JMWGT,HEATNO,'E' || STATIONCODE STATIONCODE,
  777. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  778. MATERIELTYPE,JMTYPE
  779. from STL_LFS_ADDITIVES WHERE HEATNO =?
  780. union
  781. select JMWGT,HEATNO,'D' || STATIONCODE STATIONCODE,
  782. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  783. MATERIELTYPE,JMTYPE
  784. from STL_CAS_ADDITIVES
  785. WHERE HEATNO =?
  786. union
  787. select JMWGT,HEATNO,'C' || STATIONCODE STATIONCODE,
  788. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  789. MATERIELTYPE,JMTYPE
  790. from STL_BOF_ADDITIVES WHERE HEATNO =? and DISPOSALTIME =?) a
  791. group by STATIONCODE,DISPOSALTIME,MATERIELCODE,
  792. HOPPERNUMID,MATERIELTYPE,JMTYPE, HEATNO
  793. ORDER BY STATIONCODE DESC, materieltype
  794. ]]>
  795. </query>
  796. <query id="GetGlobalRhsSampling.Select" desc="获取RH炉作业采样信息 " fetchSize="10">
  797. <![CDATA[
  798. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  799. a.HEATNO,a.STATIONCODE,a.DISPOSALTIME,
  800. a.SAMPLINGDEPICT,a.SAMPLINGVALUE,a.SAMPLINGDATE
  801. from stl_tempsampling a,
  802. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  803. FROM STL_tempsampling
  804. GROUP BY heatno, stationcode, disposaltime) b
  805. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO =?
  806. union
  807. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  808. a.HEATNO,'F' || a.STATIONCODE STATIONCODE,
  809. a.DISPOSALTIME,a.SAMPLINGDEPICT,a.SAMPLINGVALUE,
  810. a.SAMPLINGDATE
  811. from STL_RHS_SAMPLING a,
  812. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  813. FROM STL_RHS_SAMPLING GROUP BY heatno, stationcode, disposaltime) b
  814. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO = ?
  815. AND a.DISPOSALTIME = ? ORDER BY STATIONCODE DESC,disposaltime
  816. ]]>
  817. </query>
  818. <query id="GetVdsAdditive.Select" desc="获取VD炉作业物料消耗信息 " fetchSize="10">
  819. <![CDATA[
  820. select sum(JMWGT) JMWGT,HEATNO,STATIONCODE,DISPOSALTIME,
  821. MATERIELCODE,HOPPERNUMID,MATERIELTYPE,JMTYPE
  822. from (
  823. select JMWGT,HEATNO,'I' || STATIONCODE STATIONCODE,
  824. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  825. MATERIELTYPE,JMTYPE
  826. from STL_VDS_ADDITIVES WHERE HEATNO =? and STATIONCODE =?
  827. AND DISPOSALTIME =?
  828. union
  829. select JMWGT,HEATNO,'F' || STATIONCODE STATIONCODE,
  830. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  831. MATERIELTYPE,JMTYPE
  832. from STL_RHS_ADDITIVES WHERE HEATNO =?
  833. union
  834. select JMWGT,HEATNO,'E' || STATIONCODE STATIONCODE,
  835. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  836. MATERIELTYPE,JMTYPE
  837. from STL_LFS_ADDITIVES WHERE HEATNO =?
  838. union
  839. select JMWGT,HEATNO,'D' || STATIONCODE STATIONCODE,
  840. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  841. MATERIELTYPE,JMTYPE
  842. from STL_CAS_ADDITIVES
  843. WHERE HEATNO =?
  844. union
  845. select JMWGT,HEATNO,'C' || STATIONCODE STATIONCODE,
  846. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  847. MATERIELTYPE,JMTYPE
  848. from STL_BOF_ADDITIVES WHERE HEATNO =? and DISPOSALTIME =?) a
  849. group by STATIONCODE,DISPOSALTIME,MATERIELCODE,
  850. HOPPERNUMID,MATERIELTYPE,JMTYPE, HEATNO
  851. ORDER BY STATIONCODE DESC, materieltype
  852. ]]>
  853. </query>
  854. <query id="GetGlobalVdsSampling.Select" desc="获取VD炉作业采样信息 " fetchSize="10">
  855. <![CDATA[
  856. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  857. a.HEATNO,a.STATIONCODE,a.DISPOSALTIME,
  858. a.SAMPLINGDEPICT,a.SAMPLINGVALUE,a.SAMPLINGDATE
  859. from stl_tempsampling a,
  860. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  861. FROM STL_tempsampling
  862. GROUP BY heatno, stationcode, disposaltime) b
  863. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO =?
  864. union
  865. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  866. a.HEATNO,'I' || a.STATIONCODE STATIONCODE,
  867. a.DISPOSALTIME,a.SAMPLINGDEPICT,a.SAMPLINGVALUE,
  868. a.SAMPLINGDATE
  869. from STL_VDS_SAMPLING a,
  870. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  871. FROM STL_VDS_SAMPLING GROUP BY heatno, stationcode, disposaltime) b
  872. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO = ?
  873. AND a.DISPOSALTIME = ? ORDER BY STATIONCODE DESC,disposaltime
  874. ]]>
  875. </query>
  876. <query id="GetCcmAdditive.Select" desc="获取其它工序作业物料消耗信息 " fetchSize="10">
  877. <![CDATA[
  878. select sum(JMWGT) JMWGT,HEATNO,STATIONCODE,DISPOSALTIME,
  879. MATERIELCODE,HOPPERNUMID,MATERIELTYPE,JMTYPE
  880. from (
  881. select JMWGT,HEATNO,'I' || STATIONCODE STATIONCODE,
  882. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  883. MATERIELTYPE,JMTYPE
  884. from STL_VDS_ADDITIVES WHERE HEATNO =? and STATIONCODE =?
  885. AND DISPOSALTIME =?
  886. union
  887. select JMWGT,HEATNO,'F' || STATIONCODE STATIONCODE,
  888. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  889. MATERIELTYPE,JMTYPE
  890. from STL_RHS_ADDITIVES WHERE HEATNO =?
  891. union
  892. select JMWGT,HEATNO,'E' || STATIONCODE STATIONCODE,
  893. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  894. MATERIELTYPE,JMTYPE
  895. from STL_LFS_ADDITIVES WHERE HEATNO =?
  896. union
  897. select JMWGT,HEATNO,'D' || STATIONCODE STATIONCODE,
  898. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  899. MATERIELTYPE,JMTYPE
  900. from STL_CAS_ADDITIVES
  901. WHERE HEATNO =?
  902. union
  903. select JMWGT,HEATNO,'C' || STATIONCODE STATIONCODE,
  904. DISPOSALTIME,MATERIELCODE,HOPPERNUMID,
  905. MATERIELTYPE,JMTYPE
  906. from STL_BOF_ADDITIVES WHERE HEATNO =? and DISPOSALTIME =?) a
  907. group by STATIONCODE,DISPOSALTIME,MATERIELCODE,
  908. HOPPERNUMID,MATERIELTYPE,JMTYPE, HEATNO
  909. ORDER BY STATIONCODE DESC, materieltype
  910. ]]>
  911. </query>
  912. <query id="GetGlobalCcmSampling.Select" desc="获取连铸机作业采样信息 " fetchSize="10">
  913. <![CDATA[
  914. select a.HEATPROCESSNO,a.SAMPLINGID,a.SAMPLINGNAME,
  915. a.HEATNO,a.STATIONCODE,a.DISPOSALTIME,
  916. a.SAMPLINGDEPICT,a.SAMPLINGVALUE,a.SAMPLINGDATE
  917. from stl_tempsampling a,
  918. (SELECT heatno, stationcode, disposaltime, MAX(samplingid) samplingid
  919. FROM STL_tempsampling
  920. GROUP BY heatno, stationcode, disposaltime) b
  921. where a.heatno = b.heatno and a.stationcode = b.stationcode AND a.HEATNO =?
  922. ]]>
  923. </query>
  924. <query id="GetGlobalCcmF1Sampling.Select" desc="获取1#连铸机拉速、配水采样信息 " fetchSize="10">
  925. <![CDATA[
  926. select samplingid,
  927. heatprocessno,
  928. heatno,
  929. stationcode,
  930. disposaltime,
  931. armladleaweight,
  932. armladlebweight,
  933. armacastpos,
  934. armbcastpos,
  935. midladle1weight,
  936. midladle2weight,
  937. midladletemp,
  938. midladletemp1,
  939. midladletemp2,
  940. ladletemperature,
  941. coolwatertotalpressure,
  942. coolwatertotaltemp,
  943. coolwatertotalflux,
  944. crylwatertotalpressure,
  945. crylwatertotaltemp,
  946. clearwatertotalpressure,
  947. dirtywatertotalpressure,
  948. devicewatertotalpressure,
  949. pressedairflux,
  950. pressedairpressure,
  951. s1castspeed,
  952. s2castspeed,
  953. s3castspeed,
  954. s4castspeed,
  955. s5castspeed,
  956. s1castinglength,
  957. s2castinglength,
  958. s1drawsteellength,
  959. s2drawsteellength,
  960. s3drawsteellength,
  961. s4drawsteellength,
  962. s5drawsteellength,
  963. s1castingmode,
  964. s2castingmode,
  965. s1crinwatertemp,
  966. s1crnarrowloutwatertemp,
  967. s1crinnerarcwatertemp,
  968. s1croutsidearcwatertemp,
  969. s1crnarrowroutwatertemp,
  970. s2crinwatertemp,
  971. s2crnarrowloutwatertemp,
  972. s2crinnerarcwatertemp,
  973. s2croutsidearcwatertemp,
  974. s2crnarrowroutwatertemp,
  975. s1crinwaterpres,
  976. s1crnarrowloutwaterpres,
  977. s1crinnerarcwaterpres,
  978. s1croutsidearcwaterpres,
  979. s1crnarrowroutwaterpres,
  980. s2crinwaterpres,
  981. s2crnarrowloutwaterpres,
  982. s2crinnerarcwaterpres,
  983. s2croutsidearcwaterpres,
  984. s2crnarrowroutwaterpres,
  985. s1crvibratorfrequency,
  986. s2crvibratorfrequency,
  987. s1cramplitude,
  988. s2cramplitude,
  989. s1crinwatertotalflux,
  990. s1crnarrowloutwaterflux,
  991. s1crinnerarcwaterflux,
  992. s1croutsidearcwaterflux,
  993. s1crnarrowroutwaterflux,
  994. s1crnarrowloutwatertempdiff,
  995. s1crinnerarcwatertempdiff,
  996. s1croutsidearcwatertempdiff,
  997. s1crnarrowroutwatertempdiff,
  998. s2crinwatertotalflux,
  999. s2crnarrowloutwaterflux,
  1000. s2crinnerarcwaterflux,
  1001. s2croutsidearcwaterflux,
  1002. s2crnarrowroutwaterflux,
  1003. s2crnarrowloutwatertempdiff,
  1004. s2crinnerarcwatertempdiff,
  1005. s2croutsidearcwatertempdiff,
  1006. s2crnarrowroutwatertempdiff,
  1007. s1seg1waternarrowlrflux,
  1008. s1seg1waterarcflux,
  1009. s1seg2waterarcflux,
  1010. s1seg3waterinnerarceflux,
  1011. s1seg3waterinnerarcmflux,
  1012. s1seg3wateroutsidearceflux,
  1013. s1seg3wateroutsidearcmflux,
  1014. s1seg4waterinnerarceflux,
  1015. s1seg4waterinnerarcmflux,
  1016. s1seg4wateroutsidearceflux,
  1017. s1seg4wateroutsidearcmflux,
  1018. s1seg5waterinnerarceflux,
  1019. s1seg5waterinnerarcmflux,
  1020. s1seg5wateroutsidearceflux,
  1021. s1seg5wateroutsidearcmflux,
  1022. s1seg6waterinnerarceflux,
  1023. s1seg6waterinnerarcmflux,
  1024. s1seg6wateroutsidearceflux,
  1025. s1seg6wateroutsidearcmflux,
  1026. s1seg7waterinnerarceflux,
  1027. s1seg7waterinnerarcmflux,
  1028. s1seg7wateroutsidearceflux,
  1029. s1seg7wateroutsidearcmflux,
  1030. s1seg8waterinnerarceflux,
  1031. s1seg8waterinnerarcmflux,
  1032. s1seg8wateroutsidearceflux,
  1033. s1seg8wateroutsidearcmflux,
  1034. s1seg9waterinnerarcflux,
  1035. s1seg9wateroutsidearcflux,
  1036. s1seg10waterinnerarcflux,
  1037. s1seg10wateroutsidearcflux,
  1038. s1seg1waternarrowlrpres,
  1039. s1seg1waterarcpres,
  1040. s1seg2waterarcpres,
  1041. s1seg3waterinnerarcepres,
  1042. s1seg3waterinnerarcmpres,
  1043. s1seg3wateroutsidearcepres,
  1044. s1seg3wateroutsidearcmpres,
  1045. s1seg4waterinnerarcepres,
  1046. s1seg4waterinnerarcmpres,
  1047. s1seg4wateroutsidearcepres,
  1048. s1seg4wateroutsidearcmpres,
  1049. s1seg5waterinnerarcepres,
  1050. s1seg5waterinnerarcmpres,
  1051. s1seg5wateroutsidearcepres,
  1052. s1seg5wateroutsidearcmpres,
  1053. s1seg6waterinnerarcepres,
  1054. s1seg6waterinnerarcmpres,
  1055. s1seg6wateroutsidearcepres,
  1056. s1seg6wateroutsidearcmpres,
  1057. s1seg7waterinnerarcepres,
  1058. s1seg7waterinnerarcmpres,
  1059. s1seg7wateroutsidearcepres,
  1060. s1seg7wateroutsidearcmpres,
  1061. s1seg8waterinnerarcepres,
  1062. s1seg8waterinnerarcmpres,
  1063. s1seg8wateroutsidearcepres,
  1064. s1seg8wateroutsidearcmpres,
  1065. s1seg9waterinnerarcpres,
  1066. s1seg9wateroutsidearcpres,
  1067. s1seg10waterinnerarcpres,
  1068. s1seg10wateroutsidearcpres,
  1069. s1segairintotalflux,
  1070. s1segair2to3arcmpres,
  1071. s1segair3arcepres,
  1072. s1segair4to8arcmpres,
  1073. s1segair4to8arcepres,
  1074. s1segair9to10arcpres,
  1075. s2seg1waternarrowlrflux,
  1076. s2seg1waterarcflux,
  1077. s2seg2waterarcflux,
  1078. s2seg3waterinnerarceflux,
  1079. s2seg3waterinnerarcmflux,
  1080. s2seg3wateroutsidearceflux,
  1081. s2seg3wateroutsidearcmflux,
  1082. s2seg4waterinnerarceflux,
  1083. s2seg4waterinnerarcmflux,
  1084. s2seg4wateroutsidearceflux,
  1085. s2seg4wateroutsidearcmflux,
  1086. s2seg5waterinnerarceflux,
  1087. s2seg5waterinnerarcmflux,
  1088. s2seg5wateroutsidearceflux,
  1089. s2seg5wateroutsidearcmflux,
  1090. s2seg6waterinnerarceflux,
  1091. s2seg6waterinnerarcmflux,
  1092. s2seg6wateroutsidearceflux,
  1093. s2seg6wateroutsidearcmflux,
  1094. s2seg7waterinnerarceflux,
  1095. s2seg7waterinnerarcmflux,
  1096. s2seg7wateroutsidearceflux,
  1097. s2seg7wateroutsidearcmflux,
  1098. s2seg8waterinnerarceflux,
  1099. s2seg8waterinnerarcmflux,
  1100. s2seg8wateroutsidearceflux,
  1101. s2seg8wateroutsidearcmflux,
  1102. s2seg9waterinnerarcflux,
  1103. s2seg9wateroutsidearcflux,
  1104. s2seg10waterinnerarcflux,
  1105. s2seg10wateroutsidearcflux,
  1106. s2seg1waternarrowlrpres,
  1107. s2seg1waterarcpres,
  1108. s2seg2waterarcpres,
  1109. s2seg3waterinnerarcepres,
  1110. s2seg3waterinnerarcmpres,
  1111. s2seg3wateroutsidearcepres,
  1112. s2seg3wateroutsidearcmpres,
  1113. s2seg4waterinnerarcepres,
  1114. s2seg4waterinnerarcmpres,
  1115. s2seg4wateroutsidearcepres,
  1116. s2seg4wateroutsidearcmpres,
  1117. s2seg5waterinnerarcepres,
  1118. s2seg5waterinnerarcmpres,
  1119. s2seg5wateroutsidearcepres,
  1120. s2seg5wateroutsidearcmpres,
  1121. s2seg6waterinnerarcepres,
  1122. s2seg6waterinnerarcmpres,
  1123. s2seg6wateroutsidearcepres,
  1124. s2seg6wateroutsidearcmpres,
  1125. s2seg7waterinnerarcepres,
  1126. s2seg7waterinnerarcmpres,
  1127. s2seg7wateroutsidearcepres,
  1128. s2seg7wateroutsidearcmpres,
  1129. s2seg8waterinnerarcepres,
  1130. s2seg8waterinnerarcmpres,
  1131. s2seg8wateroutsidearcepres,
  1132. s2seg8wateroutsidearcmpres,
  1133. s2seg9waterinnerarcpres,
  1134. s2seg9wateroutsidearcpres,
  1135. s2seg10waterinnerarcpres,
  1136. s2seg10wateroutsidearcpres,
  1137. s2segairintotalflux,
  1138. s2segair2to3arcmpres,
  1139. s2segair3arcepres,
  1140. s2segair4to8arcmpres,
  1141. s2segair4to8arcepres,
  1142. s2segair9to10arcpres,
  1143. lastfreshtime,
  1144. isvalid,
  1145. operator,
  1146. optdate,
  1147. S1CRYSTALCODE,
  1148. S2CRYSTALCODE
  1149. From (select *
  1150. from stl_ccm_f1sampling
  1151. WHERE Heatno = ?
  1152. and StationCode = ?
  1153. and DisposalTime = ?
  1154. and samplingid = (select Max(samplingid)
  1155. from stl_ccm_f1sampling
  1156. WHERE Heatno = ?
  1157. and StationCode = ?
  1158. and DisposalTime = ?)
  1159. ORDER BY SAMPLINGID DESC) t,
  1160. (select S1CRYSTALCODE,
  1161. S2CRYSTALCODE
  1162. from stl_ccm_mouldinfo t, stl_ccm_optinfo t1
  1163. where t.mouldno = t1.mouldno
  1164. and Heatno = ?
  1165. and StationCode = ?
  1166. and DisposalTime = ? ) t1
  1167. ]]>
  1168. </query>
  1169. <query id="GetGlobalCcmF2Sampling.Select" desc="获取2#连铸机拉速、配水采样信息 " fetchSize="10">
  1170. <![CDATA[
  1171. select samplingid,
  1172. heatprocessno,
  1173. heatno,
  1174. stationcode,
  1175. disposaltime,
  1176. armladleaweight,
  1177. armladlebweight,
  1178. armacastpos,
  1179. armbcastpos,
  1180. midladle1weight,
  1181. midladle2weight,
  1182. midladletemp,
  1183. midladletemp1,
  1184. midladletemp2,
  1185. ladletemperature,
  1186. coolwatertotalpressure,
  1187. coolwatertotaltemp,
  1188. coolwatertotalflux,
  1189. crylwatertotalpressure,
  1190. crylwatertotaltemp,
  1191. clearwatertotalpressure,
  1192. dirtywatertotalpressure,
  1193. devicewatertotalpressure,
  1194. pressedairflux,
  1195. pressedairpressure,
  1196. s1castspeed,
  1197. s2castspeed,
  1198. s3castspeed,
  1199. s4castspeed,
  1200. s5castspeed,
  1201. s1castinglength,
  1202. s2castinglength,
  1203. s1drawsteellength,
  1204. s2drawsteellength,
  1205. s3drawsteellength,
  1206. s4drawsteellength,
  1207. s5drawsteellength,
  1208. s1castingmode,
  1209. s2castingmode,
  1210. s1crinwatertemp,
  1211. s1crnarrowloutwatertemp,
  1212. s1crinnerarcwatertemp,
  1213. s1croutsidearcwatertemp,
  1214. s1crnarrowroutwatertemp,
  1215. s2crinwatertemp,
  1216. s2crnarrowloutwatertemp,
  1217. s2crinnerarcwatertemp,
  1218. s2croutsidearcwatertemp,
  1219. s2crnarrowroutwatertemp,
  1220. s1crinwaterpres,
  1221. s1crnarrowloutwaterpres,
  1222. s1crinnerarcwaterpres,
  1223. s1croutsidearcwaterpres,
  1224. s1crnarrowroutwaterpres,
  1225. s2crinwaterpres,
  1226. s2crnarrowloutwaterpres,
  1227. s2crinnerarcwaterpres,
  1228. s2croutsidearcwaterpres,
  1229. s2crnarrowroutwaterpres,
  1230. s1crvibratorfrequency,
  1231. s2crvibratorfrequency,
  1232. s1cramplitude,
  1233. s2cramplitude,
  1234. s1crinwatertotalflux,
  1235. s1crnarrowloutwaterflux,
  1236. s1crinnerarcwaterflux,
  1237. s1croutsidearcwaterflux,
  1238. s1crnarrowroutwaterflux,
  1239. s1crnarrowloutwatertempdiff,
  1240. s1crinnerarcwatertempdiff,
  1241. s1croutsidearcwatertempdiff,
  1242. s1crnarrowroutwatertempdiff,
  1243. s2crinwatertotalflux,
  1244. s2crnarrowloutwaterflux,
  1245. s2crinnerarcwaterflux,
  1246. s2croutsidearcwaterflux,
  1247. s2crnarrowroutwaterflux,
  1248. s2crnarrowloutwatertempdiff,
  1249. s2crinnerarcwatertempdiff,
  1250. s2croutsidearcwatertempdiff,
  1251. s2crnarrowroutwatertempdiff,
  1252. s1seg1waternarrowlrflux,
  1253. s1seg1waterarcflux,
  1254. s1seg2waterarcflux,
  1255. s1seg3waterinnerarceflux,
  1256. s1seg3waterinnerarcmflux,
  1257. s1seg3wateroutsidearceflux,
  1258. s1seg3wateroutsidearcmflux,
  1259. s1seg4waterinnerarceflux,
  1260. s1seg4waterinnerarcmflux,
  1261. s1seg4wateroutsidearceflux,
  1262. s1seg4wateroutsidearcmflux,
  1263. s1seg5waterinnerarceflux,
  1264. s1seg5waterinnerarcmflux,
  1265. s1seg5wateroutsidearceflux,
  1266. s1seg5wateroutsidearcmflux,
  1267. s1seg6waterinnerarceflux,
  1268. s1seg6waterinnerarcmflux,
  1269. s1seg6wateroutsidearceflux,
  1270. s1seg6wateroutsidearcmflux,
  1271. s1seg7waterinnerarceflux,
  1272. s1seg7waterinnerarcmflux,
  1273. s1seg7wateroutsidearceflux,
  1274. s1seg7wateroutsidearcmflux,
  1275. s1seg8waterinnerarceflux,
  1276. s1seg8waterinnerarcmflux,
  1277. s1seg8wateroutsidearceflux,
  1278. s1seg8wateroutsidearcmflux,
  1279. s1seg9waterinnerarcflux,
  1280. s1seg9wateroutsidearcflux,
  1281. s1seg10waterinnerarcflux,
  1282. s1seg10wateroutsidearcflux,
  1283. s1seg1waternarrowlrpres,
  1284. s1seg1waterarcpres,
  1285. s1seg2waterarcpres,
  1286. s1seg3waterinnerarcepres,
  1287. s1seg3waterinnerarcmpres,
  1288. s1seg3wateroutsidearcepres,
  1289. s1seg3wateroutsidearcmpres,
  1290. s1seg4waterinnerarcepres,
  1291. s1seg4waterinnerarcmpres,
  1292. s1seg4wateroutsidearcepres,
  1293. s1seg4wateroutsidearcmpres,
  1294. s1seg5waterinnerarcepres,
  1295. s1seg5waterinnerarcmpres,
  1296. s1seg5wateroutsidearcepres,
  1297. s1seg5wateroutsidearcmpres,
  1298. s1seg6waterinnerarcepres,
  1299. s1seg6waterinnerarcmpres,
  1300. s1seg6wateroutsidearcepres,
  1301. s1seg6wateroutsidearcmpres,
  1302. s1seg7waterinnerarcepres,
  1303. s1seg7waterinnerarcmpres,
  1304. s1seg7wateroutsidearcepres,
  1305. s1seg7wateroutsidearcmpres,
  1306. s1seg8waterinnerarcepres,
  1307. s1seg8waterinnerarcmpres,
  1308. s1seg8wateroutsidearcepres,
  1309. s1seg8wateroutsidearcmpres,
  1310. s1seg9waterinnerarcpres,
  1311. s1seg9wateroutsidearcpres,
  1312. s1seg10waterinnerarcpres,
  1313. s1seg10wateroutsidearcpres,
  1314. s1segairintotalflux,
  1315. s1segair2to3arcmpres,
  1316. s1segair3arcepres,
  1317. s1segair4to8arcmpres,
  1318. s1segair4to8arcepres,
  1319. s1segair9to10arcpres,
  1320. s2seg1waternarrowlrflux,
  1321. s2seg1waterarcflux,
  1322. s2seg2waterarcflux,
  1323. s2seg3waterinnerarceflux,
  1324. s2seg3waterinnerarcmflux,
  1325. s2seg3wateroutsidearceflux,
  1326. s2seg3wateroutsidearcmflux,
  1327. s2seg4waterinnerarceflux,
  1328. s2seg4waterinnerarcmflux,
  1329. s2seg4wateroutsidearceflux,
  1330. s2seg4wateroutsidearcmflux,
  1331. s2seg5waterinnerarceflux,
  1332. s2seg5waterinnerarcmflux,
  1333. s2seg5wateroutsidearceflux,
  1334. s2seg5wateroutsidearcmflux,
  1335. s2seg6waterinnerarceflux,
  1336. s2seg6waterinnerarcmflux,
  1337. s2seg6wateroutsidearceflux,
  1338. s2seg6wateroutsidearcmflux,
  1339. s2seg7waterinnerarceflux,
  1340. s2seg7waterinnerarcmflux,
  1341. s2seg7wateroutsidearceflux,
  1342. s2seg7wateroutsidearcmflux,
  1343. s2seg8waterinnerarceflux,
  1344. s2seg8waterinnerarcmflux,
  1345. s2seg8wateroutsidearceflux,
  1346. s2seg8wateroutsidearcmflux,
  1347. s2seg9waterinnerarcflux,
  1348. s2seg9wateroutsidearcflux,
  1349. s2seg10waterinnerarcflux,
  1350. s2seg10wateroutsidearcflux,
  1351. s2seg1waternarrowlrpres,
  1352. s2seg1waterarcpres,
  1353. s2seg2waterarcpres,
  1354. s2seg3waterinnerarcepres,
  1355. s2seg3waterinnerarcmpres,
  1356. s2seg3wateroutsidearcepres,
  1357. s2seg3wateroutsidearcmpres,
  1358. s2seg4waterinnerarcepres,
  1359. s2seg4waterinnerarcmpres,
  1360. s2seg4wateroutsidearcepres,
  1361. s2seg4wateroutsidearcmpres,
  1362. s2seg5waterinnerarcepres,
  1363. s2seg5waterinnerarcmpres,
  1364. s2seg5wateroutsidearcepres,
  1365. s2seg5wateroutsidearcmpres,
  1366. s2seg6waterinnerarcepres,
  1367. s2seg6waterinnerarcmpres,
  1368. s2seg6wateroutsidearcepres,
  1369. s2seg6wateroutsidearcmpres,
  1370. s2seg7waterinnerarcepres,
  1371. s2seg7waterinnerarcmpres,
  1372. s2seg7wateroutsidearcepres,
  1373. s2seg7wateroutsidearcmpres,
  1374. s2seg8waterinnerarcepres,
  1375. s2seg8waterinnerarcmpres,
  1376. s2seg8wateroutsidearcepres,
  1377. s2seg8wateroutsidearcmpres,
  1378. s2seg9waterinnerarcpres,
  1379. s2seg9wateroutsidearcpres,
  1380. s2seg10waterinnerarcpres,
  1381. s2seg10wateroutsidearcpres,
  1382. s2segairintotalflux,
  1383. s2segair2to3arcmpres,
  1384. s2segair3arcepres,
  1385. s2segair4to8arcmpres,
  1386. s2segair4to8arcepres,
  1387. s2segair9to10arcpres,
  1388. lastfreshtime,
  1389. isvalid,
  1390. operator,
  1391. optdate,
  1392. S1CRYSTALCODE,
  1393. S2CRYSTALCODE
  1394. From (select *
  1395. from stl_ccm_f2sampling
  1396. WHERE Heatno = ?
  1397. and StationCode = ?
  1398. and DisposalTime = ?
  1399. and samplingid = (select Max(samplingid)
  1400. from stl_ccm_f2sampling
  1401. WHERE Heatno = ?
  1402. and StationCode = ?
  1403. and DisposalTime = ?)
  1404. ORDER BY SAMPLINGID DESC) t,
  1405. (select S1CRYSTALCODE,
  1406. S2CRYSTALCODE
  1407. from stl_ccm_mouldinfo t, stl_ccm_optinfo t1
  1408. where t.mouldno = t1.mouldno
  1409. and Heatno = ?
  1410. and StationCode = ?
  1411. and DisposalTime = ? ) t1
  1412. ]]>
  1413. </query>
  1414. <query id="GetGlobalCcmF3Sampling.Select" desc="获取3#连铸机拉速、配水采样信息 " fetchSize="10">
  1415. <![CDATA[
  1416. select samplingid,
  1417. heatprocessno,
  1418. heatno,
  1419. stationcode,
  1420. disposaltime,
  1421. armladleaweight,
  1422. armladlebweight,
  1423. armacastpos,
  1424. armbcastpos,
  1425. midladle1weight,
  1426. midladle2weight,
  1427. midladletemp,
  1428. midladletemp1,
  1429. midladletemp2,
  1430. ladletemperature,
  1431. coolwatertotalpressure,
  1432. coolwatertotaltemp,
  1433. coolwatertotalflux,
  1434. crylwatertotalpressure,
  1435. crylwatertotaltemp,
  1436. clearwatertotalpressure,
  1437. dirtywatertotalpressure,
  1438. devicewatertotalpressure,
  1439. pressedairflux,
  1440. pressedairpressure,
  1441. s1castspeed,
  1442. s2castspeed,
  1443. s3castspeed,
  1444. s4castspeed,
  1445. s5castspeed,
  1446. s1castinglength,
  1447. s2castinglength,
  1448. s1drawsteellength,
  1449. s2drawsteellength,
  1450. s3drawsteellength,
  1451. s4drawsteellength,
  1452. s5drawsteellength,
  1453. s1castingmode,
  1454. s2castingmode,
  1455. s1crinwatertemp,
  1456. s1crnarrowloutwatertemp,
  1457. s1crinnerarcwatertemp,
  1458. s1croutsidearcwatertemp,
  1459. s1crnarrowroutwatertemp,
  1460. s1crinwaterpres,
  1461. s1crnarrowloutwaterpres,
  1462. s1crinnerarcwaterpres,
  1463. s1croutsidearcwaterpres,
  1464. s1crnarrowroutwaterpres,
  1465. s1crvibratorfrequency,
  1466. s2crvibratorfrequency,
  1467. s1cramplitude,
  1468. s2cramplitude,
  1469. s1crinwatertotalflux,
  1470. s1crnarrowloutwaterflux,
  1471. s1crinnerarcwaterflux,
  1472. s1croutsidearcwaterflux,
  1473. s1crnarrowroutwaterflux,
  1474. s1crnarrowloutwatertempdiff,
  1475. s1crinnerarcwatertempdiff,
  1476. s1croutsidearcwatertempdiff,
  1477. s1crnarrowroutwatertempdiff,
  1478. s1seg1waternarrowlrflux,
  1479. s1seg1waterarcflux,
  1480. s1seg2waterarcflux,
  1481. s1seg3waterinnerarceflux,
  1482. s1seg3waterinnerarcmflux,
  1483. s1seg3wateroutsidearceflux,
  1484. s1seg3wateroutsidearcmflux,
  1485. s1seg4waterinnerarceflux,
  1486. s1seg4waterinnerarcmflux,
  1487. s1seg4wateroutsidearceflux,
  1488. s1seg4wateroutsidearcmflux,
  1489. s1seg5waterinnerarceflux,
  1490. s1seg5waterinnerarcmflux,
  1491. s1seg5wateroutsidearceflux,
  1492. s1seg5wateroutsidearcmflux,
  1493. s1seg6waterinnerarceflux,
  1494. s1seg6waterinnerarcmflux,
  1495. s1seg6wateroutsidearceflux,
  1496. s1seg6wateroutsidearcmflux,
  1497. s1seg7waterinnerarceflux,
  1498. s1seg7waterinnerarcmflux,
  1499. s1seg7wateroutsidearceflux,
  1500. s1seg7wateroutsidearcmflux,
  1501. s1seg8waterinnerarceflux,
  1502. s1seg8waterinnerarcmflux,
  1503. s1seg8wateroutsidearceflux,
  1504. s1seg8wateroutsidearcmflux,
  1505. s1seg9waterinnerarceflux,
  1506. s1seg9waterinnerarcmflux,
  1507. s1seg9wateroutsidearceflux,
  1508. s1seg9wateroutsidearcmflux,
  1509. s1seg10waterinnerarceflux,
  1510. s1seg10waterinnerarcmflux,
  1511. s1seg10wateroutsidearceflux,
  1512. s1seg10wateroutsidearcmflux,
  1513. s1seg11waterinnerarcflux,
  1514. s1seg11wateroutsidearcflux,
  1515. s1seg12waterinnerarcflux,
  1516. s1seg12wateroutsidearcflux,
  1517. s1seg13waterinnerarcflux,
  1518. s1seg13wateroutsidearcflux,
  1519. s1seg1waternarrowlrpres,
  1520. s1seg1waterarcpres,
  1521. s1seg2waterarcpres,
  1522. s1seg3waterinnerarcepres,
  1523. s1seg3waterinnerarcmpres,
  1524. s1seg3wateroutsidearcepres,
  1525. s1seg3wateroutsidearcmpres,
  1526. s1seg4waterinnerarcepres,
  1527. s1seg4waterinnerarcmpres,
  1528. s1seg4wateroutsidearcepres,
  1529. s1seg4wateroutsidearcmpres,
  1530. s1seg5waterinnerarcepres,
  1531. s1seg5waterinnerarcmpres,
  1532. s1seg5wateroutsidearcepres,
  1533. s1seg5wateroutsidearcmpres,
  1534. s1seg6waterinnerarcepres,
  1535. s1seg6waterinnerarcmpres,
  1536. s1seg6wateroutsidearcepres,
  1537. s1seg6wateroutsidearcmpres,
  1538. s1seg7waterinnerarcepres,
  1539. s1seg7waterinnerarcmpres,
  1540. s1seg7wateroutsidearcepres,
  1541. s1seg7wateroutsidearcmpres,
  1542. s1seg8waterinnerarcepres,
  1543. s1seg8waterinnerarcmpres,
  1544. s1seg8wateroutsidearcepres,
  1545. s1seg8wateroutsidearcmpres,
  1546. s1seg9waterinnerarcepres,
  1547. s1seg9waterinnerarcmpres,
  1548. s1seg9wateroutsidearcepres,
  1549. s1seg9wateroutsidearcmpres,
  1550. s1seg10waterinnerarcepres,
  1551. s1seg10waterinnerarcmpres,
  1552. s1seg10wateroutsidearcepres,
  1553. s1seg10wateroutsidearcmpres,
  1554. s1seg11waterinnerarcpres,
  1555. s1seg11wateroutsidearcpres,
  1556. s1seg12waterinnerarcpres,
  1557. s1seg12wateroutsidearcpres,
  1558. s1seg13waterinnerarcpres,
  1559. s1seg13wateroutsidearcpres,
  1560. s1segairintotalflux,
  1561. s1segair2to4arcmpres,
  1562. s1segair3to4arcepres,
  1563. s1segair5to10arcmpres,
  1564. s1segair5to10arcepres,
  1565. s1segair11to13arcpres,
  1566. lastfreshtime,
  1567. isvalid,
  1568. operator,
  1569. optdate,
  1570. S1CRYSTALCODE,
  1571. S2CRYSTALCODE
  1572. From (select *
  1573. from stl_ccm_f3sampling
  1574. WHERE Heatno = ?
  1575. and StationCode = ?
  1576. and DisposalTime = ?
  1577. and samplingid = (select Max(samplingid)
  1578. from stl_ccm_f3sampling
  1579. WHERE Heatno = ?
  1580. and StationCode = ?
  1581. and DisposalTime = ?)
  1582. ORDER BY SAMPLINGID DESC) t,
  1583. (select S1CRYSTALCODE, S2CRYSTALCODE
  1584. from stl_ccm_mouldinfo t, stl_ccm_optinfo t1
  1585. where t.mouldno = t1.mouldno
  1586. and Heatno = ?
  1587. and StationCode = ?
  1588. and DisposalTime = ?) t1
  1589. ]]>
  1590. </query>
  1591. <query id="GetGlobalCcmF4Sampling.Select" desc="获取4#连铸机拉速、配水采样信息 " fetchSize="10">
  1592. <![CDATA[
  1593. SELECT SAMPLINGID,
  1594. HEATPROCESSNO,
  1595. HEATNO,
  1596. STATIONCODE,
  1597. DISPOSALTIME,
  1598. S1CASTSPEED,
  1599. S1DRAWSTEELLENGTH,
  1600. CRYSTALLORWATERLIBRATFRE,
  1601. CRYSTALLORWATERLEFTFLUX,
  1602. CRYSTALLORWATERRIGHTFLUX,
  1603. CRYSTALLORWATERINNERFLUX,
  1604. CRYSTALLORWATEROUTERFLUX,
  1605. CRYSTALLORLEFTDIT,
  1606. CRYSTALLORRIGHTDIT,
  1607. CRYSTALLORINNERDIT,
  1608. CRYSTALLOROUTERDIT,
  1609. S1SEG1WATERFLUX,
  1610. S1SEG2WATERFLUX,
  1611. S2SEG3WATERFLUX,
  1612. S3SEG4WATERFLUX,
  1613. S4SEG5WATERFLUX,
  1614. S4SEG6WATERFLUX,
  1615. S5SEG7WATERFLUX,
  1616. S5SEG8WATERFLUX,
  1617. S6SEG9WATERFLUX,
  1618. S6SEG10WATERFLUX,
  1619. S7SEG11WATERFLUX,
  1620. S7SEG12WATERFLUX,
  1621. S1SEG1WATERPRESS,
  1622. S1SEG2WATERPRESS,
  1623. S2SEG3WATERPRESS,
  1624. S3SEG4WATERPRESS,
  1625. S4SEG5WATERPRESS,
  1626. S4SEG6WATERPRESS,
  1627. S5SEG7WATERPRESS,
  1628. S5SEG8WATERPRESS,
  1629. S6SEG9WATERPRESS,
  1630. S6SEG10WATERPRESS,
  1631. S7SEG11WATERPRESS,
  1632. S7SEG12WATERPRESS,
  1633. S4SEG5AIRPRESS,
  1634. S4SEG6AIRPRESS,
  1635. S5SEG7AIRPRESS,
  1636. S5SEG8AIRPRESS,
  1637. S6SEG9AIRPRESS,
  1638. S6SEG10AIRPRESS,
  1639. CRYSTALLORWATERENTEMP,
  1640. CRYSTALLORWATERPRESSURE,
  1641. CRYSTALLORWATERTOTALFLUX,
  1642. COOLINGWATERPRESSURE,
  1643. COOLINGWATERTEMPERATURE,
  1644. COOLINGWATERTOTALFLUX,
  1645. COOLINGWATERTOTALWASTAGE,
  1646. DEVICEWATERTOTALWASTAGE,
  1647. SLABTHICK,
  1648. SLABWIDTH,
  1649. MIDLADLETEMPERATURE,
  1650. BIGPOTTEMPERATURE,
  1651. TRACKINGLENGTH,
  1652. CUTTINGLENGTH,
  1653. ARM1BIGPOTTOTALWEIGHT,
  1654. ARM2BIGPOTTOTALWEIGHT,
  1655. LASTFRESHTIME,
  1656. MIDLADLEWEIGHT,
  1657. ISVALID,
  1658. OPERATOR,
  1659. OPTDATE,
  1660. S2CASTSPEED,
  1661. S3CASTSPEED,
  1662. S4CASTSPEED,
  1663. S5CASTSPEED
  1664. From (select *
  1665. from stl_ccm_f4sampling a
  1666. WHERE a.HEATNO = ? AND a.STATIONCODE = ? AND a.DISPOSALTIME = ?
  1667. and samplingid = (select Max(samplingid)
  1668. from stl_ccm_f4sampling a
  1669. WHERe a.HEATNO = ? AND a.STATIONCODE = ?
  1670. AND a.DISPOSALTIME = ?)
  1671. ORDER BY SAMPLINGID DESC) t,
  1672. (select S1CRYSTALCODE,S2CRYSTALCODE, S3CRYSTALCODE,
  1673. S4CRYSTALCODE,S5CRYSTALCODE, S6CRYSTALCODE
  1674. from stl_ccm_mouldinfo t, stl_ccm_optinfo a
  1675. where t.mouldno = a.mouldno
  1676. and a.HEATNO = ? AND a.STATIONCODE = ? AND a.DISPOSALTIME =?) t1
  1677. ]]>
  1678. </query>
  1679. <query id="GetTundishTemp.Select" desc="获取中包温度信息 " fetchSize="10">
  1680. <![CDATA[
  1681. select samplingid, samplingvalue, samplingdate
  1682. from stl_tempsampling
  1683. where (samplingname = 'TUNDISHTEMP1' or samplingname = 'TUNDISHTEMP2')
  1684. and heatno =? and stationcode = ? order by samplingid desc
  1685. ]]>
  1686. </query>
  1687. <query id="GetTankcarInfo.Select" desc="获取真空槽信息 " fetchSize="10">
  1688. <![CDATA[
  1689. select t.positionid ,(t.topid || '#-' || t.toptimes) TankcarInfo
  1690. from dev_zkc_use_detail t
  1691. where t.nowstatus = '1'
  1692. ]]>
  1693. </query>
  1694. <query id="GetGlobalMapIronInfo.Select" desc="获取总貌图铁水信息 " fetchSize="10">
  1695. <![CDATA[
  1696. select t.LADLEID, t1.NOWPOSITION
  1697. from dev_ib_base_info t, DEV_IB_USE_DETAIL t1
  1698. WHERE t.STATUS = '使用'
  1699. and t.ladleid = t1.ladleid
  1700. and t1.cycid =
  1701. (select max(cycid) from dev_ib_use_detail where ladleid = t.ladleid)
  1702. order by BEGINTIME
  1703. ]]>
  1704. </query>
  1705. <query id="GetInitIronPotInfo.Select" desc="获取铁包信息 " fetchSize="10">
  1706. <![CDATA[
  1707. select LADLEID FROM DEV_IB_BASE_INFO ORDER BY TO_NUMBER(LADLEID)
  1708. ]]>
  1709. </query>
  1710. <query id="GetGlobalMapIronPotInfo.Select" desc="获取铁包对应铁水信息 " fetchSize="10">
  1711. <![CDATA[
  1712. select t2.*,
  1713. t3.rswgt FGWEIGHT,
  1714. t3.stoveid,
  1715. t3.stovetime,
  1716. t3.tapholeno,
  1717. t3.tfpotid,
  1718. t3.tfpotwgt,
  1719. t3.irontemperature,
  1720. t3.arrivetime,
  1721. t3.bfirontemture,
  1722. t3.C,
  1723. t3.SI,
  1724. t3.MN,
  1725. t3.P,
  1726. t3.S,
  1727. t3.Asn,
  1728. t3.Cu,
  1729. t3.Cr,
  1730. t3.Sn,
  1731. t3.Ni,
  1732. 0 TI,
  1733. t3.HSTAPHOLETIME,
  1734. t4.hudwid,
  1735. t4.heatno,
  1736. t4.dfrstarttime,
  1737. t4.dfrendtime,
  1738. round(t4.leavewgt - t2.TAREWEIGHT, 1) leavewgt,
  1739. CASE
  1740. WHEN t4.molirnleave IS NOT NULL THEN
  1741. t4.molirnleave
  1742. WHEN substr(t3.MOLIRNSOURCE, 1, 1) = 'J' THEN
  1743. t3.MOLIRNSOURCE
  1744. END molirnleave,
  1745. t4.SWBTEMPERATURE,
  1746. CASE
  1747. when nvl(t4.LEAVEWGT, 0) > 0 and nvl(t4.ARRIVEWGT, 0) > 0 and
  1748. nvl(t4.LEAVEWGT, 0) < nvl(t4.ARRIVEWGT, 0) THEN
  1749. round(t3.TFPOTWGT - (nvl(t4.ARRIVEWGT, 0) - nvl(t4.LEAVEWGT, 0)),
  1750. 2)
  1751. ELSE
  1752. t3.TFPOTWGT
  1753. END lblInHeatWgt
  1754. from (select t.ladleid,
  1755. t.age,
  1756. t.manufacturers,
  1757. t.TAREWEIGHT,
  1758. t1.nowposition,
  1759. t1.mistapholestarttime,
  1760. t1.hmparrivetime,
  1761. t1.hmpleavetime,
  1762. t1.inno,
  1763. t1.hmpno/*,
  1764. t.fgweight*/
  1765. from dev_ib_base_info t, dev_ib_use_detail t1
  1766. where t.ladleid = ?
  1767. and t.ladleid = t1.ladleid
  1768. and t1.cycid = (select max(cycid)
  1769. from dev_ib_use_detail a
  1770. where a.ladleid = t.ladleid)) t2
  1771. LEFT JOIN STL_MIS_IMPORTIRON T3 ON T2.INNO = T3.MISID
  1772. LEFT JOIN (SELECT *
  1773. from stl_hmp_optinfo
  1774. union
  1775. SELECT * from J#stl_hmp_optinfo) t4 on t2.hmpno = t4.hudwid
  1776. ]]>
  1777. </query>
  1778. <query id="GetGlobalMapIronPotChemInfo.Select" desc="获取铁包对应铁水成分信息 " fetchSize="10">
  1779. <![CDATA[
  1780. SELECT CHECKNO,HEATNO,STATIONCODE,ASSAYTYPECODE,
  1781. C,SI,MN,P,S,TI,ASN,CU,CR,SN,Ni,ASSAYDATE
  1782. FROM (select CHECKNO,HEATNO,STATIONCODE,ASSAYTYPECODE,
  1783. C,SI,MN,P,S,TI,ASN,CU,CR,SN,Ni,ASSAYDATE
  1784. from stl_chemelement
  1785. union
  1786. select CHECKNO,HEATNO,STATIONCODE,ASSAYTYPECODE,
  1787. C,SI,MN,P,S,TI,ASN,CU,CR,SN,Ni,ASSAYDATE
  1788. from J#stl_chemelement) t3
  1789. WHERE T3.HEATNO IN (?, ?)
  1790. order by assaydate
  1791. ]]>
  1792. </query>
  1793. <query id="GetInitGBPotInfo.Select" desc="获取钢包信息 " fetchSize="10">
  1794. <![CDATA[
  1795. select LADLEID FROM DEV_GB_BASE_INFO $ ORDER BY TO_NUMBER(LADLEID)
  1796. ]]>
  1797. </query>
  1798. <query id="GetPotStatusInfo.Select" desc="获取钢包状态信息 " fetchSize="10">
  1799. <![CDATA[
  1800. select LADLEID,STATUS NOWPOSITION,
  1801. (select OVENID from dev_toolfiringdetail where FIRINGID=hotno) OVENID
  1802. FROM DEV_GB_BASE_INFO $ ORDER BY TO_NUMBER(LADLEID)
  1803. ]]>
  1804. </query>
  1805. </queryMap>