SPMMR05900_VS기록내역그래프.xfdl 81 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMR05900" position="absolute 0 0 1256 805" titletext="V/S 기록내역 그래프" oninit="model1_oninit" onload="SPMMR05900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption2" class="tit_2" position="absolute 0 10 172 24" anchor="default" positiontype="position" text="V/S기록내역 그래프"/>
  8. <Shape id="line2" class="line_1" position="absolute 0 26 1190 26" anchor="default" positiontype="position" linetype="horizontal"/>
  9. <ActiveX id="vitalchart" progid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" position="absolute 140 160 1160 722" anchor="default" positiontype="position" windowed="true"/>
  10. <Shape id="line1" class="line_1" position="absolute 5 869 1190 869" anchor="default" positiontype="position" linetype="horizontal"/>
  11. <Grid id="grd_24hoursclincobsreclist" taborder="1" useinputpanel="false" onsetfocus="grd_24hoursclincobsreclist_onsetfocus" onenteredit="grd_24hoursclincobsreclist_onenteredit" position="absolute 6 729 1190 776" onmouseenter="grd_24hoursclincobsreclist_onmouseenter" onmouseleave="grd_24hoursclincobsreclist_onmouseleave" onbuttondown="grd_24hoursclincobsreclist_onbuttondown" onclick="grd_24hoursclincobsreclist_onclick" onbuttonup="grd_24hoursclincobsreclist_onbuttonup" ondbclick="grd_24hoursclincobsreclist_ondbclick" binddataset="ds_grid_grd_24hoursclincobsreclist">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="175"/>
  16. <Column size="41"/>
  17. <Column size="41"/>
  18. <Column size="41"/>
  19. <Column size="41"/>
  20. <Column size="41"/>
  21. <Column size="41"/>
  22. <Column size="41"/>
  23. <Column size="41"/>
  24. <Column size="41"/>
  25. <Column size="41"/>
  26. <Column size="40"/>
  27. <Column size="41"/>
  28. <Column size="41"/>
  29. <Column size="41"/>
  30. <Column size="41"/>
  31. <Column size="41"/>
  32. <Column size="41"/>
  33. <Column size="41"/>
  34. <Column size="41"/>
  35. <Column size="41"/>
  36. <Column size="41"/>
  37. <Column size="40"/>
  38. <Column size="40"/>
  39. <Column size="40"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. </Columns>
  56. <Rows>
  57. <row size="24" band="head"/>
  58. <row size="24" band="head"/>
  59. <row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell col="0" text=""/>
  63. <Cell col="1" text=""/>
  64. <Cell col="2" text=""/>
  65. <Cell col="3" text=""/>
  66. <Cell col="4" text=""/>
  67. <Cell col="5" text=""/>
  68. <Cell col="6" text=""/>
  69. <Cell col="7" text=""/>
  70. <Cell col="8" text=""/>
  71. <Cell col="9" text=""/>
  72. <Cell col="10" text=""/>
  73. <Cell col="11" text=""/>
  74. <Cell col="12" text=""/>
  75. <Cell col="13" text=""/>
  76. <Cell col="14" text=""/>
  77. <Cell col="15" text=""/>
  78. <Cell col="16" text=""/>
  79. <Cell col="17" text=""/>
  80. <Cell col="18" text=""/>
  81. <Cell col="19" text=""/>
  82. <Cell col="20" text=""/>
  83. <Cell col="21" text=""/>
  84. <Cell col="22" text=""/>
  85. <Cell col="23" text=""/>
  86. <Cell col="24" text=""/>
  87. <Cell row="1" col="0" text=""/>
  88. <Cell row="1" col="1" text=""/>
  89. <Cell row="1" col="2" text=""/>
  90. <Cell row="1" col="3" text=""/>
  91. <Cell row="1" col="4" text=""/>
  92. <Cell row="1" col="5" text=""/>
  93. <Cell row="1" col="6" text=""/>
  94. <Cell row="1" col="7" text=""/>
  95. <Cell row="1" col="8" text=""/>
  96. <Cell row="1" col="9" text=""/>
  97. <Cell row="1" col="10" text=""/>
  98. <Cell row="1" col="11" text=""/>
  99. <Cell row="1" col="12" text=""/>
  100. <Cell row="1" col="13" text=""/>
  101. <Cell row="1" col="14" text=""/>
  102. <Cell row="1" col="15" text=""/>
  103. <Cell row="1" col="16" text=""/>
  104. <Cell row="1" col="17" text=""/>
  105. <Cell row="1" col="18" text=""/>
  106. <Cell row="1" col="19" text=""/>
  107. <Cell row="1" col="20" text=""/>
  108. <Cell row="1" col="21" text=""/>
  109. <Cell row="1" col="22" text=""/>
  110. <Cell row="1" col="23" text=""/>
  111. <Cell row="1" col="24" text=""/>
  112. </Band>
  113. <Band id="body">
  114. <Cell text="bind:itemnm"/>
  115. <Cell col="1" text="bind:recrslt1" edittype="combo" displaytype="combo"/>
  116. <Cell col="2" text="bind:recrslt2" edittype="combo" displaytype="combo"/>
  117. <Cell col="3" text="bind:recrslt3" edittype="combo" displaytype="combo"/>
  118. <Cell col="4" text="bind:recrslt4" edittype="combo" displaytype="combo"/>
  119. <Cell col="5" text="bind:recrslt5" edittype="combo" displaytype="combo"/>
  120. <Cell col="6" text="bind:recrslt6" edittype="combo" displaytype="combo"/>
  121. <Cell col="7" text="bind:recrslt7" edittype="combo" displaytype="combo"/>
  122. <Cell col="8" text="bind:recrslt8" edittype="combo" displaytype="combo"/>
  123. <Cell col="9" text="bind:recrslt9" edittype="combo" displaytype="combo"/>
  124. <Cell col="10" text="bind:recrslt10" edittype="combo" displaytype="combo"/>
  125. <Cell col="11" text="bind:recrslt11" edittype="combo" displaytype="combo"/>
  126. <Cell col="12" text="bind:recrslt12" edittype="combo" displaytype="combo"/>
  127. <Cell col="13" text="bind:recrslt13" edittype="combo" displaytype="combo"/>
  128. <Cell col="14" text="bind:recrslt14" edittype="combo" displaytype="combo"/>
  129. <Cell col="15" text="bind:recrslt15" edittype="combo" displaytype="combo"/>
  130. <Cell col="16" text="bind:recrslt16" edittype="combo" displaytype="combo"/>
  131. <Cell col="17" text="bind:recrslt17" edittype="combo" displaytype="combo"/>
  132. <Cell col="18" text="bind:recrslt18" edittype="combo" displaytype="combo"/>
  133. <Cell col="19" text="bind:recrslt19" edittype="combo" displaytype="combo"/>
  134. <Cell col="20" text="bind:recrslt20" edittype="combo" displaytype="combo"/>
  135. <Cell col="21" text="bind:recrslt21" edittype="combo" displaytype="combo"/>
  136. <Cell col="22" text="bind:recrslt22" edittype="combo" displaytype="combo"/>
  137. <Cell col="23" text="bind:recrslt23" edittype="combo" displaytype="combo"/>
  138. <Cell col="24" text="bind:recrslt24" edittype="combo" displaytype="combo"/>
  139. <Cell col="25" text="bind:itemcd"/>
  140. <Cell col="26" text="bind:itemseqno"/>
  141. <Cell col="27" text="bind:recflag"/>
  142. <Cell col="28" text="bind:attrcd"/>
  143. <Cell col="29" text="bind:wardcd"/>
  144. <Cell col="30" text="bind:roomcd"/>
  145. <Cell col="31" text="bind:depth"/>
  146. <Cell col="32" text="bind:recfromdt"/>
  147. <Cell col="33" text="bind:rectodt"/>
  148. <Cell col="34" text="bind:reccharflag"/>
  149. <Cell col="35" text="bind:supcd"/>
  150. <Cell col="36" text="bind:subtotalyn"/>
  151. <Cell col="37" text="bind:carerecseqno"/>
  152. <Cell col="38" text="bind:setnm"/>
  153. <Cell col="39" text="bind:lnkbizcd"/>
  154. <Cell col="40"/>
  155. <Cell col="41"/>
  156. <Cell col="42"/>
  157. <Cell col="43"/>
  158. <Cell col="44"/>
  159. <Cell col="45"/>
  160. <Cell col="46"/>
  161. <Cell col="47"/>
  162. <Cell col="48"/>
  163. <Cell col="49"/>
  164. <Cell col="50"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. <Button id="btn_24hoursdetailbefore" taborder="2" onclick="btn_24hoursdetailbefore_onclick" class="icon_left" visible="false" position="absolute 10 731 36 751"/>
  170. <Button id="btn_24hoursdetailafter" taborder="3" onclick="btn_24hoursdetailafter_onclick" class="icon_right" position="absolute 153 731 179 751"/>
  171. <Button id="btn_saveinfo" taborder="4" text="이미지저장" onclick="btn_saveinfo_onclick" class="btn4" position="absolute 1103 781 1195 801"/>
  172. <Div id="grp_chkbox" taborder="5" position="absolute 5 35 1185 144" style="background:white;color:#444444ff;">
  173. <Layouts>
  174. <Layout width="1180" height="120">
  175. <cp_checkboxList id="chk_hourschartinfo" titletext="CheckBox List" taborder="0" text="cp_checkboxList00" scrollbars="none" position="absolute 6 -1 1171 109" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default" onlbuttonup="grp_chkbox_chk_hourschartinfo_onlbuttonup"/>
  176. </Layout>
  177. </Layouts>
  178. </Div>
  179. <Button id="btn_small" taborder="6" text="축소보기" class="btn4" position="absolute 912 781 1004 801" onclick="btn_small_onclick"/>
  180. <Button id="btn_ori" taborder="7" text="원본보기" class="btn4" position="absolute 1008 781 1100 801" onclick="btn_ori_onclick"/>
  181. </Layout>
  182. </Layouts>
  183. <Objects>
  184. <Dataset id="ds_grid_grd_24hoursclincobsreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="itemnm" type="STRING"/>
  187. <Column id="recrslt1" type="STRING"/>
  188. <Column id="recrslt2" type="STRING"/>
  189. <Column id="recrslt3" type="STRING"/>
  190. <Column id="recrslt4" type="STRING"/>
  191. <Column id="recrslt5" type="STRING"/>
  192. <Column id="recrslt6" type="STRING"/>
  193. <Column id="recrslt7" type="STRING"/>
  194. <Column id="recrslt8" type="STRING"/>
  195. <Column id="recrslt9" type="STRING"/>
  196. <Column id="recrslt10" type="STRING"/>
  197. <Column id="recrslt11" type="STRING"/>
  198. <Column id="recrslt12" type="STRING"/>
  199. <Column id="recrslt13" type="STRING"/>
  200. <Column id="recrslt14" type="STRING"/>
  201. <Column id="recrslt15" type="STRING"/>
  202. <Column id="recrslt16" type="STRING"/>
  203. <Column id="recrslt17" type="STRING"/>
  204. <Column id="recrslt18" type="STRING"/>
  205. <Column id="recrslt19" type="STRING"/>
  206. <Column id="recrslt20" type="STRING"/>
  207. <Column id="recrslt21" type="STRING"/>
  208. <Column id="recrslt22" type="STRING"/>
  209. <Column id="recrslt23" type="STRING"/>
  210. <Column id="recrslt24" type="STRING"/>
  211. <Column id="itemcd" type="STRING"/>
  212. <Column id="itemseqno" type="STRING"/>
  213. <Column id="recflag" type="STRING"/>
  214. <Column id="attrcd" type="STRING"/>
  215. <Column id="wardcd" type="STRING"/>
  216. <Column id="roomcd" type="STRING"/>
  217. <Column id="depth" type="STRING"/>
  218. <Column id="recfromdt" type="STRING"/>
  219. <Column id="rectodt" type="STRING"/>
  220. <Column id="reccharflag" type="STRING"/>
  221. <Column id="supcd" type="STRING"/>
  222. <Column id="subtotalyn" type="STRING"/>
  223. <Column id="carerecseqno" type="STRING"/>
  224. <Column id="setnm" type="STRING"/>
  225. <Column id="lnkbizcd" type="STRING"/>
  226. </ColumnInfo>
  227. </Dataset>
  228. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  229. <ColumnInfo>
  230. <Column id="pid" type="STRING" size="256"/>
  231. <Column id="recdd" type="STRING" size="256"/>
  232. <Column id="rectm" type="STRING" size="256"/>
  233. <Column id="formerrecdd" type="STRING" size="256"/>
  234. <Column id="timeflag" type="STRING" size="256"/>
  235. <Column id="formerhourflag" type="STRING" size="256"/>
  236. <Column id="vwctrl_4days" type="STRING" size="256"/>
  237. <Column id="vwctrl_24hours" type="STRING" size="256"/>
  238. <Column id="vwctrl_formerday" type="STRING" size="256"/>
  239. <Column id="vwctrl_button" type="STRING" size="256"/>
  240. <Column id="hourflag" type="STRING" size="256"/>
  241. <Column id="hoursclsinfo" type="STRING" size="256"/>
  242. <Column id="formerclsinfo" type="STRING" size="256"/>
  243. <Column id="patinfo" type="STRING" size="256"/>
  244. <Column id="hourschartinfo" type="STRING" size="256"/>
  245. <Column id="dayschartinfo" type="STRING" size="256"/>
  246. <Column id="daycountinfo" type="STRING" size="256"/>
  247. <Column id="formerdaycountinfo" type="STRING" size="256"/>
  248. <Column id="cmbstatusx" type="STRING" size="256"/>
  249. <Column id="cmbstatusy" type="STRING" size="256"/>
  250. <Column id="bizlnkflag" type="STRING" size="256"/>
  251. <Column id="srchflag" type="STRING" size="256"/>
  252. <Column id="timecd" type="STRING" size="256"/>
  253. </ColumnInfo>
  254. </Dataset>
  255. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  256. <ColumnInfo>
  257. <Column id="instcd" type="STRING" size="256"/>
  258. <Column id="currentdate" type="STRING" size="256"/>
  259. </ColumnInfo>
  260. </Dataset>
  261. <Dataset id="ds_main_vsmast" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  262. <ColumnInfo>
  263. <Column id="checked" type="STRING" size="256"/>
  264. <Column id="vsitemcd" type="STRING" size="256"/>
  265. <Column id="vsitemnm" type="STRING" size="256"/>
  266. <Column id="defaultyn" type="STRING" size="256"/>
  267. <Column id="style" type="STRING" size="256"/>
  268. <Column id="point" type="STRING" size="256"/>
  269. <Column id="color" type="STRING" size="256"/>
  270. <Column id="leftaxis" type="STRING" size="256"/>
  271. <Column id="graphappyn" type="STRING" size="256"/>
  272. <Column id="sortno" type="STRING" size="256"/>
  273. <Column id="nmspec" type="STRING" size="256"/>
  274. <Column id="cdistestcd" type="STRING" size="256"/>
  275. <Column id="lineyn" type="STRING" size="256"/>
  276. </ColumnInfo>
  277. </Dataset>
  278. <Dataset id="ds_grid_grd_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  279. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  280. <Dataset id="ds_init_hourlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  281. </Objects>
  282. <Bind/>
  283. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  284. * System Name :
  285. * Job Name :
  286. * File Name : SPMMR05900_VS기록내역그래프.xfdl
  287. * Creator :
  288. *
  289. * Description :
  290. *---------------------------------------------------------------------------------------
  291. * Modify Date Modifier Modify Description
  292. *---------------------------------------------------------------------------------------
  293. * 2014-05-12 HIT Converting Program(TF->XP)
  294. *
  295. *---------------------------------------------------------------------------------------
  296. ****************************************************************************************/
  297. //=======================================================================================
  298. // xjs Include
  299. //---------------------------------------------------------------------------------------
  300. include "com_commonxp::comm_main.xjs";
  301. //=======================================================================================
  302. // variable
  303. //---------------------------------------------------------------------------------------
  304. var instcd = "031";
  305. // 마취과 부서코드 (마취통증의학과/통증클리닉)
  306. var anstdeptcd = "2090000000";
  307. // 수술환자정보
  308. var operationdata = "";
  309. var orddd = "";
  310. var cretno = "";
  311. var ordtype = "";
  312. var ioflag = "";
  313. var formcd = "0000002022";
  314. var oprsrvno = "";
  315. var ophistno = "";
  316. var pid = "";
  317. var phngnm = "";
  318. var anstrecno = "";
  319. var recsetcd = "";
  320. var anstdd = "";
  321. var currentdate = "";
  322. var col_linknm = 1;
  323. var col_linkcd = 2;
  324. var col_linktype = 3;
  325. var col_sorttype = 4;
  326. var col_sortno = 5;
  327. var col_linkseqno= 6;
  328. var col_prcpvol = 7;
  329. var col_prcpvolunitnm = 8;
  330. var col_fromdt = 9;
  331. var col_todt = 249;
  332. var row_progress = 3;
  333. var row_startend = 4;
  334. var sorttype_progress = 1;
  335. var sorttype_startend = 2;
  336. var sorttype_vs = 3;
  337. var sorttype_agent = 4;
  338. var sorttype_drug = 5;
  339. var sorttype_fluid = 6;
  340. var sorttype_blood = 7;
  341. var graph_fromdt;
  342. var graph_todt;
  343. var totfluid;
  344. var totblood;
  345. var vslist = "on";
  346. var agentlist = "on";
  347. var druglist = "on";
  348. var fluidlist = "on";
  349. var blodlist = "on";
  350. var iv_anstinfo_load = "N";
  351. var iv_anstmast_load = "N";
  352. var iv_anstprcp_load = "N";
  353. var anstrecno = "0";
  354. var sPid = ""; // 환자번호
  355. var sIndd = ""; // 입원일자
  356. var sOrddd = ""; // 진료일자
  357. var sCretNo = ""; // 환자 일자별 일련번호
  358. var sInstcd = ""; // 기관코드
  359. var sIOFlag = ""; // 입원/외래 구분
  360. var sWardCD = "";
  361. var sRoomCD = "";
  362. var sOrdDeptCd = ""; // 진료과코드
  363. var sOrdDrId = ""; // 진료의사ID
  364. //var xHoursClincObsRecList = "/root/main/clincobsrecinfo/hoursclincobsrecinfo/hoursclincobsreclist";
  365. //var xClincObsRecListPath = "/root/main/vsmast/item";
  366. var sCondPaths = ds_cond;
  367. //var sCondPath = "/root/main/vsmast/item";
  368. //var sMainPath = "/root/main/grd_main/item"
  369. var sChartItem = new Array();
  370. var sVSItem = new Array();
  371. var sHeader = new Array();
  372. var mergeFlag = "N";
  373. //=======================================================================================
  374. // Function
  375. //---------------------------------------------------------------------------------------
  376. /***************************************************************************************
  377. * Argument :
  378. * Description : dataset 초기화
  379. ****************************************************************************************/
  380. function lf_initDs(){
  381. ds_cond.clearData();
  382. var crow = ds_cond.addRow();
  383. ds_send_reqdata.clearData();
  384. var srow = ds_send_reqdata.addRow();
  385. ds_grid_grd_main.clearData();
  386. }
  387. /***************************************************************************************
  388. * Argument :
  389. * Description : 폼 초기화
  390. ****************************************************************************************/
  391. function lf_SPMMR05900_fFormInit(){
  392. ds_grid_grd_main.copyData(arg_ds_grd_main);
  393. //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - ds_grid_grd_main = "+ ds_grid_grd_main.saveXML());
  394. var anstrecno = opener.frmf_getParameter("anstrecno");
  395. //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - anstrecno = "+ anstrecno);
  396. ds_cond.setColumn(ds_cond.rowposition,"timecd",0);
  397. currentdate = opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.getColumn(opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.rowposition, "meetingdt");
  398. if(utlf_isNull(currentdate)){
  399. sysf_messageBox("수술시간이 정확하지 않습니다. 수술시간을 확인하세요.", "E");
  400. this.close();
  401. }else{
  402. currentdate = currentdate + "00";
  403. }
  404. //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - currentdate = "+ currentdate);
  405. ds_send_reqdata.setColumn(ds_send_reqdata.rowposition,"currentdate", currentdate);
  406. lf_tran_submit("TRMMR04207");
  407. //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - ds_main_vsmast ="+ ds_main_vsmast.saveXML());
  408. this.height = 805;
  409. this.width = 1256;
  410. // 체크박스 생성.
  411. var sProp="col=11,row=7,cellspacing=4,vcellspacing=0,itemWidth=100,itemHeight=20,overflow='visible'";
  412. grp_chkbox.chk_hourschartinfo.setInitComp(sProp,ds_main_vsmast,"vsitemcd", "vsitemnm","");
  413. // 색조정.
  414. for(var i=0; i < grp_chkbox.chk_hourschartinfo.ds_checkList.rowcount; i++){
  415. var val = grp_chkbox.chk_hourschartinfo.ds_checkList.getColumn(i,"val");
  416. var txt = grp_chkbox.chk_hourschartinfo.ds_checkList.getColumn(i,"txt");
  417. var val2 = ds_main_vsmast.getColumn(i,"vsitemcd");
  418. var color = ds_main_vsmast.getColumn(i,"color");
  419. var idx = ds_main_vsmast.findRow("vsitemcd","67");
  420. //trace("[SPMMR05900] lf_SPMMR05900_fFormInit val="+ val +" / val2 = "+ val2 +"/ color = "+ color.replace("0x","#"));
  421. if(val == val2){
  422. // 색상정의
  423. if(txt == 'MBP'){
  424. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
  425. }else if(txt == 'SBP'){
  426. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
  427. }else if(txt == 'DBP'){
  428. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
  429. }else if(txt == 'mABP'){
  430. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
  431. }else if(txt == 'CVP'){
  432. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#0000FF";
  433. }else if(txt == 'sPAP'){
  434. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
  435. }else if(txt == 'dPAP'){
  436. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
  437. }else if(txt == 'PCWP'){
  438. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
  439. }else if(txt == 'BIS'){
  440. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
  441. }else if(txt == 'radial(L)'){
  442. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
  443. }else if(txt == 'Body Temp'){
  444. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
  445. }else if(txt == 'sABP'){
  446. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
  447. }else if(txt == 'dABP'){
  448. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
  449. }else if(txt == 'mPAP'){
  450. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
  451. }else if(txt == 'SPO2'){
  452. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
  453. }else if(txt == 'HR'){
  454. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
  455. }else if(txt == 'CI'){
  456. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
  457. }else if(txt == 'radial(R)'){
  458. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
  459. }else{
  460. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = color.replace("0x","#");
  461. }
  462. if(i <= idx){
  463. eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.font = "Dotum,9,bold";
  464. }
  465. }
  466. }
  467. ds_cond.setColumn(ds_cond.rowposition,"timeflag" , "5");
  468. ds_cond.setColumn(ds_cond.rowposition,"recdd", opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.getColumn(opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.rowposition,"meetingdd"));
  469. ds_cond.setColumn(ds_cond.rowposition,"rectm", opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.getColumn(opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.rowposition,"meetingtm"));
  470. // 체크할 아이템 선택.
  471. fSearchChartChk();
  472. var pFlag = ds_cond.getColumn(ds_cond.rowposition,"vwctrl_button");
  473. fCreateHeader(pFlag);
  474. //24시간 그리드 콤보 노드 세팅
  475. ds_init_hourlist.clearData();
  476. ds_init_hourlist.addColumn("cd","string",256);
  477. ds_init_hourlist.addColumn("nm","string",256);
  478. for(var i=0; i< 24; i++){
  479. var hrow = ds_init_hourlist.addRow();
  480. if(i <9){
  481. ds_init_hourlist.setColumn(hrow,"cd","0"+i);
  482. }else{
  483. ds_init_hourlist.setColumn(hrow,"cd", i);
  484. }
  485. ds_init_hourlist.setColumn(hrow,"nm", i);
  486. }
  487. fMakeChart(0);
  488. }
  489. /***************************************************************************************
  490. * Argument :
  491. * Description : 아이템 체크여부
  492. ****************************************************************************************/
  493. function fSearchChartChk(){
  494. var chkValue = "";
  495. for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
  496. var color = ds_main_vsmast.getColumn(i,"color");
  497. var vsitemcd = ds_main_vsmast.getColumn(i,"vsitemcd");
  498. var chkNum = 0;
  499. for(var j=0; j<ds_grid_grd_main.getRowCount(); j++){
  500. var grdvsitemcd = ds_grid_grd_main.getColumn(j,"linkcd");
  501. if(vsitemcd == grdvsitemcd)
  502. {
  503. if (grdvsitemcd == "35" || grdvsitemcd == "36" || grdvsitemcd == "52" || grdvsitemcd == "77" || grdvsitemcd == "37")
  504. {
  505. for(var n = 1; n < 289; n++){
  506. var vsValue = utlf_transNullToEmpty(ds_grid_grd_main.getColumn(j,"t"+n));
  507. if(vsValue != ""){
  508. chkNum += 1;
  509. }
  510. }
  511. }
  512. }
  513. }
  514. if(chkNum > 1){
  515. chkValue += ds_main_vsmast.getColumn(i,"vsitemcd") + " ";
  516. var objChk = eval("grp_chkbox.chk_hourschartinfo.chk_"+i);
  517. objChk.value = ds_main_vsmast.getColumn(i,"vsitemcd");
  518. }
  519. }
  520. ds_cond.setColumn(ds_cond.rowposition, "hourschartinfo", chkValue);
  521. }
  522. /***************************************************************************************
  523. * Argument :
  524. * Description : 그리드 Header 생성
  525. ****************************************************************************************/
  526. function fCreateHeader(){
  527. var sRecDT = "";
  528. var sGridCapNm = "";
  529. var sTimeFlag = 0;
  530. var sCDay = new Array();
  531. var sDayInfo = "";
  532. var iDayRow = 0;
  533. var sDayCountInfo = "";
  534. var sDateList = "";
  535. sHeader[1] = new Array();
  536. sHeader[2] = new Array();
  537. sHeader[3] = new Array();
  538. sHeader[4] = new Array();
  539. sHeader[1][0] = "시 간";
  540. sHeader[2][0] = "분";
  541. ds_send.clearData();
  542. ds_send.addColumn("pid","string",256);
  543. ds_send.addColumn("indd","string",256);
  544. ds_send.addColumn("cretno","string",256);
  545. ds_send.addColumn("instcd","string",256);
  546. ds_send.addColumn("ioflag","string",256);
  547. var srow = ds_send.addRow();
  548. ds_send.setColumn(srow,"pid", sPid);
  549. ds_send.setColumn(srow,"indd", sIndd);
  550. ds_send.setColumn(srow,"cretno", sCretNo);
  551. ds_send.setColumn(srow,"instcd", sInstcd);
  552. ds_send.setColumn(srow,"ioflag", sIOFlag);
  553. sTimeFlag = eval(ds_cond.getColumn(ds_cond.rowposition,"timeflag"));
  554. //trace("[SPMMR05900] fCreateHeader - sTimeFlag ="+ sTimeFlag);
  555. sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
  556. var sStartDT = fCalStartDate(sRecDT,sTimeFlag);
  557. var sTime = 0;
  558. for(var i=1; i<=25; i++){
  559. if(i>1){
  560. sStartDT = sStartDT.getAddDate(sTimeFlag,"m");
  561. }
  562. sHeader[1][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
  563. sHeader[2][i] = utlf_getDateTime(sStartDT,'기본').substr(10,2);
  564. }
  565. // sCDay 은 array로 선언만했고 값을 정의한곳이 없는데 이용함.
  566. for(var i=0; i<sCDay.length;i++){
  567. sDayInfo += sCDay[i];
  568. if(i != sCDay.length-1){
  569. sDayInfo += ",";
  570. }
  571. }
  572. ds_send.addColumn("dayinfo","string",256);
  573. ds_send.setColumn(srow,"dayinfo", sDayInfo);
  574. for(var iRow=1; iRow<=2; iRow++){
  575. for(var iCol=0; iCol<=24; iCol++){
  576. if(iRow == 1){ // 시
  577. sGridCapNm += sHeader[iRow][iCol];
  578. if(iCol != 0){
  579. sGridCapNm += "시";
  580. }
  581. }else if(iRow == 2){ // 분
  582. sGridCapNm += sHeader[iRow][iCol];
  583. if(iCol != 0){
  584. sGridCapNm += "분";
  585. }
  586. }
  587. if(iCol != 24){
  588. sGridCapNm += "^";
  589. }
  590. }
  591. if(iRow != 2){
  592. sGridCapNm += "|";
  593. }
  594. }
  595. var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
  596. var headAry = sGridCapNm.split("|");
  597. var headAry1 = headAry[0].split("^");
  598. var headAry2 = headAry[1].split("^");
  599. for(var i=0; i< (headCnt / 2); i++){
  600. grd_24hoursclincobsreclist.setCellProperty("Head",i,"text",headAry1[i]);
  601. }
  602. var cnt=0;
  603. for(var k= (headCnt / 2); k <headCnt; k++){
  604. grd_24hoursclincobsreclist.setCellProperty("Head",k,"text",headAry2[cnt]);
  605. cnt++;
  606. }
  607. for(var i=(headCnt / 2) - 1; i > 0; i--){
  608. var cur = grd_24hoursclincobsreclist.getCellProperty("Head",i,"text");
  609. var bef = grd_24hoursclincobsreclist.getCellProperty("Head",i-1,"text");
  610. if(cur == bef){
  611. cnt++;
  612. }else{
  613. i = grd_24hoursclincobsreclist.mergeContentsCell("Head",0,i,0,i+cnt,i,false);
  614. cnt = 0;
  615. }
  616. }
  617. }
  618. function fzoomHead(){
  619. var sRecDT = "";
  620. var sGridCapNm = "";
  621. var sTimeFlag = 0;
  622. var sCDay = new Array();
  623. var sDayInfo = "";
  624. var iDayRow = 0;
  625. var sDayCountInfo = "";
  626. var sDateList = "";
  627. sHeader[1] = new Array();
  628. sHeader[2] = new Array();
  629. sHeader[3] = new Array();
  630. sHeader[4] = new Array();
  631. sHeader[1][0] = "시 간";
  632. sHeader[2][0] = "";
  633. ds_send.clearData();
  634. ds_send.addColumn("pid","string",256);
  635. ds_send.addColumn("indd","string",256);
  636. ds_send.addColumn("cretno","string",256);
  637. ds_send.addColumn("instcd","string",256);
  638. ds_send.addColumn("ioflag","string",256);
  639. var srow = ds_send.addRow();
  640. ds_send.setColumn(srow,"pid", sPid);
  641. ds_send.setColumn(srow,"indd", sIndd);
  642. ds_send.setColumn(srow,"cretno", sCretNo);
  643. ds_send.setColumn(srow,"instcd", sInstcd);
  644. ds_send.setColumn(srow,"ioflag", sIOFlag);
  645. sTimeFlag = eval(ds_cond.getColumn(ds_cond.rowposition,"timeflag"));
  646. //trace("[SPMMR05900] fCreateHeader - sTimeFlag ="+ sTimeFlag);
  647. sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
  648. trace("[SPMMR05900] fCreateHeader - sRecDT ="+ sRecDT);
  649. var sStartDT = fCalStartDate(sRecDT,sTimeFlag);
  650. trace("[SPMMR05900] fCreateHeader - sStartDT ="+ sStartDT);
  651. var sTime = 0;
  652. for(var i=1; i<=25; i++){
  653. if(i>1){
  654. sStartDT = sStartDT.getAddDate(1,"h");
  655. // trace("[SPMMR05900] fCreateHeader - sStartDT["+i+"] ="+ sStartDT);
  656. }
  657. // trace("[SPMMR05900] fCreateHeader - sStartDT[시간]["+i+"] ="+ utlf_getDateTime(sStartDT,'기본').substr(8,2));
  658. // trace("[SPMMR05900] fCreateHeader - sStartDT[분]["+i+"] ="+ utlf_getDateTime(sStartDT,'기본').substr(10,2));
  659. sHeader[1][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
  660. sHeader[2][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
  661. }
  662. // sCDay 은 array로 선언만했고 값을 정의한곳이 없는데 이용함.
  663. trace("[SPMMR05900] fCreateHeader - sCDay.length = "+ sCDay.length);
  664. for(var i=0; i<sCDay.length;i++){
  665. sDayInfo += sCDay[i];
  666. if(i != sCDay.length-1){
  667. sDayInfo += ",";
  668. }
  669. }
  670. ds_send.addColumn("dayinfo","string",256);
  671. ds_send.setColumn(srow,"dayinfo", sDayInfo);
  672. for(var iRow=1; iRow<=2; iRow++){
  673. for(var iCol=0; iCol<=24; iCol++){
  674. if(iRow == 1){ // 시
  675. sGridCapNm += sHeader[iRow][iCol];
  676. if(iCol != 0){
  677. sGridCapNm += "시";
  678. }
  679. }else if(iRow == 2){ // 분
  680. sGridCapNm += "";
  681. if(iCol != 0){
  682. sGridCapNm += "";
  683. }
  684. }
  685. if(iCol != 24){
  686. sGridCapNm += "^";
  687. }
  688. }
  689. if(iRow != 2){
  690. sGridCapNm += "|";
  691. }
  692. }
  693. trace("[SPMMR05900] fCreateHeader - sHeader[1] = "+ sHeader[1].length +"/ sHeader[2] = "+ sHeader[2].length);
  694. trace("[SPMMR05900] fCreateHeader - sGridCapNm = "+ sGridCapNm);
  695. var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
  696. trace("[SPMMR05900] fCreateHeader - headCnt = "+ headCnt);
  697. var headAry = sGridCapNm.split("|");
  698. var headAry1 = headAry[0].split("^");
  699. var headAry2 = headAry[1].split("^");
  700. grd_24hoursclincobsreclist.splitContentsCell("Head", 0, 1, 0 , 24,true);
  701. for(var i=1; i< 25; i++){
  702. grd_24hoursclincobsreclist.setCellProperty("Head",i,"text",headAry1[i]);
  703. }
  704. var cnt=0;
  705. var headcnttotal = 26+25;
  706. for(var k= 26; k <headcnttotal; k++){
  707. grd_24hoursclincobsreclist.setCellProperty("Head",k,"text",headAry2[cnt]);
  708. cnt++;
  709. }
  710. }
  711. /***************************************************************************************
  712. * Argument :
  713. * Description : 시작일자계산
  714. ****************************************************************************************/
  715. function fCalStartDate(pDate, pTimeFlag){
  716. var sStartDT = pDate.toDate("YYYYMMDDhhmmss");
  717. var sTime = "";
  718. var sRemainder = 0;
  719. if(pTimeFlag != 1 ){
  720. sRemainder = eval(pDate.substr(10,2))%pTimeFlag;
  721. }
  722. sStartDT.setMinutes(sStartDT.getMinutes()-sRemainder);
  723. return sStartDT;
  724. }
  725. /***************************************************************************************
  726. * Argument :
  727. * Description : 차트생성.
  728. ****************************************************************************************/
  729. function fMakeChart(timecd, sInterval, sIncrement){
  730. var Obj_Chart;
  731. var sColCnt = 0;
  732. var sRecRslt = "";
  733. var sRecRslt1 = "";
  734. var sChartInfo = "";
  735. var sRecDD = "";
  736. var sRecTM = "";
  737. var sRecRsltArr = new Array();
  738. var sRecRslt1Arr = new Array();
  739. var iArrSize = 0;
  740. var iChartPos = 0;
  741. var idx=0;
  742. var sStartLine = 0;
  743. sysf_trace("그래프 생성시작");
  744. for(var i = 0 ; i < ds_grid_grd_main.getRowCount(); i++){
  745. if(ds_main_vsmast.getColumn(i,"leftaxis") == "1" ){
  746. sChartItem[0] = ds_main_vsmast.getColumn(i,"itemcd");
  747. }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "2"){
  748. sChartItem[1] = ds_main_vsmast.getColumn(i,"itemcd");
  749. }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "3" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
  750. sChartItem[2] = ds_main_vsmast.getColumn(i,"itemcd");
  751. }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "4" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
  752. sChartItem[3] = ds_main_vsmast.getColumn(i,"itemcd");
  753. }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "5" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
  754. sChartItem[4] = ds_main_vsmast.getColumn(i,"itemcd");
  755. }
  756. }
  757. inff_clearTChart(vitalchart);
  758. vitalchart.Axis.RemoveAllCustom();
  759. sChartInfo = utlf_transNullToEmpty(ds_cond.getColumn(ds_cond.rowposition,"hourschartinfo")).split(" ");
  760. //model.getValue(sCondPath+"/hourschartinfo").split(" ");
  761. //margin 값 정하기
  762. //vitalchart.Panel.MarginTop = 1;
  763. vitalchart.Panel.MarginTop = 2;
  764. vitalchart.Panel.MarginLeft = 4;
  765. vitalchart.Panel.MarginRight = 0;
  766. vitalchart.Panel.MarginBottom = -6;
  767. //vitalchart.Axis.Bottom.TickLength = -5;
  768. //하단축 칸 수 정하기와 눈금 없애기
  769. if(utlf_isNull(sInterval)){
  770. sInterval = 24;
  771. sIncrement = 1;
  772. sStartLine = 0;
  773. }else{
  774. sStartLine = parseInt(parseInt(ds_cond.getColumn(ds_cond.rowposition, "rectm").substr(2,2))/parseInt(ds_cond.getColumn(ds_cond.rowposition, "timeflag")));
  775. }
  776. vitalchart.Axis.Bottom.SetMinMax (0, sInterval); //하루 동안 좌표를 표현
  777. vitalchart.Axis.Bottom.Increment = sIncrement;
  778. vitalchart.Axis.Bottom.MinorTickCount = 1;
  779. Obj_Chart = vitalchart;
  780. sColCnt = 24;
  781. Obj_Chart.Axis.Bottom.AxisPen.Color = 0x000000;
  782. Obj_Chart.Axis.Bottom.Labels.Font.Color = 0xffffff; //Obj_Chart.Panel.Color; //하단 축 눈금 명칭 색을 바탕색으로 하여 보이지 않게 처리
  783. Obj_Chart.Header.Visible = false;
  784. Obj_Chart.Aspect.View3D = 0; //2d 로 표현하기
  785. Obj_Chart.Zoom.Enable = false; // zoom 사용하지 않기
  786. Obj_Chart.Scroll.Enable = true; // scroll 사용하지 않기
  787. Obj_Chart.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
  788. Obj_Chart.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
  789. Obj_Chart.Panel.Gradient.StartColor = 0xffffff;
  790. Obj_Chart.Panel.Gradient.EndColor=0xffffff;
  791. Obj_Chart.Environment.MouseWheelScroll = true;
  792. // 혈압을 나타내는 막대그래프를 먼저 그려야 맥박, 체온,호흡 점이 막대 그래프에 가려지지 않는다.
  793. //alert(getNodesetCount("/root/main/vsmast/item"));
  794. var cus_axis1 = Obj_Chart.Axis.AddCustom(false); // ECG(II)
  795. Obj_Chart.Axis.get_Custom(0).AxisPen.Color = 0x000000;
  796. //Obj_Chart.Axis.Custom(0).Title.Caption = "혈압/맥박"
  797. Obj_Chart.Axis.get_Custom(0).Title.Font.Size = 8;
  798. Obj_Chart.Axis.get_Custom(0).Title.Font.Bold = true;
  799. Obj_Chart.Axis.get_Custom(0).Title.Angle = 90;
  800. Obj_Chart.Axis.get_Custom(0).PositionPercent = 0;
  801. Obj_Chart.Axis.get_Custom(0).StartPosition = 0;
  802. Obj_Chart.Axis.get_Custom(0).EndPosition = 100;
  803. Obj_Chart.Axis.get_Custom(0).Automatic = false;
  804. Obj_Chart.Axis.get_Custom(0).Maximum = 200;
  805. Obj_Chart.Axis.get_Custom(0).Minimum = 0;
  806. Obj_Chart.Axis.get_Custom(0).Increment = 10;
  807. var cus_axis2 = Obj_Chart.Axis.AddCustom(false); // ECG(V5)
  808. Obj_Chart.Axis.get_Custom(1).AxisPen.Color = 0x000000;
  809. //Obj_Chart.Axis.get_Custom(1).Title.Caption = "호흡";
  810. Obj_Chart.Axis.get_Custom(1).Title.Font.Size = 0;
  811. Obj_Chart.Axis.get_Custom(1).Title.Font.Bold = true;
  812. Obj_Chart.Axis.get_Custom(1).Title.Angle = 90;
  813. Obj_Chart.Axis.get_Custom(1).PositionPercent = 0;
  814. Obj_Chart.Axis.get_Custom(1).Automatic = false;
  815. Obj_Chart.Axis.get_Custom(1).Maximum = 200;
  816. Obj_Chart.Axis.get_Custom(1).Minimum = 0;
  817. Obj_Chart.Axis.get_Custom(1).Increment = 10;
  818. var cus_axis3 = Obj_Chart.Axis.AddCustom(false); // SBP
  819. Obj_Chart.Axis.get_Custom(2).AxisPen.Color = 0x000000;
  820. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "SBP";
  821. Obj_Chart.Axis.get_Custom(2).Title.Font.Size = 0;
  822. Obj_Chart.Axis.get_Custom(2).Title.Font.Bold = true;
  823. Obj_Chart.Axis.get_Custom(2).Title.Angle = 90;
  824. Obj_Chart.Axis.get_Custom(2).PositionPercent = 0;
  825. Obj_Chart.Axis.get_Custom(2).Automatic = false;
  826. Obj_Chart.Axis.get_Custom(2).Maximum = 200;
  827. Obj_Chart.Axis.get_Custom(2).Minimum = 0;
  828. Obj_Chart.Axis.get_Custom(2).Increment = 10;
  829. var cus_axis4 = Obj_Chart.Axis.AddCustom(false); // DBP
  830. Obj_Chart.Axis.get_Custom(3).AxisPen.Color = 0x000000;
  831. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  832. Obj_Chart.Axis.get_Custom(3).Title.Font.Size = 0;
  833. Obj_Chart.Axis.get_Custom(3).Title.Font.Bold = true;
  834. Obj_Chart.Axis.get_Custom(3).Title.Angle = 90;
  835. Obj_Chart.Axis.get_Custom(3).PositionPercent = 0;
  836. Obj_Chart.Axis.get_Custom(3).Automatic = false;
  837. Obj_Chart.Axis.get_Custom(3).Maximum = 200;
  838. Obj_Chart.Axis.get_Custom(3).Minimum = 0;
  839. Obj_Chart.Axis.get_Custom(3).Increment = 10;
  840. var cus_axis5 = Obj_Chart.Axis.AddCustom(false); // MBP
  841. Obj_Chart.Axis.get_Custom(4).AxisPen.Color = 0x000000;
  842. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  843. Obj_Chart.Axis.get_Custom(4).Title.Font.Size = 0;
  844. Obj_Chart.Axis.get_Custom(4).Title.Font.Bold = true;
  845. Obj_Chart.Axis.get_Custom(4).Title.Angle = 90;
  846. Obj_Chart.Axis.get_Custom(4).PositionPercent = 0;
  847. Obj_Chart.Axis.get_Custom(4).Automatic = false;
  848. Obj_Chart.Axis.get_Custom(4).Maximum = 200;
  849. Obj_Chart.Axis.get_Custom(4).Minimum = 0;
  850. Obj_Chart.Axis.get_Custom(4).Increment = 10;
  851. var cus_axis6 = Obj_Chart.Axis.AddCustom(false); // sABP
  852. Obj_Chart.Axis.get_Custom(5).AxisPen.Color = 0x000000;
  853. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  854. Obj_Chart.Axis.get_Custom(5).Title.Font.Size = 0;
  855. Obj_Chart.Axis.get_Custom(5).Title.Font.Bold = true;
  856. Obj_Chart.Axis.get_Custom(5).Title.Angle = 90;
  857. Obj_Chart.Axis.get_Custom(5).PositionPercent = 0;
  858. Obj_Chart.Axis.get_Custom(5).Automatic = false;
  859. Obj_Chart.Axis.get_Custom(5).Maximum = 200;
  860. Obj_Chart.Axis.get_Custom(5).Minimum = 0;
  861. Obj_Chart.Axis.get_Custom(5).Increment = 10;
  862. var cus_axis7 = Obj_Chart.Axis.AddCustom(false); // dABP
  863. Obj_Chart.Axis.get_Custom(6).AxisPen.Color = 0x000000;
  864. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  865. Obj_Chart.Axis.get_Custom(6).Title.Font.Size = 0;
  866. Obj_Chart.Axis.get_Custom(6).Title.Font.Bold = true;
  867. Obj_Chart.Axis.get_Custom(6).Title.Angle = 90;
  868. Obj_Chart.Axis.get_Custom(6).PositionPercent = 0;
  869. Obj_Chart.Axis.get_Custom(6).Automatic = false;
  870. Obj_Chart.Axis.get_Custom(6).Maximum = 200;
  871. Obj_Chart.Axis.get_Custom(6).Minimum = 0;
  872. Obj_Chart.Axis.get_Custom(6).Increment = 10;
  873. var cus_axis8 = Obj_Chart.Axis.AddCustom(false); // mABP
  874. Obj_Chart.Axis.get_Custom(7).AxisPen.Color = 0x000000;
  875. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  876. Obj_Chart.Axis.get_Custom(7).Title.Font.Size = 0;
  877. Obj_Chart.Axis.get_Custom(7).Title.Font.Bold = true;
  878. Obj_Chart.Axis.get_Custom(7).Title.Angle = 90;
  879. Obj_Chart.Axis.get_Custom(7).PositionPercent = 0;
  880. Obj_Chart.Axis.get_Custom(7).Automatic = false;
  881. Obj_Chart.Axis.get_Custom(7).Maximum = 200;
  882. Obj_Chart.Axis.get_Custom(7).Minimum = 0;
  883. Obj_Chart.Axis.get_Custom(7).Increment = 10;
  884. var cus_axis9 = Obj_Chart.Axis.AddCustom(false); // HR
  885. Obj_Chart.Axis.get_Custom(8).AxisPen.Color = 0x000000;
  886. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  887. Obj_Chart.Axis.get_Custom(8).Title.Font.Size = 0;
  888. Obj_Chart.Axis.get_Custom(8).Title.Font.Bold = true;
  889. Obj_Chart.Axis.get_Custom(8).Title.Angle = 90;
  890. Obj_Chart.Axis.get_Custom(8).PositionPercent = 0;
  891. Obj_Chart.Axis.get_Custom(8).Automatic = false;
  892. Obj_Chart.Axis.get_Custom(8).Maximum = 200;
  893. Obj_Chart.Axis.get_Custom(8).Minimum = 0;
  894. Obj_Chart.Axis.get_Custom(8).Increment = 10;
  895. var cus_axis10 = Obj_Chart.Axis.AddCustom(false); // SPO2
  896. Obj_Chart.Axis.get_Custom(9).AxisPen.Color = 0x000000;
  897. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  898. Obj_Chart.Axis.get_Custom(9).Title.Font.Size = 0;
  899. Obj_Chart.Axis.get_Custom(9).Title.Font.Bold = true;
  900. Obj_Chart.Axis.get_Custom(9).Title.Angle = 90;
  901. Obj_Chart.Axis.get_Custom(9).PositionPercent = 0;
  902. Obj_Chart.Axis.get_Custom(9).Automatic = false;
  903. Obj_Chart.Axis.get_Custom(9).Maximum = 200;
  904. Obj_Chart.Axis.get_Custom(9).Minimum = 0;
  905. Obj_Chart.Axis.get_Custom(9).Increment = 10;
  906. var cus_axis11 = Obj_Chart.Axis.AddCustom(false); // ETCO2
  907. Obj_Chart.Axis.get_Custom(10).AxisPen.Color = 0x000000;
  908. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  909. Obj_Chart.Axis.get_Custom(10).Title.Font.Size = 0;
  910. Obj_Chart.Axis.get_Custom(10).Title.Font.Bold = true;
  911. Obj_Chart.Axis.get_Custom(10).Title.Angle = 90;
  912. Obj_Chart.Axis.get_Custom(10).PositionPercent = 0;
  913. Obj_Chart.Axis.get_Custom(10).Automatic = false;
  914. Obj_Chart.Axis.get_Custom(10).Maximum = 200;
  915. Obj_Chart.Axis.get_Custom(10).Minimum = 0;
  916. Obj_Chart.Axis.get_Custom(10).Increment = 10;
  917. var cus_axis12 = Obj_Chart.Axis.AddCustom(false); // CVP
  918. Obj_Chart.Axis.get_Custom(11).AxisPen.Color = 0x000000;
  919. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  920. Obj_Chart.Axis.get_Custom(11).Title.Font.Size = 0;
  921. Obj_Chart.Axis.get_Custom(11).Title.Font.Bold = true;
  922. Obj_Chart.Axis.get_Custom(11).Title.Angle = 90;
  923. Obj_Chart.Axis.get_Custom(11).PositionPercent = 0;
  924. Obj_Chart.Axis.get_Custom(11).Automatic = false;
  925. Obj_Chart.Axis.get_Custom(11).Maximum = 200;
  926. Obj_Chart.Axis.get_Custom(11).Minimum = 0;
  927. Obj_Chart.Axis.get_Custom(11).Increment = 10;
  928. var cus_axis13 = Obj_Chart.Axis.AddCustom(false); // sPAP
  929. Obj_Chart.Axis.get_Custom(12).AxisPen.Color = 0x000000;
  930. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  931. Obj_Chart.Axis.get_Custom(12).Title.Font.Size = 0;
  932. Obj_Chart.Axis.get_Custom(12).Title.Font.Bold = true;
  933. Obj_Chart.Axis.get_Custom(12).Title.Angle = 90;
  934. Obj_Chart.Axis.get_Custom(12).PositionPercent = 0;
  935. Obj_Chart.Axis.get_Custom(12).Automatic = false;
  936. Obj_Chart.Axis.get_Custom(12).Maximum = 200;
  937. Obj_Chart.Axis.get_Custom(12).Minimum = 0;
  938. Obj_Chart.Axis.get_Custom(12).Increment = 10;
  939. var cus_axis14 = Obj_Chart.Axis.AddCustom(false); // dPAP
  940. Obj_Chart.Axis.get_Custom(13).AxisPen.Color = 0x000000;
  941. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  942. Obj_Chart.Axis.get_Custom(13).Title.Font.Size = 0;
  943. Obj_Chart.Axis.get_Custom(13).Title.Font.Bold = true;
  944. Obj_Chart.Axis.get_Custom(13).Title.Angle = 90;
  945. Obj_Chart.Axis.get_Custom(13).PositionPercent = 0;
  946. Obj_Chart.Axis.get_Custom(13).Automatic = false;
  947. Obj_Chart.Axis.get_Custom(13).Maximum = 200;
  948. Obj_Chart.Axis.get_Custom(13).Minimum = 0;
  949. Obj_Chart.Axis.get_Custom(13).Increment = 10;
  950. var cus_axis15 = Obj_Chart.Axis.AddCustom(false); // mPAP
  951. Obj_Chart.Axis.get_Custom(14).AxisPen.Color = 0x000000;
  952. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  953. Obj_Chart.Axis.get_Custom(14).Title.Font.Size = 0;
  954. Obj_Chart.Axis.get_Custom(14).Title.Font.Bold = true;
  955. Obj_Chart.Axis.get_Custom(14).Title.Angle = 90;
  956. Obj_Chart.Axis.get_Custom(14).PositionPercent = 0;
  957. Obj_Chart.Axis.get_Custom(14).Automatic = false;
  958. Obj_Chart.Axis.get_Custom(14).Maximum = 200;
  959. Obj_Chart.Axis.get_Custom(14).Minimum = 0;
  960. Obj_Chart.Axis.get_Custom(14).Increment = 10;
  961. var cus_axis16 = Obj_Chart.Axis.AddCustom(false); // PCWP
  962. Obj_Chart.Axis.get_Custom(15).AxisPen.Color = 0x000000;
  963. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  964. Obj_Chart.Axis.get_Custom(15).Title.Font.Size = 0;
  965. Obj_Chart.Axis.get_Custom(15).Title.Font.Bold = true;
  966. Obj_Chart.Axis.get_Custom(15).Title.Angle = 90;
  967. Obj_Chart.Axis.get_Custom(15).PositionPercent = 0;
  968. Obj_Chart.Axis.get_Custom(15).Automatic = false;
  969. Obj_Chart.Axis.get_Custom(15).Maximum = 200;
  970. Obj_Chart.Axis.get_Custom(15).Minimum = 0;
  971. Obj_Chart.Axis.get_Custom(15).Increment = 10;
  972. var cus_axis17 = Obj_Chart.Axis.AddCustom(false); // BIS
  973. Obj_Chart.Axis.get_Custom(16).AxisPen.Color = 0x000000;
  974. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  975. Obj_Chart.Axis.get_Custom(16).Title.Font.Size = 0;
  976. Obj_Chart.Axis.get_Custom(16).Title.Font.Bold = true;
  977. Obj_Chart.Axis.get_Custom(16).Title.Angle = 90;
  978. Obj_Chart.Axis.get_Custom(16).PositionPercent = 0;
  979. Obj_Chart.Axis.get_Custom(16).Automatic = false;
  980. Obj_Chart.Axis.get_Custom(16).Maximum = 200;
  981. Obj_Chart.Axis.get_Custom(16).Minimum = 0;
  982. Obj_Chart.Axis.get_Custom(16).Increment = 10;
  983. var cus_axis18 = Obj_Chart.Axis.AddCustom(false); // S-Entropy
  984. Obj_Chart.Axis.get_Custom(17).AxisPen.Color = 0x000000;
  985. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  986. Obj_Chart.Axis.get_Custom(17).Title.Font.Size = 0;
  987. Obj_Chart.Axis.get_Custom(17).Title.Font.Bold = true;
  988. Obj_Chart.Axis.get_Custom(17).Title.Angle = 90;
  989. Obj_Chart.Axis.get_Custom(17).PositionPercent = 0;
  990. Obj_Chart.Axis.get_Custom(17).Automatic = false;
  991. Obj_Chart.Axis.get_Custom(17).Maximum = 200;
  992. Obj_Chart.Axis.get_Custom(17).Minimum = 0;
  993. Obj_Chart.Axis.get_Custom(17).Increment = 10;
  994. var cus_axis19 = Obj_Chart.Axis.AddCustom(false); // R-Entropy
  995. Obj_Chart.Axis.get_Custom(18).AxisPen.Color = 0x000000;
  996. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  997. Obj_Chart.Axis.get_Custom(18).Title.Font.Size = 0;
  998. Obj_Chart.Axis.get_Custom(18).Title.Font.Bold = true;
  999. Obj_Chart.Axis.get_Custom(18).Title.Angle = 90;
  1000. Obj_Chart.Axis.get_Custom(18).PositionPercent = 0;
  1001. Obj_Chart.Axis.get_Custom(18).Automatic = false;
  1002. Obj_Chart.Axis.get_Custom(18).Maximum = 200;
  1003. Obj_Chart.Axis.get_Custom(18).Minimum = 0;
  1004. Obj_Chart.Axis.get_Custom(18).Increment = 10;
  1005. var cus_axis20 = Obj_Chart.Axis.AddCustom(false); // CI
  1006. Obj_Chart.Axis.get_Custom(19).AxisPen.Color = 0x000000;
  1007. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1008. Obj_Chart.Axis.get_Custom(19).Title.Font.Size = 0;
  1009. Obj_Chart.Axis.get_Custom(19).Title.Font.Bold = true;
  1010. Obj_Chart.Axis.get_Custom(19).Title.Angle = 90;
  1011. Obj_Chart.Axis.get_Custom(19).PositionPercent = 0;
  1012. Obj_Chart.Axis.get_Custom(19).Automatic = false;
  1013. Obj_Chart.Axis.get_Custom(19).Maximum = 200;
  1014. Obj_Chart.Axis.get_Custom(19).Minimum = 0;
  1015. Obj_Chart.Axis.get_Custom(19).Increment = 10;
  1016. var cus_axis21 = Obj_Chart.Axis.AddCustom(false); // radial(R)
  1017. Obj_Chart.Axis.get_Custom(20).AxisPen.Color = 0x000000;
  1018. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1019. Obj_Chart.Axis.get_Custom(20).Title.Font.Size = 0;
  1020. Obj_Chart.Axis.get_Custom(20).Title.Font.Bold = true;
  1021. Obj_Chart.Axis.get_Custom(20).Title.Angle = 90;
  1022. Obj_Chart.Axis.get_Custom(20).PositionPercent = 0;
  1023. Obj_Chart.Axis.get_Custom(20).Automatic = false;
  1024. Obj_Chart.Axis.get_Custom(20).Maximum = 200;
  1025. Obj_Chart.Axis.get_Custom(20).Minimum = 0;
  1026. Obj_Chart.Axis.get_Custom(20).Increment = 10;
  1027. var cus_axis22 = Obj_Chart.Axis.AddCustom(false); // radial(L)
  1028. Obj_Chart.Axis.get_Custom(21).AxisPen.Color = 0x000000;
  1029. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1030. Obj_Chart.Axis.get_Custom(21).Title.Font.Size = 0;
  1031. Obj_Chart.Axis.get_Custom(21).Title.Font.Bold = true;
  1032. Obj_Chart.Axis.get_Custom(21).Title.Angle = 90;
  1033. Obj_Chart.Axis.get_Custom(21).PositionPercent = 0;
  1034. Obj_Chart.Axis.get_Custom(21).Automatic = false;
  1035. Obj_Chart.Axis.get_Custom(21).Maximum = 200;
  1036. Obj_Chart.Axis.get_Custom(21).Minimum = 0;
  1037. Obj_Chart.Axis.get_Custom(21).Increment = 10;
  1038. var cus_axis23 = Obj_Chart.Axis.AddCustom(false); // PVP
  1039. Obj_Chart.Axis.get_Custom(22).AxisPen.Color = 0x000000;
  1040. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1041. Obj_Chart.Axis.get_Custom(22).Title.Font.Size = 0;
  1042. Obj_Chart.Axis.get_Custom(22).Title.Font.Bold = true;
  1043. Obj_Chart.Axis.get_Custom(22).Title.Angle = 90;
  1044. Obj_Chart.Axis.get_Custom(22).PositionPercent = 0;
  1045. Obj_Chart.Axis.get_Custom(22).Automatic = false;
  1046. Obj_Chart.Axis.get_Custom(22).Maximum = 200;
  1047. Obj_Chart.Axis.get_Custom(22).Minimum = 0;
  1048. Obj_Chart.Axis.get_Custom(22).Increment = 10;
  1049. var cus_axis24 = Obj_Chart.Axis.AddCustom(false); // Cerebral Oxymeter
  1050. Obj_Chart.Axis.get_Custom(23).AxisPen.Color = 0x000000;
  1051. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1052. Obj_Chart.Axis.get_Custom(23).Title.Font.Size = 0;
  1053. Obj_Chart.Axis.get_Custom(23).Title.Font.Bold = true;
  1054. Obj_Chart.Axis.get_Custom(23).Title.Angle = 90;
  1055. Obj_Chart.Axis.get_Custom(23).PositionPercent = 0;
  1056. Obj_Chart.Axis.get_Custom(23).Automatic = false;
  1057. Obj_Chart.Axis.get_Custom(23).Maximum = 200;
  1058. Obj_Chart.Axis.get_Custom(23).Minimum = 0;
  1059. Obj_Chart.Axis.get_Custom(23).Increment = 10;
  1060. var cus_axis25 = Obj_Chart.Axis.AddCustom(false); // Body Temp
  1061. Obj_Chart.Axis.get_Custom(24).AxisPen.Color = 0x000000;
  1062. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1063. Obj_Chart.Axis.get_Custom(24).Title.Font.Size = 0;
  1064. Obj_Chart.Axis.get_Custom(24).Title.Font.Bold = true;
  1065. Obj_Chart.Axis.get_Custom(24).Title.Angle = 90;
  1066. Obj_Chart.Axis.get_Custom(24).PositionPercent = 0;
  1067. Obj_Chart.Axis.get_Custom(24).Automatic = false;
  1068. Obj_Chart.Axis.get_Custom(24).Maximum = 200;
  1069. Obj_Chart.Axis.get_Custom(24).Minimum = 0;
  1070. Obj_Chart.Axis.get_Custom(24).Increment = 10;
  1071. var cus_axis26 = Obj_Chart.Axis.AddCustom(false); // rectal Temp
  1072. Obj_Chart.Axis.get_Custom(25).AxisPen.Color = 0x000000;
  1073. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1074. Obj_Chart.Axis.get_Custom(25).Title.Font.Size = 0;
  1075. Obj_Chart.Axis.get_Custom(25).Title.Font.Bold = true;
  1076. Obj_Chart.Axis.get_Custom(25).Title.Angle = 90;
  1077. Obj_Chart.Axis.get_Custom(25).PositionPercent = 0;
  1078. Obj_Chart.Axis.get_Custom(25).Automatic = false;
  1079. Obj_Chart.Axis.get_Custom(25).Maximum = 200;
  1080. Obj_Chart.Axis.get_Custom(25).Minimum = 0;
  1081. Obj_Chart.Axis.get_Custom(25).Increment = 10;
  1082. var cus_axis27 = Obj_Chart.Axis.AddCustom(false); // Urine Output
  1083. Obj_Chart.Axis.get_Custom(26).AxisPen.Color = 0x000000;
  1084. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1085. Obj_Chart.Axis.get_Custom(26).Title.Font.Size = 0;
  1086. Obj_Chart.Axis.get_Custom(26).Title.Font.Bold = true;
  1087. Obj_Chart.Axis.get_Custom(26).Title.Angle = 90;
  1088. Obj_Chart.Axis.get_Custom(26).PositionPercent = 0;
  1089. Obj_Chart.Axis.get_Custom(26).Automatic = false;
  1090. Obj_Chart.Axis.get_Custom(26).Maximum = 200;
  1091. Obj_Chart.Axis.get_Custom(26).Minimum = 0;
  1092. Obj_Chart.Axis.get_Custom(26).Increment = 10;
  1093. var cus_axis28 = Obj_Chart.Axis.AddCustom(false); // SVR
  1094. Obj_Chart.Axis.get_Custom(27).AxisPen.Color = 0x000000;
  1095. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1096. Obj_Chart.Axis.get_Custom(27).Title.Font.Size = 0;
  1097. Obj_Chart.Axis.get_Custom(27).Title.Font.Bold = true;
  1098. Obj_Chart.Axis.get_Custom(27).Title.Angle = 90;
  1099. Obj_Chart.Axis.get_Custom(27).PositionPercent = 0;
  1100. Obj_Chart.Axis.get_Custom(27).Automatic = false;
  1101. Obj_Chart.Axis.get_Custom(27).Maximum = 200;
  1102. Obj_Chart.Axis.get_Custom(27).Minimum = 0;
  1103. Obj_Chart.Axis.get_Custom(27).Increment = 10;
  1104. var cus_axis29 = Obj_Chart.Axis.AddCustom(false); // SVV
  1105. Obj_Chart.Axis.get_Custom(28).AxisPen.Color = 0x000000;
  1106. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1107. Obj_Chart.Axis.get_Custom(28).Title.Font.Size = 0;
  1108. Obj_Chart.Axis.get_Custom(28).Title.Font.Bold = true;
  1109. Obj_Chart.Axis.get_Custom(28).Title.Angle = 90;
  1110. Obj_Chart.Axis.get_Custom(28).PositionPercent = 0;
  1111. Obj_Chart.Axis.get_Custom(28).Automatic = false;
  1112. Obj_Chart.Axis.get_Custom(28).Maximum = 200;
  1113. Obj_Chart.Axis.get_Custom(28).Minimum = 0;
  1114. Obj_Chart.Axis.get_Custom(28).Increment = 10;
  1115. var cus_axis30 = Obj_Chart.Axis.AddCustom(false); // TV
  1116. Obj_Chart.Axis.get_Custom(29).AxisPen.Color = 0x000000;
  1117. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1118. Obj_Chart.Axis.get_Custom(29).Title.Font.Size = 0;
  1119. Obj_Chart.Axis.get_Custom(29).Title.Font.Bold = true;
  1120. Obj_Chart.Axis.get_Custom(29).Title.Angle = 90;
  1121. Obj_Chart.Axis.get_Custom(29).PositionPercent = 0;
  1122. Obj_Chart.Axis.get_Custom(29).Automatic = false;
  1123. Obj_Chart.Axis.get_Custom(29).Maximum = 200;
  1124. Obj_Chart.Axis.get_Custom(29).Minimum = 0;
  1125. Obj_Chart.Axis.get_Custom(29).Increment = 10;
  1126. var cus_axis31 = Obj_Chart.Axis.AddCustom(false); // RR
  1127. Obj_Chart.Axis.get_Custom(30).AxisPen.Color = 0x000000;
  1128. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1129. Obj_Chart.Axis.get_Custom(30).Title.Font.Size = 0;
  1130. Obj_Chart.Axis.get_Custom(30).Title.Font.Bold = true;
  1131. Obj_Chart.Axis.get_Custom(30).Title.Angle = 90;
  1132. Obj_Chart.Axis.get_Custom(30).PositionPercent = 0;
  1133. Obj_Chart.Axis.get_Custom(30).Automatic = false;
  1134. Obj_Chart.Axis.get_Custom(30).Maximum = 200;
  1135. Obj_Chart.Axis.get_Custom(30).Minimum = 0;
  1136. Obj_Chart.Axis.get_Custom(30).Increment = 10;
  1137. var cus_axis32 = Obj_Chart.Axis.AddCustom(false); // ScVO2
  1138. Obj_Chart.Axis.get_Custom(31).AxisPen.Color = 0x000000;
  1139. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1140. Obj_Chart.Axis.get_Custom(31).Title.Font.Size = 0;
  1141. Obj_Chart.Axis.get_Custom(31).Title.Font.Bold = true;
  1142. Obj_Chart.Axis.get_Custom(31).Title.Angle = 90;
  1143. Obj_Chart.Axis.get_Custom(31).PositionPercent = 0;
  1144. Obj_Chart.Axis.get_Custom(31).Automatic = false;
  1145. Obj_Chart.Axis.get_Custom(31).Maximum = 200;
  1146. Obj_Chart.Axis.get_Custom(31).Minimum = 0;
  1147. Obj_Chart.Axis.get_Custom(31).Increment = 10;
  1148. var cus_axis33 = Obj_Chart.Axis.AddCustom(false); // SvO2
  1149. Obj_Chart.Axis.get_Custom(32).AxisPen.Color = 0x000000;
  1150. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1151. Obj_Chart.Axis.get_Custom(32).Title.Font.Size = 0;
  1152. Obj_Chart.Axis.get_Custom(32).Title.Font.Bold = true;
  1153. Obj_Chart.Axis.get_Custom(32).Title.Angle = 90;
  1154. Obj_Chart.Axis.get_Custom(32).PositionPercent = 0;
  1155. Obj_Chart.Axis.get_Custom(32).Automatic = false;
  1156. Obj_Chart.Axis.get_Custom(32).Maximum = 200;
  1157. Obj_Chart.Axis.get_Custom(32).Minimum = 0;
  1158. Obj_Chart.Axis.get_Custom(32).Increment = 10;
  1159. var cus_axis34 = Obj_Chart.Axis.AddCustom(false); // PIP
  1160. Obj_Chart.Axis.get_Custom(33).AxisPen.Color = 0x000000;
  1161. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1162. Obj_Chart.Axis.get_Custom(33).Title.Font.Size = 0;
  1163. Obj_Chart.Axis.get_Custom(33).Title.Font.Bold = true;
  1164. Obj_Chart.Axis.get_Custom(33).Title.Angle = 90;
  1165. Obj_Chart.Axis.get_Custom(33).PositionPercent = 0;
  1166. Obj_Chart.Axis.get_Custom(33).Automatic = false;
  1167. Obj_Chart.Axis.get_Custom(33).Maximum = 200;
  1168. Obj_Chart.Axis.get_Custom(33).Minimum = 0;
  1169. Obj_Chart.Axis.get_Custom(33).Increment = 10;
  1170. var cus_axis35 = Obj_Chart.Axis.AddCustom(false); // test
  1171. Obj_Chart.Axis.get_Custom(34).AxisPen.Color = 0x000000;
  1172. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1173. Obj_Chart.Axis.get_Custom(34).Title.Font.Size = 0;
  1174. Obj_Chart.Axis.get_Custom(34).Title.Font.Bold = true;
  1175. Obj_Chart.Axis.get_Custom(34).Title.Angle = 90;
  1176. Obj_Chart.Axis.get_Custom(34).PositionPercent = 0;
  1177. Obj_Chart.Axis.get_Custom(34).Automatic = false;
  1178. Obj_Chart.Axis.get_Custom(34).Maximum = 200;
  1179. Obj_Chart.Axis.get_Custom(34).Minimum = 0;
  1180. Obj_Chart.Axis.get_Custom(34).Increment = 10;
  1181. //추가 시작
  1182. var cus_axis36 = Obj_Chart.Axis.AddCustom(false); // test
  1183. Obj_Chart.Axis.get_Custom(35).AxisPen.Color = 0x000000;
  1184. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1185. Obj_Chart.Axis.get_Custom(35).Title.Font.Size = 0;
  1186. Obj_Chart.Axis.get_Custom(35).Title.Font.Bold = true;
  1187. Obj_Chart.Axis.get_Custom(35).Title.Angle = 90;
  1188. Obj_Chart.Axis.get_Custom(35).PositionPercent = 0;
  1189. Obj_Chart.Axis.get_Custom(35).Automatic = false;
  1190. Obj_Chart.Axis.get_Custom(35).Maximum = 200;
  1191. Obj_Chart.Axis.get_Custom(35).Minimum = 0;
  1192. Obj_Chart.Axis.get_Custom(35).Increment = 10;
  1193. var cus_axis37 = Obj_Chart.Axis.AddCustom(false); // test
  1194. Obj_Chart.Axis.get_Custom(36).AxisPen.Color = 0x000000;
  1195. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1196. Obj_Chart.Axis.get_Custom(36).Title.Font.Size = 0;
  1197. Obj_Chart.Axis.get_Custom(36).Title.Font.Bold = true;
  1198. Obj_Chart.Axis.get_Custom(36).Title.Angle = 90;
  1199. Obj_Chart.Axis.get_Custom(36).PositionPercent = 0;
  1200. Obj_Chart.Axis.get_Custom(36).Automatic = false;
  1201. Obj_Chart.Axis.get_Custom(36).Maximum = 200;
  1202. Obj_Chart.Axis.get_Custom(36).Minimum = 0;
  1203. Obj_Chart.Axis.get_Custom(36).Increment = 10;
  1204. var cus_axis38 = Obj_Chart.Axis.AddCustom(false); // test
  1205. Obj_Chart.Axis.get_Custom(37).AxisPen.Color = 0x000000;
  1206. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1207. Obj_Chart.Axis.get_Custom(37).Title.Font.Size = 0;
  1208. Obj_Chart.Axis.get_Custom(37).Title.Font.Bold = true;
  1209. Obj_Chart.Axis.get_Custom(37).Title.Angle = 90;
  1210. Obj_Chart.Axis.get_Custom(37).PositionPercent = 0;
  1211. Obj_Chart.Axis.get_Custom(37).Automatic = false;
  1212. Obj_Chart.Axis.get_Custom(37).Maximum = 200;
  1213. Obj_Chart.Axis.get_Custom(37).Minimum = 0;
  1214. Obj_Chart.Axis.get_Custom(37).Increment = 10;
  1215. var cus_axis39 = Obj_Chart.Axis.AddCustom(false); // test
  1216. Obj_Chart.Axis.get_Custom(38).AxisPen.Color = 0x000000;
  1217. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1218. Obj_Chart.Axis.get_Custom(38).Title.Font.Size = 0;
  1219. Obj_Chart.Axis.get_Custom(38).Title.Font.Bold = true;
  1220. Obj_Chart.Axis.get_Custom(38).Title.Angle = 90;
  1221. Obj_Chart.Axis.get_Custom(38).PositionPercent = 0;
  1222. Obj_Chart.Axis.get_Custom(38).Automatic = false;
  1223. Obj_Chart.Axis.get_Custom(38).Maximum = 200;
  1224. Obj_Chart.Axis.get_Custom(38).Minimum = 0;
  1225. Obj_Chart.Axis.get_Custom(38).Increment = 10;
  1226. var cus_axis40 = Obj_Chart.Axis.AddCustom(false); // test
  1227. Obj_Chart.Axis.get_Custom(39).AxisPen.Color = 0x000000;
  1228. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1229. Obj_Chart.Axis.get_Custom(39).Title.Font.Size = 0;
  1230. Obj_Chart.Axis.get_Custom(39).Title.Font.Bold = true;
  1231. Obj_Chart.Axis.get_Custom(39).Title.Angle = 90;
  1232. Obj_Chart.Axis.get_Custom(39).PositionPercent = 0;
  1233. Obj_Chart.Axis.get_Custom(39).Automatic = false;
  1234. Obj_Chart.Axis.get_Custom(39).Maximum = 200;
  1235. Obj_Chart.Axis.get_Custom(39).Minimum = 0;
  1236. Obj_Chart.Axis.get_Custom(39).Increment = 10;
  1237. var cus_axis41 = Obj_Chart.Axis.AddCustom(false); // test
  1238. Obj_Chart.Axis.get_Custom(40).AxisPen.Color = 0x000000;
  1239. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1240. Obj_Chart.Axis.get_Custom(40).Title.Font.Size = 0;
  1241. Obj_Chart.Axis.get_Custom(40).Title.Font.Bold = true;
  1242. Obj_Chart.Axis.get_Custom(40).Title.Angle = 90;
  1243. Obj_Chart.Axis.get_Custom(40).PositionPercent = 0;
  1244. Obj_Chart.Axis.get_Custom(40).Automatic = false;
  1245. Obj_Chart.Axis.get_Custom(40).Maximum = 200;
  1246. Obj_Chart.Axis.get_Custom(40).Minimum = 0;
  1247. Obj_Chart.Axis.get_Custom(40).Increment = 10;
  1248. var cus_axis42 = Obj_Chart.Axis.AddCustom(false); // test
  1249. Obj_Chart.Axis.get_Custom(41).AxisPen.Color = 0x000000;
  1250. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1251. Obj_Chart.Axis.get_Custom(41).Title.Font.Size = 0;
  1252. Obj_Chart.Axis.get_Custom(41).Title.Font.Bold = true;
  1253. Obj_Chart.Axis.get_Custom(41).Title.Angle = 90;
  1254. Obj_Chart.Axis.get_Custom(41).PositionPercent = 0;
  1255. Obj_Chart.Axis.get_Custom(41).Automatic = false;
  1256. Obj_Chart.Axis.get_Custom(41).Maximum = 200;
  1257. Obj_Chart.Axis.get_Custom(41).Minimum = 0;
  1258. Obj_Chart.Axis.get_Custom(41).Increment = 10;
  1259. var cus_axis43 = Obj_Chart.Axis.AddCustom(false); // test
  1260. Obj_Chart.Axis.get_Custom(42).AxisPen.Color = 0x000000;
  1261. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1262. Obj_Chart.Axis.get_Custom(42).Title.Font.Size = 0;
  1263. Obj_Chart.Axis.get_Custom(42).Title.Font.Bold = true;
  1264. Obj_Chart.Axis.get_Custom(42).Title.Angle = 90;
  1265. Obj_Chart.Axis.get_Custom(42).PositionPercent = 0;
  1266. Obj_Chart.Axis.get_Custom(42).Automatic = false;
  1267. Obj_Chart.Axis.get_Custom(42).Maximum = 200;
  1268. Obj_Chart.Axis.get_Custom(42).Minimum = 0;
  1269. Obj_Chart.Axis.get_Custom(42).Increment = 10;
  1270. var cus_axis44 = Obj_Chart.Axis.AddCustom(false); // test
  1271. Obj_Chart.Axis.get_Custom(43).AxisPen.Color = 0x000000;
  1272. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1273. Obj_Chart.Axis.get_Custom(43).Title.Font.Size = 0;
  1274. Obj_Chart.Axis.get_Custom(43).Title.Font.Bold = true;
  1275. Obj_Chart.Axis.get_Custom(43).Title.Angle = 90;
  1276. Obj_Chart.Axis.get_Custom(43).PositionPercent = 0;
  1277. Obj_Chart.Axis.get_Custom(43).Automatic = false;
  1278. Obj_Chart.Axis.get_Custom(43).Maximum = 200;
  1279. Obj_Chart.Axis.get_Custom(43).Minimum = 0;
  1280. Obj_Chart.Axis.get_Custom(43).Increment = 10;
  1281. var cus_axis45 = Obj_Chart.Axis.AddCustom(false); // test
  1282. Obj_Chart.Axis.get_Custom(44).AxisPen.Color = 0x000000;
  1283. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1284. Obj_Chart.Axis.get_Custom(44).Title.Font.Size = 0;
  1285. Obj_Chart.Axis.get_Custom(44).Title.Font.Bold = true;
  1286. Obj_Chart.Axis.get_Custom(44).Title.Angle = 90;
  1287. Obj_Chart.Axis.get_Custom(44).PositionPercent = 0;
  1288. Obj_Chart.Axis.get_Custom(44).Automatic = false;
  1289. Obj_Chart.Axis.get_Custom(44).Maximum = 200;
  1290. Obj_Chart.Axis.get_Custom(44).Minimum = 0;
  1291. Obj_Chart.Axis.get_Custom(44).Increment = 10;
  1292. var cus_axis46 = Obj_Chart.Axis.AddCustom(false); // test
  1293. Obj_Chart.Axis.get_Custom(45).AxisPen.Color = 0x000000;
  1294. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1295. Obj_Chart.Axis.get_Custom(45).Title.Font.Size = 0;
  1296. Obj_Chart.Axis.get_Custom(45).Title.Font.Bold = true;
  1297. Obj_Chart.Axis.get_Custom(45).Title.Angle = 90;
  1298. Obj_Chart.Axis.get_Custom(45).PositionPercent = 0;
  1299. Obj_Chart.Axis.get_Custom(45).Automatic = false;
  1300. Obj_Chart.Axis.get_Custom(45).Maximum = 200;
  1301. Obj_Chart.Axis.get_Custom(45).Minimum = 0;
  1302. Obj_Chart.Axis.get_Custom(45).Increment = 10;
  1303. var cus_axis47 = Obj_Chart.Axis.AddCustom(false); // test
  1304. Obj_Chart.Axis.get_Custom(46).AxisPen.Color = 0x000000;
  1305. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1306. Obj_Chart.Axis.get_Custom(46).Title.Font.Size = 0;
  1307. Obj_Chart.Axis.get_Custom(46).Title.Font.Bold = true;
  1308. Obj_Chart.Axis.get_Custom(46).Title.Angle = 90;
  1309. Obj_Chart.Axis.get_Custom(46).PositionPercent = 0;
  1310. Obj_Chart.Axis.get_Custom(46).Automatic = false;
  1311. Obj_Chart.Axis.get_Custom(46).Maximum = 200;
  1312. Obj_Chart.Axis.get_Custom(46).Minimum = 0;
  1313. Obj_Chart.Axis.get_Custom(46).Increment = 10;
  1314. var cus_axis48 = Obj_Chart.Axis.AddCustom(false); // test
  1315. Obj_Chart.Axis.get_Custom(47).AxisPen.Color = 0x000000;
  1316. //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
  1317. Obj_Chart.Axis.get_Custom(47).Title.Font.Size = 0;
  1318. Obj_Chart.Axis.get_Custom(47).Title.Font.Bold = true;
  1319. Obj_Chart.Axis.get_Custom(47).Title.Angle = 90;
  1320. Obj_Chart.Axis.get_Custom(47).PositionPercent = 0;
  1321. Obj_Chart.Axis.get_Custom(47).Automatic = false;
  1322. Obj_Chart.Axis.get_Custom(47).Maximum = 200;
  1323. Obj_Chart.Axis.get_Custom(47).Minimum = 0;
  1324. Obj_Chart.Axis.get_Custom(47).Increment = 10;
  1325. Obj_Chart.AddSeries (0);
  1326. Obj_Chart.AddSeries (0);
  1327. Obj_Chart.AddSeries (0);
  1328. Obj_Chart.AddSeries (0);
  1329. Obj_Chart.AddSeries (0);
  1330. Obj_Chart.AddSeries (0);
  1331. Obj_Chart.AddSeries (0);
  1332. Obj_Chart.AddSeries (0);
  1333. Obj_Chart.AddSeries (0);
  1334. Obj_Chart.AddSeries (0);
  1335. Obj_Chart.AddSeries (0);
  1336. Obj_Chart.AddSeries (0);
  1337. Obj_Chart.AddSeries (0);
  1338. Obj_Chart.AddSeries (0);
  1339. Obj_Chart.AddSeries (0);
  1340. Obj_Chart.AddSeries (0);
  1341. Obj_Chart.AddSeries (0);
  1342. Obj_Chart.AddSeries (0);
  1343. Obj_Chart.AddSeries (0);
  1344. Obj_Chart.AddSeries (0);
  1345. Obj_Chart.AddSeries (0);
  1346. Obj_Chart.AddSeries (0);
  1347. Obj_Chart.AddSeries (0);
  1348. Obj_Chart.AddSeries (0);
  1349. Obj_Chart.AddSeries (0);
  1350. Obj_Chart.AddSeries (0);
  1351. Obj_Chart.AddSeries (0);
  1352. Obj_Chart.AddSeries (0);
  1353. Obj_Chart.AddSeries (0);
  1354. Obj_Chart.AddSeries (0);
  1355. Obj_Chart.AddSeries (0);
  1356. Obj_Chart.AddSeries (0);
  1357. Obj_Chart.AddSeries (0);
  1358. Obj_Chart.AddSeries (0);
  1359. Obj_Chart.AddSeries (0);
  1360. Obj_Chart.AddSeries (0);
  1361. Obj_Chart.AddSeries (0);
  1362. Obj_Chart.AddSeries (0);
  1363. Obj_Chart.AddSeries (0);
  1364. Obj_Chart.AddSeries (0);
  1365. Obj_Chart.AddSeries (0);
  1366. Obj_Chart.AddSeries (0);
  1367. Obj_Chart.AddSeries (0);
  1368. Obj_Chart.AddSeries (0);
  1369. Obj_Chart.AddSeries (0);
  1370. Obj_Chart.AddSeries (0);
  1371. Obj_Chart.AddSeries (0);
  1372. Obj_Chart.AddSeries (0);
  1373. Obj_Chart.Series(0).VerticalAxisCustom = cus_axis1;
  1374. Obj_Chart.Series(1).VerticalAxisCustom = cus_axis2;
  1375. Obj_Chart.Series(2).VerticalAxisCustom = cus_axis3;
  1376. Obj_Chart.Series(3).VerticalAxisCustom = cus_axis4;
  1377. Obj_Chart.Series(4).VerticalAxisCustom = cus_axis5;
  1378. Obj_Chart.Series(5).VerticalAxisCustom = cus_axis6;
  1379. Obj_Chart.Series(6).VerticalAxisCustom = cus_axis7;
  1380. Obj_Chart.Series(7).VerticalAxisCustom = cus_axis8;
  1381. Obj_Chart.Series(8).VerticalAxisCustom = cus_axis9;
  1382. Obj_Chart.Series(9).VerticalAxisCustom = cus_axis10;
  1383. Obj_Chart.Series(10).VerticalAxisCustom = cus_axis11;
  1384. Obj_Chart.Series(11).VerticalAxisCustom = cus_axis12;
  1385. Obj_Chart.Series(12).VerticalAxisCustom = cus_axis13;
  1386. Obj_Chart.Series(13).VerticalAxisCustom = cus_axis14;
  1387. Obj_Chart.Series(14).VerticalAxisCustom = cus_axis15;
  1388. Obj_Chart.Series(15).VerticalAxisCustom = cus_axis16;
  1389. Obj_Chart.Series(16).VerticalAxisCustom = cus_axis17;
  1390. Obj_Chart.Series(17).VerticalAxisCustom = cus_axis18;
  1391. Obj_Chart.Series(18).VerticalAxisCustom = cus_axis19;
  1392. Obj_Chart.Series(19).VerticalAxisCustom = cus_axis20;
  1393. Obj_Chart.Series(20).VerticalAxisCustom = cus_axis21;
  1394. Obj_Chart.Series(21).VerticalAxisCustom = cus_axis22;
  1395. Obj_Chart.Series(22).VerticalAxisCustom = cus_axis23;
  1396. Obj_Chart.Series(23).VerticalAxisCustom = cus_axis24;
  1397. Obj_Chart.Series(24).VerticalAxisCustom = cus_axis25;
  1398. Obj_Chart.Series(25).VerticalAxisCustom = cus_axis26;
  1399. Obj_Chart.Series(26).VerticalAxisCustom = cus_axis27;
  1400. Obj_Chart.Series(27).VerticalAxisCustom = cus_axis28;
  1401. Obj_Chart.Series(28).VerticalAxisCustom = cus_axis29;
  1402. Obj_Chart.Series(29).VerticalAxisCustom = cus_axis30;
  1403. Obj_Chart.Series(30).VerticalAxisCustom = cus_axis31;
  1404. Obj_Chart.Series(31).VerticalAxisCustom = cus_axis32;
  1405. Obj_Chart.Series(32).VerticalAxisCustom = cus_axis33;
  1406. Obj_Chart.Series(33).VerticalAxisCustom = cus_axis34;
  1407. Obj_Chart.Series(34).VerticalAxisCustom = cus_axis35;
  1408. Obj_Chart.Series(35).VerticalAxisCustom = cus_axis36;
  1409. Obj_Chart.Series(36).VerticalAxisCustom = cus_axis37;
  1410. Obj_Chart.Series(37).VerticalAxisCustom = cus_axis38;
  1411. Obj_Chart.Series(38).VerticalAxisCustom = cus_axis39;
  1412. Obj_Chart.Series(39).VerticalAxisCustom = cus_axis40;
  1413. Obj_Chart.Series(40).VerticalAxisCustom = cus_axis41;
  1414. Obj_Chart.Series(41).VerticalAxisCustom = cus_axis42;
  1415. Obj_Chart.Series(42).VerticalAxisCustom = cus_axis43;
  1416. Obj_Chart.Series(43).VerticalAxisCustom = cus_axis44;
  1417. Obj_Chart.Series(44).VerticalAxisCustom = cus_axis45;
  1418. Obj_Chart.Series(45).VerticalAxisCustom = cus_axis46;
  1419. Obj_Chart.Series(46).VerticalAxisCustom = cus_axis47;
  1420. Obj_Chart.Series(47).VerticalAxisCustom = cus_axis48;
  1421. vitalchart.Axis.Left.Automatic = false;
  1422. //라인의 굵기를 정해준다.
  1423. for(var i=0; i < ds_main_vsmast.getRowCount(); i++){
  1424. Obj_Chart.Series(i).asLine.LinePen.Width = 2;
  1425. }
  1426. // var a = 1;
  1427. for(var i=0; i < ds_main_vsmast.getRowCount(); i++){
  1428. var color = ds_main_vsmast.getColumn(i,"color");
  1429. Obj_Chart.Series(i).Color = eval(color);
  1430. //a++;
  1431. }
  1432. // var a = 1;
  1433. for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
  1434. var pointer = ds_main_vsmast.getColumn(i,"point");
  1435. var lineyn = ds_main_vsmast.getColumn(i,"lineyn");
  1436. if(lineyn == "N"){
  1437. Obj_Chart.Series(i).asPoint.Pointer.Visible = true;
  1438. Obj_Chart.Series(i).asPoint.Pointer.Style = eval(pointer);
  1439. Obj_Chart.Series(i).asPoint.Pointer.VerticalSize = 4;
  1440. Obj_Chart.Series(i).asPoint.Pointer.HorizontalSize = 4;
  1441. }else{
  1442. Obj_Chart.Series(i).asLine.Pointer.Visible = true;
  1443. Obj_Chart.Series(i).asLine.Pointer.Style = eval(pointer);
  1444. Obj_Chart.Series(i).asLine.Pointer.VerticalSize = 4;
  1445. Obj_Chart.Series(i).asLine.Pointer.HorizontalSize = 4;
  1446. }
  1447. //a++;
  1448. }
  1449. // 그래프 표시
  1450. var chkValue=0;
  1451. for(var i=0; i < ds_grid_grd_main.getRowCount(); i++){
  1452. var vsnm = ds_grid_grd_main.getColumn(i,"type");
  1453. if(vsnm == "V/S"){
  1454. chkValue++;
  1455. }
  1456. }
  1457. var a = 1;
  1458. for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
  1459. var b = 0;
  1460. var color = ds_main_vsmast.getColumn(i,"color");
  1461. var vsitemnm = ds_main_vsmast.getColumn(i,"vsitemnm");
  1462. var vsitemcd = ds_main_vsmast.getColumn(i,"vsitemcd");
  1463. var sChartInfo = ds_cond.getColumn(ds_cond.rowposition,"hourschartinfo").split(" ");
  1464. var chkNum = 0;
  1465. for(var h=0; h<sChartInfo.length; h++){
  1466. if(sChartInfo[h] == vsitemcd){
  1467. chkNum += 1;
  1468. }
  1469. }
  1470. if(chkNum > 0){
  1471. for(var j=0; j< ds_grid_grd_main.getRowCount(); j++){
  1472. var grdvsitemcd = ds_grid_grd_main.getColumn(b,"linkcd");
  1473. if(vsitemcd == grdvsitemcd){
  1474. //model.alert(vsitemnm + " 그래프 그리자");
  1475. for(var n=1; n < 360; n++){
  1476. // trace("A");
  1477. var vsValue = "";
  1478. if( (n + parseInt(timecd)) > 0 && (n + parseInt(timecd)) < 289){
  1479. vsValue = ds_grid_grd_main.getColumn(b,"t"+(n + parseInt(timecd)));
  1480. }
  1481. if(vsValue != ""){
  1482. if(b == 4){ // (b == 5) 1이 아닌 0부터 시작하므로.
  1483. if(!isNaN(vsValue)){
  1484. Obj_Chart.Series(i).AddXY (eval(n-1+parseInt(sStartLine)), eval(vsValue), "", eval(color));
  1485. }
  1486. }else{
  1487. if(!isNaN(vsValue)){
  1488. Obj_Chart.Series(i).AddXY (eval(n-1+parseInt(sStartLine)), eval(vsValue), "", eval(color));
  1489. }
  1490. }
  1491. }
  1492. }
  1493. }
  1494. b++;
  1495. }
  1496. }
  1497. a++;
  1498. }
  1499. }
  1500. /***************************************************************************************
  1501. * Argument :
  1502. * Description : 이전/이후 날짜 Setting
  1503. ****************************************************************************************/
  1504. function fDateCalc(pFlag, pVWFlag, pTerm){
  1505. //var sRecDT = opener.iv_anstinfo.ds_05700_main_anstinfo.getColumn(opener.iv_anstinfo.ds_05700_main_anstinfo.rowposition,"meetingdt");
  1506. var sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
  1507. var timecd = ds_cond.getColumn(ds_cond.rowposition,"timecd");
  1508. var sTime = (parseInt(ds_cond.getColumn(ds_cond.rowposition,"timeflag")) * pTerm);
  1509. trace("[SPMMR05900] fDateCalc - sTime = "+ sTime);
  1510. sRecDT = sRecDT.toDate("YYYYMMDDhhmmss");
  1511. trace("[SPMMR05900] fDateCalc - sRecDT = "+ sRecDT);
  1512. if(pFlag == "-"){
  1513. sRecDT.setMinutes(sRecDT.getMinutes() - sTime);
  1514. timecd = parseInt(timecd) - 4;
  1515. }else{
  1516. sRecDT.getAddDate(sTime, "m");
  1517. timecd = parseInt(timecd) + 4;
  1518. }
  1519. ds_cond.setColumn(ds_cond.rowposition,"recdd",utlf_getDateTime(sRecDT,'기본').substr(0,8));
  1520. ds_cond.setColumn(ds_cond.rowposition,"rectm",utlf_getDateTime(sRecDT,'기본').substr(8,6));
  1521. var rectm = ds_cond.getColumn(ds_cond.rowposition,"rectm");
  1522. if(rectm == opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.getColumn(opener.grp_base.sw_left.case_anstinfo.iv_anstinfo.ds_anstinfo_5700.rowposition,"meetingtm")){
  1523. btn_24hoursdetailbefore.visible = false;
  1524. }else{
  1525. btn_24hoursdetailbefore.visible = true;
  1526. }
  1527. ds_cond.setColumn(ds_cond.rowposition,"timecd",timecd);
  1528. var pFlag = ds_cond.getColumn(ds_cond.rowposition,"vwctrl_button");
  1529. trace("[SPMMR05900] fDateCalc - timecd = "+ timecd);
  1530. fCreateHeader(pFlag);
  1531. fMakeChart(timecd);
  1532. }
  1533. /***************************************************************************************
  1534. * Argument :
  1535. * Description : 차트 img 저장 - 한dept 씩 폴더생성.
  1536. ****************************************************************************************/
  1537. function fMakeChartImg(){
  1538. //그래프 이미지 특정 폴더에 저장
  1539. var fldr = "C:/Program Files/himedFile";
  1540. var fldr2 = "C:/Program Files/himedFile/vitaltempimage";
  1541. var Obj_Chart = vitalchart;
  1542. var fso = new ActiveX();
  1543. fso = fso.createObject("Scripting.FileSystemObject");
  1544. var fd = new FileDialog;
  1545. var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", "tchart"); // 단일 파일 선택
  1546. fldr2 = objVFile.fullpath;
  1547. Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
  1548. /*
  1549. if (fso.FolderExists(fldr2)) {
  1550. //IMAGE FILE 설정( PARAM : File Name ; Gray ; Performance ; Quality ; Width ; Height )
  1551. //File 크기 조절 : Quality 및 Width, Height 설정(Width, Height 변경시 그래프 설정도 변경해야 함.)
  1552. Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
  1553. //sChartNum++;
  1554. } else {
  1555. var cfldr = fso.CreateFolder(fldr);
  1556. cfldr = fso.CreateFolder(fldr2);
  1557. Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
  1558. //sChartNum++;
  1559. }
  1560. */
  1561. sysf_messageBox("저장되었습니다.", "I");
  1562. }
  1563. /***************************************************************************************
  1564. * Argument :
  1565. * Description : submit
  1566. ****************************************************************************************/
  1567. function lf_tran_submit(trid){
  1568. if(trid == "TRMMR04207"){
  1569. tranf_submit({
  1570. id: trid
  1571. , service: "anstrecapp.AnstRec"
  1572. , method: "reqGetVSMast"
  1573. , inds : "reqdata=ds_send_reqdata"
  1574. , outds: "ds_main_vsmast=item"
  1575. , callback: "cbf_SPMMR05900"
  1576. , async: false
  1577. });
  1578. }
  1579. }
  1580. /***************************************************************************************
  1581. * Argument :
  1582. * Description : callback
  1583. ****************************************************************************************/
  1584. function cbf_SPMMR05900(trid, errorcode, errormsg){
  1585. if(trid == 'TRMMR04207'){
  1586. if(errorcode != 0){
  1587. sysf_messageBox("ID: " + trid + " Error: " + errormsg, "E009", "");
  1588. }
  1589. ds_main_vsmast.addColumn("lineyn","string");
  1590. }
  1591. }
  1592. //=======================================================================================
  1593. // Event
  1594. //---------------------------------------------------------------------------------------
  1595. /****************************************************************************************
  1596. * Components :
  1597. * Components ID : SPMMR05900
  1598. * Event : onload
  1599. * Argument : 01.obj : Object Event has occurred
  1600. * : 02.e : Event Object
  1601. * Description :
  1602. ****************************************************************************************/
  1603. function SPMMR05900_onload(obj:Form, e:LoadEventInfo)
  1604. {
  1605. frmf_initForm(obj); // 화면공통
  1606. lf_initDs();
  1607. lf_SPMMR05900_fFormInit();
  1608. }
  1609. /****************************************************************************************
  1610. * Components : checkbox
  1611. * Components ID : grp_chkbox_chk_hourschartinfo
  1612. * Event : onlbuttonup
  1613. * Argument :
  1614. * Description : 체크박스 클릭
  1615. ****************************************************************************************/
  1616. function grp_chkbox_chk_hourschartinfo_onlbuttonup(obj:cp_checkboxList, e:MouseEventInfo)
  1617. {
  1618. //trace("ds_cond ========="+ ds_cond.saveXML());
  1619. var gd = grp_chkbox.chk_hourschartinfo.getData();
  1620. sysf_trace("gd = " + gd);
  1621. var chkValue = "";
  1622. for(var k=0; k<gd.length; k++){
  1623. chkValue += gd[k] + " ";
  1624. }
  1625. ds_cond.setColumn(ds_cond.rowposition, "hourschartinfo", chkValue);
  1626. fMakeChart(ds_cond.getColumn(ds_cond.rowposition,"timecd"));
  1627. }
  1628. /****************************************************************************************
  1629. * Components : button
  1630. * Components ID : btn_24hoursdetailbefore
  1631. * Event : onclick
  1632. * Argument :
  1633. * Description : '<< ' 버튼 클릭
  1634. ****************************************************************************************/
  1635. function btn_24hoursdetailbefore_onclick(obj:Button, e:ClickEventInfo)
  1636. {
  1637. var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
  1638. grd_24hoursclincobsreclist.splitContentsCell("Head",0,0,1,headCnt,true);
  1639. fDateCalc("-" , "24hours",4);
  1640. }
  1641. /****************************************************************************************
  1642. * Components : button
  1643. * Components ID : btn_24hoursdetailafter
  1644. * Event : onclick
  1645. * Argument :
  1646. * Description : '>> ' 버튼 클릭
  1647. ****************************************************************************************/
  1648. function btn_24hoursdetailafter_onclick(obj:Button, e:ClickEventInfo)
  1649. {
  1650. var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
  1651. grd_24hoursclincobsreclist.splitContentsCell("Head",0,0,1,headCnt,true);
  1652. fDateCalc("+", "24hours",4);
  1653. }
  1654. /****************************************************************************************
  1655. * Components : button
  1656. * Components ID : btn_saveinfo
  1657. * Event : onclick
  1658. * Argument :
  1659. * Description : '>> ' 버튼 클릭
  1660. ****************************************************************************************/
  1661. function btn_saveinfo_onclick(obj:Button, e:ClickEventInfo)
  1662. {
  1663. fMakeChartImg();
  1664. }
  1665. function btn_small_onclick(obj:Button, e:ClickEventInfo)
  1666. {
  1667. fMakeChart(0, 288, 12);
  1668. fzoomHead();
  1669. }
  1670. function btn_ori_onclick(obj:Button, e:ClickEventInfo)
  1671. {
  1672. lf_SPMMR05900_fFormInit();
  1673. }
  1674. ]]></Script>
  1675. </Form>
  1676. </FDL>