123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMR05900" position="absolute 0 0 1256 805" titletext="V/S 기록내역 그래프" oninit="model1_oninit" onload="SPMMR05900_onload">
- <Layouts>
- <Layout>
- <Static id="caption2" class="tit_2" position="absolute 0 10 172 24" anchor="default" positiontype="position" text="V/S기록내역 그래프"/>
- <Shape id="line2" class="line_1" position="absolute 0 26 1190 26" anchor="default" positiontype="position" linetype="horizontal"/>
- <ActiveX id="vitalchart" progid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" position="absolute 140 160 1160 722" anchor="default" positiontype="position" windowed="true"/>
- <Shape id="line1" class="line_1" position="absolute 5 869 1190 869" anchor="default" positiontype="position" linetype="horizontal"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="175"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="40"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="41"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <row size="24" band="head"/>
- <row size="24" band="head"/>
- <row size="24"/>
- </Rows>
- <Band id="head">
- <Cell col="0" text=""/>
- <Cell col="1" text=""/>
- <Cell col="2" text=""/>
- <Cell col="3" text=""/>
- <Cell col="4" text=""/>
- <Cell col="5" text=""/>
- <Cell col="6" text=""/>
- <Cell col="7" text=""/>
- <Cell col="8" text=""/>
- <Cell col="9" text=""/>
- <Cell col="10" text=""/>
- <Cell col="11" text=""/>
- <Cell col="12" text=""/>
- <Cell col="13" text=""/>
- <Cell col="14" text=""/>
- <Cell col="15" text=""/>
- <Cell col="16" text=""/>
- <Cell col="17" text=""/>
- <Cell col="18" text=""/>
- <Cell col="19" text=""/>
- <Cell col="20" text=""/>
- <Cell col="21" text=""/>
- <Cell col="22" text=""/>
- <Cell col="23" text=""/>
- <Cell col="24" text=""/>
- <Cell row="1" col="0" text=""/>
- <Cell row="1" col="1" text=""/>
- <Cell row="1" col="2" text=""/>
- <Cell row="1" col="3" text=""/>
- <Cell row="1" col="4" text=""/>
- <Cell row="1" col="5" text=""/>
- <Cell row="1" col="6" text=""/>
- <Cell row="1" col="7" text=""/>
- <Cell row="1" col="8" text=""/>
- <Cell row="1" col="9" text=""/>
- <Cell row="1" col="10" text=""/>
- <Cell row="1" col="11" text=""/>
- <Cell row="1" col="12" text=""/>
- <Cell row="1" col="13" text=""/>
- <Cell row="1" col="14" text=""/>
- <Cell row="1" col="15" text=""/>
- <Cell row="1" col="16" text=""/>
- <Cell row="1" col="17" text=""/>
- <Cell row="1" col="18" text=""/>
- <Cell row="1" col="19" text=""/>
- <Cell row="1" col="20" text=""/>
- <Cell row="1" col="21" text=""/>
- <Cell row="1" col="22" text=""/>
- <Cell row="1" col="23" text=""/>
- <Cell row="1" col="24" text=""/>
- </Band>
- <Band id="body">
- <Cell text="bind:itemnm"/>
- <Cell col="1" text="bind:recrslt1" edittype="combo" displaytype="combo"/>
- <Cell col="2" text="bind:recrslt2" edittype="combo" displaytype="combo"/>
- <Cell col="3" text="bind:recrslt3" edittype="combo" displaytype="combo"/>
- <Cell col="4" text="bind:recrslt4" edittype="combo" displaytype="combo"/>
- <Cell col="5" text="bind:recrslt5" edittype="combo" displaytype="combo"/>
- <Cell col="6" text="bind:recrslt6" edittype="combo" displaytype="combo"/>
- <Cell col="7" text="bind:recrslt7" edittype="combo" displaytype="combo"/>
- <Cell col="8" text="bind:recrslt8" edittype="combo" displaytype="combo"/>
- <Cell col="9" text="bind:recrslt9" edittype="combo" displaytype="combo"/>
- <Cell col="10" text="bind:recrslt10" edittype="combo" displaytype="combo"/>
- <Cell col="11" text="bind:recrslt11" edittype="combo" displaytype="combo"/>
- <Cell col="12" text="bind:recrslt12" edittype="combo" displaytype="combo"/>
- <Cell col="13" text="bind:recrslt13" edittype="combo" displaytype="combo"/>
- <Cell col="14" text="bind:recrslt14" edittype="combo" displaytype="combo"/>
- <Cell col="15" text="bind:recrslt15" edittype="combo" displaytype="combo"/>
- <Cell col="16" text="bind:recrslt16" edittype="combo" displaytype="combo"/>
- <Cell col="17" text="bind:recrslt17" edittype="combo" displaytype="combo"/>
- <Cell col="18" text="bind:recrslt18" edittype="combo" displaytype="combo"/>
- <Cell col="19" text="bind:recrslt19" edittype="combo" displaytype="combo"/>
- <Cell col="20" text="bind:recrslt20" edittype="combo" displaytype="combo"/>
- <Cell col="21" text="bind:recrslt21" edittype="combo" displaytype="combo"/>
- <Cell col="22" text="bind:recrslt22" edittype="combo" displaytype="combo"/>
- <Cell col="23" text="bind:recrslt23" edittype="combo" displaytype="combo"/>
- <Cell col="24" text="bind:recrslt24" edittype="combo" displaytype="combo"/>
- <Cell col="25" text="bind:itemcd"/>
- <Cell col="26" text="bind:itemseqno"/>
- <Cell col="27" text="bind:recflag"/>
- <Cell col="28" text="bind:attrcd"/>
- <Cell col="29" text="bind:wardcd"/>
- <Cell col="30" text="bind:roomcd"/>
- <Cell col="31" text="bind:depth"/>
- <Cell col="32" text="bind:recfromdt"/>
- <Cell col="33" text="bind:rectodt"/>
- <Cell col="34" text="bind:reccharflag"/>
- <Cell col="35" text="bind:supcd"/>
- <Cell col="36" text="bind:subtotalyn"/>
- <Cell col="37" text="bind:carerecseqno"/>
- <Cell col="38" text="bind:setnm"/>
- <Cell col="39" text="bind:lnkbizcd"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_24hoursdetailbefore" taborder="2" onclick="btn_24hoursdetailbefore_onclick" class="icon_left" visible="false" position="absolute 10 731 36 751"/>
- <Button id="btn_24hoursdetailafter" taborder="3" onclick="btn_24hoursdetailafter_onclick" class="icon_right" position="absolute 153 731 179 751"/>
- <Button id="btn_saveinfo" taborder="4" text="이미지저장" onclick="btn_saveinfo_onclick" class="btn4" position="absolute 1103 781 1195 801"/>
- <Div id="grp_chkbox" taborder="5" position="absolute 5 35 1185 144" style="background:white;color:#444444ff;">
- <Layouts>
- <Layout width="1180" height="120">
- <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"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_small" taborder="6" text="축소보기" class="btn4" position="absolute 912 781 1004 801" onclick="btn_small_onclick"/>
- <Button id="btn_ori" taborder="7" text="원본보기" class="btn4" position="absolute 1008 781 1100 801" onclick="btn_ori_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_24hoursclincobsreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="itemnm" type="STRING"/>
- <Column id="recrslt1" type="STRING"/>
- <Column id="recrslt2" type="STRING"/>
- <Column id="recrslt3" type="STRING"/>
- <Column id="recrslt4" type="STRING"/>
- <Column id="recrslt5" type="STRING"/>
- <Column id="recrslt6" type="STRING"/>
- <Column id="recrslt7" type="STRING"/>
- <Column id="recrslt8" type="STRING"/>
- <Column id="recrslt9" type="STRING"/>
- <Column id="recrslt10" type="STRING"/>
- <Column id="recrslt11" type="STRING"/>
- <Column id="recrslt12" type="STRING"/>
- <Column id="recrslt13" type="STRING"/>
- <Column id="recrslt14" type="STRING"/>
- <Column id="recrslt15" type="STRING"/>
- <Column id="recrslt16" type="STRING"/>
- <Column id="recrslt17" type="STRING"/>
- <Column id="recrslt18" type="STRING"/>
- <Column id="recrslt19" type="STRING"/>
- <Column id="recrslt20" type="STRING"/>
- <Column id="recrslt21" type="STRING"/>
- <Column id="recrslt22" type="STRING"/>
- <Column id="recrslt23" type="STRING"/>
- <Column id="recrslt24" type="STRING"/>
- <Column id="itemcd" type="STRING"/>
- <Column id="itemseqno" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- <Column id="attrcd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="depth" type="STRING"/>
- <Column id="recfromdt" type="STRING"/>
- <Column id="rectodt" type="STRING"/>
- <Column id="reccharflag" type="STRING"/>
- <Column id="supcd" type="STRING"/>
- <Column id="subtotalyn" type="STRING"/>
- <Column id="carerecseqno" type="STRING"/>
- <Column id="setnm" type="STRING"/>
- <Column id="lnkbizcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="formerrecdd" type="STRING" size="256"/>
- <Column id="timeflag" type="STRING" size="256"/>
- <Column id="formerhourflag" type="STRING" size="256"/>
- <Column id="vwctrl_4days" type="STRING" size="256"/>
- <Column id="vwctrl_24hours" type="STRING" size="256"/>
- <Column id="vwctrl_formerday" type="STRING" size="256"/>
- <Column id="vwctrl_button" type="STRING" size="256"/>
- <Column id="hourflag" type="STRING" size="256"/>
- <Column id="hoursclsinfo" type="STRING" size="256"/>
- <Column id="formerclsinfo" type="STRING" size="256"/>
- <Column id="patinfo" type="STRING" size="256"/>
- <Column id="hourschartinfo" type="STRING" size="256"/>
- <Column id="dayschartinfo" type="STRING" size="256"/>
- <Column id="daycountinfo" type="STRING" size="256"/>
- <Column id="formerdaycountinfo" type="STRING" size="256"/>
- <Column id="cmbstatusx" type="STRING" size="256"/>
- <Column id="cmbstatusy" type="STRING" size="256"/>
- <Column id="bizlnkflag" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="timecd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="currentdate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_vsmast" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checked" type="STRING" size="256"/>
- <Column id="vsitemcd" type="STRING" size="256"/>
- <Column id="vsitemnm" type="STRING" size="256"/>
- <Column id="defaultyn" type="STRING" size="256"/>
- <Column id="style" type="STRING" size="256"/>
- <Column id="point" type="STRING" size="256"/>
- <Column id="color" type="STRING" size="256"/>
- <Column id="leftaxis" type="STRING" size="256"/>
- <Column id="graphappyn" type="STRING" size="256"/>
- <Column id="sortno" type="STRING" size="256"/>
- <Column id="nmspec" type="STRING" size="256"/>
- <Column id="cdistestcd" type="STRING" size="256"/>
- <Column id="lineyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hourlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * File Name : SPMMR05900_VS기록내역그래프.xfdl
- * Creator :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-05-12 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // variable
- //---------------------------------------------------------------------------------------
- var instcd = "031";
- // 마취과 부서코드 (마취통증의학과/통증클리닉)
- var anstdeptcd = "2090000000";
- // 수술환자정보
- var operationdata = "";
- var orddd = "";
- var cretno = "";
- var ordtype = "";
- var ioflag = "";
- var formcd = "0000002022";
- var oprsrvno = "";
- var ophistno = "";
- var pid = "";
- var phngnm = "";
- var anstrecno = "";
- var recsetcd = "";
- var anstdd = "";
- var currentdate = "";
- var col_linknm = 1;
- var col_linkcd = 2;
- var col_linktype = 3;
- var col_sorttype = 4;
- var col_sortno = 5;
- var col_linkseqno= 6;
- var col_prcpvol = 7;
- var col_prcpvolunitnm = 8;
- var col_fromdt = 9;
- var col_todt = 249;
- var row_progress = 3;
- var row_startend = 4;
- var sorttype_progress = 1;
- var sorttype_startend = 2;
- var sorttype_vs = 3;
- var sorttype_agent = 4;
- var sorttype_drug = 5;
- var sorttype_fluid = 6;
- var sorttype_blood = 7;
- var graph_fromdt;
- var graph_todt;
- var totfluid;
- var totblood;
- var vslist = "on";
- var agentlist = "on";
- var druglist = "on";
- var fluidlist = "on";
- var blodlist = "on";
- var iv_anstinfo_load = "N";
- var iv_anstmast_load = "N";
- var iv_anstprcp_load = "N";
- var anstrecno = "0";
- var sPid = ""; // 환자번호
- var sIndd = ""; // 입원일자
- var sOrddd = ""; // 진료일자
- var sCretNo = ""; // 환자 일자별 일련번호
- var sInstcd = ""; // 기관코드
- var sIOFlag = ""; // 입원/외래 구분
- var sWardCD = "";
- var sRoomCD = "";
- var sOrdDeptCd = ""; // 진료과코드
- var sOrdDrId = ""; // 진료의사ID
- //var xHoursClincObsRecList = "/root/main/clincobsrecinfo/hoursclincobsrecinfo/hoursclincobsreclist";
- //var xClincObsRecListPath = "/root/main/vsmast/item";
- var sCondPaths = ds_cond;
- //var sCondPath = "/root/main/vsmast/item";
- //var sMainPath = "/root/main/grd_main/item"
- var sChartItem = new Array();
- var sVSItem = new Array();
- var sHeader = new Array();
- var mergeFlag = "N";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /***************************************************************************************
- * Argument :
- * Description : dataset 초기화
- ****************************************************************************************/
- function lf_initDs(){
- ds_cond.clearData();
- var crow = ds_cond.addRow();
-
- ds_send_reqdata.clearData();
- var srow = ds_send_reqdata.addRow();
-
- ds_grid_grd_main.clearData();
-
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 폼 초기화
- ****************************************************************************************/
- function lf_SPMMR05900_fFormInit(){
- ds_grid_grd_main.copyData(arg_ds_grd_main);
- //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - ds_grid_grd_main = "+ ds_grid_grd_main.saveXML());
- var anstrecno = opener.frmf_getParameter("anstrecno");
- //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - anstrecno = "+ anstrecno);
- ds_cond.setColumn(ds_cond.rowposition,"timecd",0);
- 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");
-
- if(utlf_isNull(currentdate)){
- sysf_messageBox("수술시간이 정확하지 않습니다. 수술시간을 확인하세요.", "E");
- this.close();
- }else{
- currentdate = currentdate + "00";
- }
-
- //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - currentdate = "+ currentdate);
-
- ds_send_reqdata.setColumn(ds_send_reqdata.rowposition,"currentdate", currentdate);
-
- lf_tran_submit("TRMMR04207");
-
- //trace("[SPMMR05900] lf_SPMMR05900_fFormInit - ds_main_vsmast ="+ ds_main_vsmast.saveXML());
- this.height = 805;
- this.width = 1256;
-
- // 체크박스 생성.
- var sProp="col=11,row=7,cellspacing=4,vcellspacing=0,itemWidth=100,itemHeight=20,overflow='visible'";
- grp_chkbox.chk_hourschartinfo.setInitComp(sProp,ds_main_vsmast,"vsitemcd", "vsitemnm","");
-
-
- // 색조정.
-
- for(var i=0; i < grp_chkbox.chk_hourschartinfo.ds_checkList.rowcount; i++){
- var val = grp_chkbox.chk_hourschartinfo.ds_checkList.getColumn(i,"val");
- var txt = grp_chkbox.chk_hourschartinfo.ds_checkList.getColumn(i,"txt");
- var val2 = ds_main_vsmast.getColumn(i,"vsitemcd");
- var color = ds_main_vsmast.getColumn(i,"color");
- var idx = ds_main_vsmast.findRow("vsitemcd","67");
-
- //trace("[SPMMR05900] lf_SPMMR05900_fFormInit val="+ val +" / val2 = "+ val2 +"/ color = "+ color.replace("0x","#"));
- if(val == val2){
- // 색상정의
- if(txt == 'MBP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
- }else if(txt == 'SBP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
- }else if(txt == 'DBP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
- }else if(txt == 'mABP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#FF0000";
- }else if(txt == 'CVP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#0000FF";
- }else if(txt == 'sPAP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
- }else if(txt == 'dPAP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
- }else if(txt == 'PCWP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffcc00";
- }else if(txt == 'BIS'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
- }else if(txt == 'radial(L)'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
- }else if(txt == 'Body Temp'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ee82ee";
- }else if(txt == 'sABP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
- }else if(txt == 'dABP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
- }else if(txt == 'mPAP'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
- }else if(txt == 'SPO2'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#008000";
- }else if(txt == 'HR'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
- }else if(txt == 'CI'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
- }else if(txt == 'radial(R)'){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = "#ffc0cb";
- }else{
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.color = color.replace("0x","#");
- }
- if(i <= idx){
- eval("grp_chkbox.chk_hourschartinfo.chk_"+i).style.font = "Dotum,9,bold";
- }
- }
- }
-
- ds_cond.setColumn(ds_cond.rowposition,"timeflag" , "5");
- 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"));
- 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"));
-
-
- // 체크할 아이템 선택.
- fSearchChartChk();
- var pFlag = ds_cond.getColumn(ds_cond.rowposition,"vwctrl_button");
-
- fCreateHeader(pFlag);
-
- //24시간 그리드 콤보 노드 세팅
- ds_init_hourlist.clearData();
- ds_init_hourlist.addColumn("cd","string",256);
- ds_init_hourlist.addColumn("nm","string",256);
-
- for(var i=0; i< 24; i++){
- var hrow = ds_init_hourlist.addRow();
- if(i <9){
- ds_init_hourlist.setColumn(hrow,"cd","0"+i);
- }else{
- ds_init_hourlist.setColumn(hrow,"cd", i);
- }
- ds_init_hourlist.setColumn(hrow,"nm", i);
- }
-
- fMakeChart(0);
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 아이템 체크여부
- ****************************************************************************************/
-
- function fSearchChartChk(){
- var chkValue = "";
- for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
- var color = ds_main_vsmast.getColumn(i,"color");
- var vsitemcd = ds_main_vsmast.getColumn(i,"vsitemcd");
- var chkNum = 0;
- for(var j=0; j<ds_grid_grd_main.getRowCount(); j++){
- var grdvsitemcd = ds_grid_grd_main.getColumn(j,"linkcd");
- if(vsitemcd == grdvsitemcd)
- {
- if (grdvsitemcd == "35" || grdvsitemcd == "36" || grdvsitemcd == "52" || grdvsitemcd == "77" || grdvsitemcd == "37")
- {
- for(var n = 1; n < 289; n++){
- var vsValue = utlf_transNullToEmpty(ds_grid_grd_main.getColumn(j,"t"+n));
- if(vsValue != ""){
-
- chkNum += 1;
- }
- }
- }
- }
- }
- if(chkNum > 1){
- chkValue += ds_main_vsmast.getColumn(i,"vsitemcd") + " ";
-
- var objChk = eval("grp_chkbox.chk_hourschartinfo.chk_"+i);
- objChk.value = ds_main_vsmast.getColumn(i,"vsitemcd");
-
- }
- }
-
- ds_cond.setColumn(ds_cond.rowposition, "hourschartinfo", chkValue);
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 그리드 Header 생성
- ****************************************************************************************/
- function fCreateHeader(){
- var sRecDT = "";
- var sGridCapNm = "";
- var sTimeFlag = 0;
- var sCDay = new Array();
- var sDayInfo = "";
- var iDayRow = 0;
- var sDayCountInfo = "";
- var sDateList = "";
- sHeader[1] = new Array();
- sHeader[2] = new Array();
- sHeader[3] = new Array();
- sHeader[4] = new Array();
- sHeader[1][0] = "시 간";
- sHeader[2][0] = "분";
-
- ds_send.clearData();
- ds_send.addColumn("pid","string",256);
- ds_send.addColumn("indd","string",256);
- ds_send.addColumn("cretno","string",256);
- ds_send.addColumn("instcd","string",256);
- ds_send.addColumn("ioflag","string",256);
- var srow = ds_send.addRow();
- ds_send.setColumn(srow,"pid", sPid);
- ds_send.setColumn(srow,"indd", sIndd);
- ds_send.setColumn(srow,"cretno", sCretNo);
- ds_send.setColumn(srow,"instcd", sInstcd);
- ds_send.setColumn(srow,"ioflag", sIOFlag);
-
- sTimeFlag = eval(ds_cond.getColumn(ds_cond.rowposition,"timeflag"));
- //trace("[SPMMR05900] fCreateHeader - sTimeFlag ="+ sTimeFlag);
-
- sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
-
-
- var sStartDT = fCalStartDate(sRecDT,sTimeFlag);
-
-
- var sTime = 0;
- for(var i=1; i<=25; i++){
- if(i>1){
- sStartDT = sStartDT.getAddDate(sTimeFlag,"m");
-
- }
-
-
- sHeader[1][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
- sHeader[2][i] = utlf_getDateTime(sStartDT,'기본').substr(10,2);
-
- }
-
- // sCDay 은 array로 선언만했고 값을 정의한곳이 없는데 이용함.
-
- for(var i=0; i<sCDay.length;i++){
- sDayInfo += sCDay[i];
- if(i != sCDay.length-1){
- sDayInfo += ",";
- }
- }
- ds_send.addColumn("dayinfo","string",256);
- ds_send.setColumn(srow,"dayinfo", sDayInfo);
-
- for(var iRow=1; iRow<=2; iRow++){
- for(var iCol=0; iCol<=24; iCol++){
- if(iRow == 1){ // 시
-
- sGridCapNm += sHeader[iRow][iCol];
- if(iCol != 0){
- sGridCapNm += "시";
- }
- }else if(iRow == 2){ // 분
-
- sGridCapNm += sHeader[iRow][iCol];
- if(iCol != 0){
- sGridCapNm += "분";
- }
- }
- if(iCol != 24){
- sGridCapNm += "^";
- }
- }
-
- if(iRow != 2){
- sGridCapNm += "|";
- }
- }
-
-
- var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
-
- var headAry = sGridCapNm.split("|");
- var headAry1 = headAry[0].split("^");
- var headAry2 = headAry[1].split("^");
-
- for(var i=0; i< (headCnt / 2); i++){
- grd_24hoursclincobsreclist.setCellProperty("Head",i,"text",headAry1[i]);
- }
- var cnt=0;
- for(var k= (headCnt / 2); k <headCnt; k++){
-
- grd_24hoursclincobsreclist.setCellProperty("Head",k,"text",headAry2[cnt]);
- cnt++;
- }
-
-
- for(var i=(headCnt / 2) - 1; i > 0; i--){
- var cur = grd_24hoursclincobsreclist.getCellProperty("Head",i,"text");
- var bef = grd_24hoursclincobsreclist.getCellProperty("Head",i-1,"text");
-
- if(cur == bef){
- cnt++;
- }else{
- i = grd_24hoursclincobsreclist.mergeContentsCell("Head",0,i,0,i+cnt,i,false);
- cnt = 0;
- }
-
- }
- }
- function fzoomHead(){
- var sRecDT = "";
- var sGridCapNm = "";
- var sTimeFlag = 0;
- var sCDay = new Array();
- var sDayInfo = "";
- var iDayRow = 0;
- var sDayCountInfo = "";
- var sDateList = "";
- sHeader[1] = new Array();
- sHeader[2] = new Array();
- sHeader[3] = new Array();
- sHeader[4] = new Array();
- sHeader[1][0] = "시 간";
- sHeader[2][0] = "";
-
- ds_send.clearData();
- ds_send.addColumn("pid","string",256);
- ds_send.addColumn("indd","string",256);
- ds_send.addColumn("cretno","string",256);
- ds_send.addColumn("instcd","string",256);
- ds_send.addColumn("ioflag","string",256);
- var srow = ds_send.addRow();
- ds_send.setColumn(srow,"pid", sPid);
- ds_send.setColumn(srow,"indd", sIndd);
- ds_send.setColumn(srow,"cretno", sCretNo);
- ds_send.setColumn(srow,"instcd", sInstcd);
- ds_send.setColumn(srow,"ioflag", sIOFlag);
-
- sTimeFlag = eval(ds_cond.getColumn(ds_cond.rowposition,"timeflag"));
- //trace("[SPMMR05900] fCreateHeader - sTimeFlag ="+ sTimeFlag);
-
- sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
- trace("[SPMMR05900] fCreateHeader - sRecDT ="+ sRecDT);
-
- var sStartDT = fCalStartDate(sRecDT,sTimeFlag);
- trace("[SPMMR05900] fCreateHeader - sStartDT ="+ sStartDT);
-
- var sTime = 0;
- for(var i=1; i<=25; i++){
- if(i>1){
- sStartDT = sStartDT.getAddDate(1,"h");
- // trace("[SPMMR05900] fCreateHeader - sStartDT["+i+"] ="+ sStartDT);
- }
-
- // trace("[SPMMR05900] fCreateHeader - sStartDT[시간]["+i+"] ="+ utlf_getDateTime(sStartDT,'기본').substr(8,2));
- // trace("[SPMMR05900] fCreateHeader - sStartDT[분]["+i+"] ="+ utlf_getDateTime(sStartDT,'기본').substr(10,2));
-
- sHeader[1][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
- sHeader[2][i] = utlf_getDateTime(sStartDT,'기본').substr(8,2);
-
- }
-
- // sCDay 은 array로 선언만했고 값을 정의한곳이 없는데 이용함.
- trace("[SPMMR05900] fCreateHeader - sCDay.length = "+ sCDay.length);
- for(var i=0; i<sCDay.length;i++){
- sDayInfo += sCDay[i];
- if(i != sCDay.length-1){
- sDayInfo += ",";
- }
- }
- ds_send.addColumn("dayinfo","string",256);
- ds_send.setColumn(srow,"dayinfo", sDayInfo);
-
- for(var iRow=1; iRow<=2; iRow++){
- for(var iCol=0; iCol<=24; iCol++){
- if(iRow == 1){ // 시
-
- sGridCapNm += sHeader[iRow][iCol];
- if(iCol != 0){
- sGridCapNm += "시";
- }
- }else if(iRow == 2){ // 분
-
- sGridCapNm += "";
- if(iCol != 0){
- sGridCapNm += "";
- }
- }
- if(iCol != 24){
- sGridCapNm += "^";
- }
- }
-
- if(iRow != 2){
- sGridCapNm += "|";
- }
- }
-
- trace("[SPMMR05900] fCreateHeader - sHeader[1] = "+ sHeader[1].length +"/ sHeader[2] = "+ sHeader[2].length);
- trace("[SPMMR05900] fCreateHeader - sGridCapNm = "+ sGridCapNm);
-
-
- var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
- trace("[SPMMR05900] fCreateHeader - headCnt = "+ headCnt);
- var headAry = sGridCapNm.split("|");
- var headAry1 = headAry[0].split("^");
- var headAry2 = headAry[1].split("^");
-
-
- grd_24hoursclincobsreclist.splitContentsCell("Head", 0, 1, 0 , 24,true);
-
- for(var i=1; i< 25; i++){
- grd_24hoursclincobsreclist.setCellProperty("Head",i,"text",headAry1[i]);
- }
- var cnt=0;
- var headcnttotal = 26+25;
- for(var k= 26; k <headcnttotal; k++){
-
- grd_24hoursclincobsreclist.setCellProperty("Head",k,"text",headAry2[cnt]);
- cnt++;
- }
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 시작일자계산
- ****************************************************************************************/
- function fCalStartDate(pDate, pTimeFlag){
- var sStartDT = pDate.toDate("YYYYMMDDhhmmss");
- var sTime = "";
- var sRemainder = 0;
-
- if(pTimeFlag != 1 ){
- sRemainder = eval(pDate.substr(10,2))%pTimeFlag;
- }
- sStartDT.setMinutes(sStartDT.getMinutes()-sRemainder);
- return sStartDT;
- }
- /***************************************************************************************
- * Argument :
- * Description : 차트생성.
- ****************************************************************************************/
- function fMakeChart(timecd, sInterval, sIncrement){
- var Obj_Chart;
- var sColCnt = 0;
- var sRecRslt = "";
- var sRecRslt1 = "";
- var sChartInfo = "";
- var sRecDD = "";
- var sRecTM = "";
- var sRecRsltArr = new Array();
- var sRecRslt1Arr = new Array();
- var iArrSize = 0;
- var iChartPos = 0;
- var idx=0;
-
- var sStartLine = 0;
-
- sysf_trace("그래프 생성시작");
-
- for(var i = 0 ; i < ds_grid_grd_main.getRowCount(); i++){
- if(ds_main_vsmast.getColumn(i,"leftaxis") == "1" ){
- sChartItem[0] = ds_main_vsmast.getColumn(i,"itemcd");
-
- }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "2"){
- sChartItem[1] = ds_main_vsmast.getColumn(i,"itemcd");
-
- }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "3" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
- sChartItem[2] = ds_main_vsmast.getColumn(i,"itemcd");
-
- }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "4" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
- sChartItem[3] = ds_main_vsmast.getColumn(i,"itemcd");
-
- }else if(ds_main_vsmast.getColumn(i,"leftaxis") == "5" && ds_main_vsmast.getColumn(i,"graphappyn") =="Y" ){
- sChartItem[4] = ds_main_vsmast.getColumn(i,"itemcd");
- }
- }
-
-
- inff_clearTChart(vitalchart);
- vitalchart.Axis.RemoveAllCustom();
- sChartInfo = utlf_transNullToEmpty(ds_cond.getColumn(ds_cond.rowposition,"hourschartinfo")).split(" ");
- //model.getValue(sCondPath+"/hourschartinfo").split(" ");
- //margin 값 정하기
- //vitalchart.Panel.MarginTop = 1;
- vitalchart.Panel.MarginTop = 2;
- vitalchart.Panel.MarginLeft = 4;
- vitalchart.Panel.MarginRight = 0;
- vitalchart.Panel.MarginBottom = -6;
- //vitalchart.Axis.Bottom.TickLength = -5;
- //하단축 칸 수 정하기와 눈금 없애기
-
- if(utlf_isNull(sInterval)){
- sInterval = 24;
- sIncrement = 1;
- sStartLine = 0;
- }else{
- sStartLine = parseInt(parseInt(ds_cond.getColumn(ds_cond.rowposition, "rectm").substr(2,2))/parseInt(ds_cond.getColumn(ds_cond.rowposition, "timeflag")));
- }
-
-
- vitalchart.Axis.Bottom.SetMinMax (0, sInterval); //하루 동안 좌표를 표현
- vitalchart.Axis.Bottom.Increment = sIncrement;
- vitalchart.Axis.Bottom.MinorTickCount = 1;
- Obj_Chart = vitalchart;
- sColCnt = 24;
-
- Obj_Chart.Axis.Bottom.AxisPen.Color = 0x000000;
- Obj_Chart.Axis.Bottom.Labels.Font.Color = 0xffffff; //Obj_Chart.Panel.Color; //하단 축 눈금 명칭 색을 바탕색으로 하여 보이지 않게 처리
-
- Obj_Chart.Header.Visible = false;
- Obj_Chart.Aspect.View3D = 0; //2d 로 표현하기
-
- Obj_Chart.Zoom.Enable = false; // zoom 사용하지 않기
- Obj_Chart.Scroll.Enable = true; // scroll 사용하지 않기
- Obj_Chart.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
- Obj_Chart.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
- Obj_Chart.Panel.Gradient.StartColor = 0xffffff;
- Obj_Chart.Panel.Gradient.EndColor=0xffffff;
- Obj_Chart.Environment.MouseWheelScroll = true;
-
- // 혈압을 나타내는 막대그래프를 먼저 그려야 맥박, 체온,호흡 점이 막대 그래프에 가려지지 않는다.
- //alert(getNodesetCount("/root/main/vsmast/item"));
-
- var cus_axis1 = Obj_Chart.Axis.AddCustom(false); // ECG(II)
- Obj_Chart.Axis.get_Custom(0).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.Custom(0).Title.Caption = "혈압/맥박"
- Obj_Chart.Axis.get_Custom(0).Title.Font.Size = 8;
- Obj_Chart.Axis.get_Custom(0).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(0).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(0).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(0).StartPosition = 0;
- Obj_Chart.Axis.get_Custom(0).EndPosition = 100;
- Obj_Chart.Axis.get_Custom(0).Automatic = false;
- Obj_Chart.Axis.get_Custom(0).Maximum = 200;
- Obj_Chart.Axis.get_Custom(0).Minimum = 0;
- Obj_Chart.Axis.get_Custom(0).Increment = 10;
-
- var cus_axis2 = Obj_Chart.Axis.AddCustom(false); // ECG(V5)
- Obj_Chart.Axis.get_Custom(1).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(1).Title.Caption = "호흡";
- Obj_Chart.Axis.get_Custom(1).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(1).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(1).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(1).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(1).Automatic = false;
- Obj_Chart.Axis.get_Custom(1).Maximum = 200;
- Obj_Chart.Axis.get_Custom(1).Minimum = 0;
- Obj_Chart.Axis.get_Custom(1).Increment = 10;
-
- var cus_axis3 = Obj_Chart.Axis.AddCustom(false); // SBP
- Obj_Chart.Axis.get_Custom(2).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "SBP";
- Obj_Chart.Axis.get_Custom(2).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(2).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(2).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(2).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(2).Automatic = false;
- Obj_Chart.Axis.get_Custom(2).Maximum = 200;
- Obj_Chart.Axis.get_Custom(2).Minimum = 0;
- Obj_Chart.Axis.get_Custom(2).Increment = 10;
-
- var cus_axis4 = Obj_Chart.Axis.AddCustom(false); // DBP
- Obj_Chart.Axis.get_Custom(3).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(3).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(3).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(3).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(3).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(3).Automatic = false;
- Obj_Chart.Axis.get_Custom(3).Maximum = 200;
- Obj_Chart.Axis.get_Custom(3).Minimum = 0;
- Obj_Chart.Axis.get_Custom(3).Increment = 10;
-
- var cus_axis5 = Obj_Chart.Axis.AddCustom(false); // MBP
- Obj_Chart.Axis.get_Custom(4).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(4).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(4).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(4).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(4).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(4).Automatic = false;
- Obj_Chart.Axis.get_Custom(4).Maximum = 200;
- Obj_Chart.Axis.get_Custom(4).Minimum = 0;
- Obj_Chart.Axis.get_Custom(4).Increment = 10;
-
- var cus_axis6 = Obj_Chart.Axis.AddCustom(false); // sABP
- Obj_Chart.Axis.get_Custom(5).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(5).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(5).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(5).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(5).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(5).Automatic = false;
- Obj_Chart.Axis.get_Custom(5).Maximum = 200;
- Obj_Chart.Axis.get_Custom(5).Minimum = 0;
- Obj_Chart.Axis.get_Custom(5).Increment = 10;
-
- var cus_axis7 = Obj_Chart.Axis.AddCustom(false); // dABP
- Obj_Chart.Axis.get_Custom(6).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(6).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(6).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(6).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(6).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(6).Automatic = false;
- Obj_Chart.Axis.get_Custom(6).Maximum = 200;
- Obj_Chart.Axis.get_Custom(6).Minimum = 0;
- Obj_Chart.Axis.get_Custom(6).Increment = 10;
-
- var cus_axis8 = Obj_Chart.Axis.AddCustom(false); // mABP
- Obj_Chart.Axis.get_Custom(7).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(7).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(7).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(7).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(7).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(7).Automatic = false;
- Obj_Chart.Axis.get_Custom(7).Maximum = 200;
- Obj_Chart.Axis.get_Custom(7).Minimum = 0;
- Obj_Chart.Axis.get_Custom(7).Increment = 10;
-
- var cus_axis9 = Obj_Chart.Axis.AddCustom(false); // HR
- Obj_Chart.Axis.get_Custom(8).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(8).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(8).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(8).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(8).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(8).Automatic = false;
- Obj_Chart.Axis.get_Custom(8).Maximum = 200;
- Obj_Chart.Axis.get_Custom(8).Minimum = 0;
- Obj_Chart.Axis.get_Custom(8).Increment = 10;
-
- var cus_axis10 = Obj_Chart.Axis.AddCustom(false); // SPO2
- Obj_Chart.Axis.get_Custom(9).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(9).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(9).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(9).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(9).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(9).Automatic = false;
- Obj_Chart.Axis.get_Custom(9).Maximum = 200;
- Obj_Chart.Axis.get_Custom(9).Minimum = 0;
- Obj_Chart.Axis.get_Custom(9).Increment = 10;
-
- var cus_axis11 = Obj_Chart.Axis.AddCustom(false); // ETCO2
- Obj_Chart.Axis.get_Custom(10).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(10).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(10).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(10).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(10).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(10).Automatic = false;
- Obj_Chart.Axis.get_Custom(10).Maximum = 200;
- Obj_Chart.Axis.get_Custom(10).Minimum = 0;
- Obj_Chart.Axis.get_Custom(10).Increment = 10;
-
- var cus_axis12 = Obj_Chart.Axis.AddCustom(false); // CVP
- Obj_Chart.Axis.get_Custom(11).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(11).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(11).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(11).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(11).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(11).Automatic = false;
- Obj_Chart.Axis.get_Custom(11).Maximum = 200;
- Obj_Chart.Axis.get_Custom(11).Minimum = 0;
- Obj_Chart.Axis.get_Custom(11).Increment = 10;
-
- var cus_axis13 = Obj_Chart.Axis.AddCustom(false); // sPAP
- Obj_Chart.Axis.get_Custom(12).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(12).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(12).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(12).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(12).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(12).Automatic = false;
- Obj_Chart.Axis.get_Custom(12).Maximum = 200;
- Obj_Chart.Axis.get_Custom(12).Minimum = 0;
- Obj_Chart.Axis.get_Custom(12).Increment = 10;
-
- var cus_axis14 = Obj_Chart.Axis.AddCustom(false); // dPAP
- Obj_Chart.Axis.get_Custom(13).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(13).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(13).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(13).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(13).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(13).Automatic = false;
- Obj_Chart.Axis.get_Custom(13).Maximum = 200;
- Obj_Chart.Axis.get_Custom(13).Minimum = 0;
- Obj_Chart.Axis.get_Custom(13).Increment = 10;
-
- var cus_axis15 = Obj_Chart.Axis.AddCustom(false); // mPAP
- Obj_Chart.Axis.get_Custom(14).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(14).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(14).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(14).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(14).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(14).Automatic = false;
- Obj_Chart.Axis.get_Custom(14).Maximum = 200;
- Obj_Chart.Axis.get_Custom(14).Minimum = 0;
- Obj_Chart.Axis.get_Custom(14).Increment = 10;
-
- var cus_axis16 = Obj_Chart.Axis.AddCustom(false); // PCWP
- Obj_Chart.Axis.get_Custom(15).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(15).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(15).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(15).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(15).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(15).Automatic = false;
- Obj_Chart.Axis.get_Custom(15).Maximum = 200;
- Obj_Chart.Axis.get_Custom(15).Minimum = 0;
- Obj_Chart.Axis.get_Custom(15).Increment = 10;
-
- var cus_axis17 = Obj_Chart.Axis.AddCustom(false); // BIS
- Obj_Chart.Axis.get_Custom(16).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(16).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(16).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(16).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(16).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(16).Automatic = false;
- Obj_Chart.Axis.get_Custom(16).Maximum = 200;
- Obj_Chart.Axis.get_Custom(16).Minimum = 0;
- Obj_Chart.Axis.get_Custom(16).Increment = 10;
-
- var cus_axis18 = Obj_Chart.Axis.AddCustom(false); // S-Entropy
- Obj_Chart.Axis.get_Custom(17).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(17).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(17).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(17).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(17).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(17).Automatic = false;
- Obj_Chart.Axis.get_Custom(17).Maximum = 200;
- Obj_Chart.Axis.get_Custom(17).Minimum = 0;
- Obj_Chart.Axis.get_Custom(17).Increment = 10;
-
- var cus_axis19 = Obj_Chart.Axis.AddCustom(false); // R-Entropy
- Obj_Chart.Axis.get_Custom(18).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(18).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(18).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(18).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(18).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(18).Automatic = false;
- Obj_Chart.Axis.get_Custom(18).Maximum = 200;
- Obj_Chart.Axis.get_Custom(18).Minimum = 0;
- Obj_Chart.Axis.get_Custom(18).Increment = 10;
-
- var cus_axis20 = Obj_Chart.Axis.AddCustom(false); // CI
- Obj_Chart.Axis.get_Custom(19).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(19).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(19).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(19).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(19).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(19).Automatic = false;
- Obj_Chart.Axis.get_Custom(19).Maximum = 200;
- Obj_Chart.Axis.get_Custom(19).Minimum = 0;
- Obj_Chart.Axis.get_Custom(19).Increment = 10;
-
- var cus_axis21 = Obj_Chart.Axis.AddCustom(false); // radial(R)
- Obj_Chart.Axis.get_Custom(20).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(20).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(20).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(20).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(20).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(20).Automatic = false;
- Obj_Chart.Axis.get_Custom(20).Maximum = 200;
- Obj_Chart.Axis.get_Custom(20).Minimum = 0;
- Obj_Chart.Axis.get_Custom(20).Increment = 10;
-
- var cus_axis22 = Obj_Chart.Axis.AddCustom(false); // radial(L)
- Obj_Chart.Axis.get_Custom(21).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(21).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(21).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(21).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(21).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(21).Automatic = false;
- Obj_Chart.Axis.get_Custom(21).Maximum = 200;
- Obj_Chart.Axis.get_Custom(21).Minimum = 0;
- Obj_Chart.Axis.get_Custom(21).Increment = 10;
-
- var cus_axis23 = Obj_Chart.Axis.AddCustom(false); // PVP
- Obj_Chart.Axis.get_Custom(22).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(22).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(22).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(22).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(22).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(22).Automatic = false;
- Obj_Chart.Axis.get_Custom(22).Maximum = 200;
- Obj_Chart.Axis.get_Custom(22).Minimum = 0;
- Obj_Chart.Axis.get_Custom(22).Increment = 10;
-
- var cus_axis24 = Obj_Chart.Axis.AddCustom(false); // Cerebral Oxymeter
- Obj_Chart.Axis.get_Custom(23).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(23).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(23).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(23).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(23).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(23).Automatic = false;
- Obj_Chart.Axis.get_Custom(23).Maximum = 200;
- Obj_Chart.Axis.get_Custom(23).Minimum = 0;
- Obj_Chart.Axis.get_Custom(23).Increment = 10;
-
- var cus_axis25 = Obj_Chart.Axis.AddCustom(false); // Body Temp
- Obj_Chart.Axis.get_Custom(24).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(24).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(24).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(24).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(24).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(24).Automatic = false;
- Obj_Chart.Axis.get_Custom(24).Maximum = 200;
- Obj_Chart.Axis.get_Custom(24).Minimum = 0;
- Obj_Chart.Axis.get_Custom(24).Increment = 10;
-
- var cus_axis26 = Obj_Chart.Axis.AddCustom(false); // rectal Temp
- Obj_Chart.Axis.get_Custom(25).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(25).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(25).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(25).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(25).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(25).Automatic = false;
- Obj_Chart.Axis.get_Custom(25).Maximum = 200;
- Obj_Chart.Axis.get_Custom(25).Minimum = 0;
- Obj_Chart.Axis.get_Custom(25).Increment = 10;
-
- var cus_axis27 = Obj_Chart.Axis.AddCustom(false); // Urine Output
- Obj_Chart.Axis.get_Custom(26).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(26).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(26).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(26).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(26).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(26).Automatic = false;
- Obj_Chart.Axis.get_Custom(26).Maximum = 200;
- Obj_Chart.Axis.get_Custom(26).Minimum = 0;
- Obj_Chart.Axis.get_Custom(26).Increment = 10;
-
- var cus_axis28 = Obj_Chart.Axis.AddCustom(false); // SVR
- Obj_Chart.Axis.get_Custom(27).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(27).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(27).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(27).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(27).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(27).Automatic = false;
- Obj_Chart.Axis.get_Custom(27).Maximum = 200;
- Obj_Chart.Axis.get_Custom(27).Minimum = 0;
- Obj_Chart.Axis.get_Custom(27).Increment = 10;
-
- var cus_axis29 = Obj_Chart.Axis.AddCustom(false); // SVV
- Obj_Chart.Axis.get_Custom(28).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(28).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(28).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(28).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(28).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(28).Automatic = false;
- Obj_Chart.Axis.get_Custom(28).Maximum = 200;
- Obj_Chart.Axis.get_Custom(28).Minimum = 0;
- Obj_Chart.Axis.get_Custom(28).Increment = 10;
-
- var cus_axis30 = Obj_Chart.Axis.AddCustom(false); // TV
- Obj_Chart.Axis.get_Custom(29).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(29).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(29).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(29).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(29).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(29).Automatic = false;
- Obj_Chart.Axis.get_Custom(29).Maximum = 200;
- Obj_Chart.Axis.get_Custom(29).Minimum = 0;
- Obj_Chart.Axis.get_Custom(29).Increment = 10;
-
- var cus_axis31 = Obj_Chart.Axis.AddCustom(false); // RR
- Obj_Chart.Axis.get_Custom(30).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(30).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(30).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(30).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(30).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(30).Automatic = false;
- Obj_Chart.Axis.get_Custom(30).Maximum = 200;
- Obj_Chart.Axis.get_Custom(30).Minimum = 0;
- Obj_Chart.Axis.get_Custom(30).Increment = 10;
-
- var cus_axis32 = Obj_Chart.Axis.AddCustom(false); // ScVO2
- Obj_Chart.Axis.get_Custom(31).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(31).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(31).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(31).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(31).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(31).Automatic = false;
- Obj_Chart.Axis.get_Custom(31).Maximum = 200;
- Obj_Chart.Axis.get_Custom(31).Minimum = 0;
- Obj_Chart.Axis.get_Custom(31).Increment = 10;
-
- var cus_axis33 = Obj_Chart.Axis.AddCustom(false); // SvO2
- Obj_Chart.Axis.get_Custom(32).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(32).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(32).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(32).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(32).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(32).Automatic = false;
- Obj_Chart.Axis.get_Custom(32).Maximum = 200;
- Obj_Chart.Axis.get_Custom(32).Minimum = 0;
- Obj_Chart.Axis.get_Custom(32).Increment = 10;
-
- var cus_axis34 = Obj_Chart.Axis.AddCustom(false); // PIP
- Obj_Chart.Axis.get_Custom(33).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(33).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(33).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(33).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(33).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(33).Automatic = false;
- Obj_Chart.Axis.get_Custom(33).Maximum = 200;
- Obj_Chart.Axis.get_Custom(33).Minimum = 0;
- Obj_Chart.Axis.get_Custom(33).Increment = 10;
-
- var cus_axis35 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(34).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(34).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(34).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(34).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(34).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(34).Automatic = false;
- Obj_Chart.Axis.get_Custom(34).Maximum = 200;
- Obj_Chart.Axis.get_Custom(34).Minimum = 0;
- Obj_Chart.Axis.get_Custom(34).Increment = 10;
-
- //추가 시작
- var cus_axis36 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(35).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(35).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(35).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(35).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(35).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(35).Automatic = false;
- Obj_Chart.Axis.get_Custom(35).Maximum = 200;
- Obj_Chart.Axis.get_Custom(35).Minimum = 0;
- Obj_Chart.Axis.get_Custom(35).Increment = 10;
-
- var cus_axis37 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(36).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(36).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(36).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(36).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(36).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(36).Automatic = false;
- Obj_Chart.Axis.get_Custom(36).Maximum = 200;
- Obj_Chart.Axis.get_Custom(36).Minimum = 0;
- Obj_Chart.Axis.get_Custom(36).Increment = 10;
-
- var cus_axis38 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(37).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(37).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(37).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(37).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(37).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(37).Automatic = false;
- Obj_Chart.Axis.get_Custom(37).Maximum = 200;
- Obj_Chart.Axis.get_Custom(37).Minimum = 0;
- Obj_Chart.Axis.get_Custom(37).Increment = 10;
-
- var cus_axis39 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(38).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(38).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(38).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(38).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(38).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(38).Automatic = false;
- Obj_Chart.Axis.get_Custom(38).Maximum = 200;
- Obj_Chart.Axis.get_Custom(38).Minimum = 0;
- Obj_Chart.Axis.get_Custom(38).Increment = 10;
-
- var cus_axis40 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(39).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(39).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(39).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(39).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(39).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(39).Automatic = false;
- Obj_Chart.Axis.get_Custom(39).Maximum = 200;
- Obj_Chart.Axis.get_Custom(39).Minimum = 0;
- Obj_Chart.Axis.get_Custom(39).Increment = 10;
-
- var cus_axis41 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(40).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(40).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(40).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(40).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(40).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(40).Automatic = false;
- Obj_Chart.Axis.get_Custom(40).Maximum = 200;
- Obj_Chart.Axis.get_Custom(40).Minimum = 0;
- Obj_Chart.Axis.get_Custom(40).Increment = 10;
-
- var cus_axis42 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(41).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(41).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(41).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(41).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(41).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(41).Automatic = false;
- Obj_Chart.Axis.get_Custom(41).Maximum = 200;
- Obj_Chart.Axis.get_Custom(41).Minimum = 0;
- Obj_Chart.Axis.get_Custom(41).Increment = 10;
-
- var cus_axis43 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(42).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(42).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(42).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(42).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(42).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(42).Automatic = false;
- Obj_Chart.Axis.get_Custom(42).Maximum = 200;
- Obj_Chart.Axis.get_Custom(42).Minimum = 0;
- Obj_Chart.Axis.get_Custom(42).Increment = 10;
-
- var cus_axis44 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(43).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(43).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(43).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(43).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(43).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(43).Automatic = false;
- Obj_Chart.Axis.get_Custom(43).Maximum = 200;
- Obj_Chart.Axis.get_Custom(43).Minimum = 0;
- Obj_Chart.Axis.get_Custom(43).Increment = 10;
-
- var cus_axis45 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(44).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(44).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(44).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(44).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(44).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(44).Automatic = false;
- Obj_Chart.Axis.get_Custom(44).Maximum = 200;
- Obj_Chart.Axis.get_Custom(44).Minimum = 0;
- Obj_Chart.Axis.get_Custom(44).Increment = 10;
-
- var cus_axis46 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(45).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(45).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(45).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(45).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(45).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(45).Automatic = false;
- Obj_Chart.Axis.get_Custom(45).Maximum = 200;
- Obj_Chart.Axis.get_Custom(45).Minimum = 0;
- Obj_Chart.Axis.get_Custom(45).Increment = 10;
-
- var cus_axis47 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(46).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(46).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(46).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(46).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(46).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(46).Automatic = false;
- Obj_Chart.Axis.get_Custom(46).Maximum = 200;
- Obj_Chart.Axis.get_Custom(46).Minimum = 0;
- Obj_Chart.Axis.get_Custom(46).Increment = 10;
-
- var cus_axis48 = Obj_Chart.Axis.AddCustom(false); // test
- Obj_Chart.Axis.get_Custom(47).AxisPen.Color = 0x000000;
- //Obj_Chart.Axis.get_Custom(2).Title.Caption = "체온";
- Obj_Chart.Axis.get_Custom(47).Title.Font.Size = 0;
- Obj_Chart.Axis.get_Custom(47).Title.Font.Bold = true;
- Obj_Chart.Axis.get_Custom(47).Title.Angle = 90;
- Obj_Chart.Axis.get_Custom(47).PositionPercent = 0;
- Obj_Chart.Axis.get_Custom(47).Automatic = false;
- Obj_Chart.Axis.get_Custom(47).Maximum = 200;
- Obj_Chart.Axis.get_Custom(47).Minimum = 0;
- Obj_Chart.Axis.get_Custom(47).Increment = 10;
-
-
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
-
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
- Obj_Chart.AddSeries (0);
-
- Obj_Chart.Series(0).VerticalAxisCustom = cus_axis1;
- Obj_Chart.Series(1).VerticalAxisCustom = cus_axis2;
- Obj_Chart.Series(2).VerticalAxisCustom = cus_axis3;
- Obj_Chart.Series(3).VerticalAxisCustom = cus_axis4;
- Obj_Chart.Series(4).VerticalAxisCustom = cus_axis5;
- Obj_Chart.Series(5).VerticalAxisCustom = cus_axis6;
- Obj_Chart.Series(6).VerticalAxisCustom = cus_axis7;
- Obj_Chart.Series(7).VerticalAxisCustom = cus_axis8;
- Obj_Chart.Series(8).VerticalAxisCustom = cus_axis9;
- Obj_Chart.Series(9).VerticalAxisCustom = cus_axis10;
- Obj_Chart.Series(10).VerticalAxisCustom = cus_axis11;
- Obj_Chart.Series(11).VerticalAxisCustom = cus_axis12;
- Obj_Chart.Series(12).VerticalAxisCustom = cus_axis13;
- Obj_Chart.Series(13).VerticalAxisCustom = cus_axis14;
- Obj_Chart.Series(14).VerticalAxisCustom = cus_axis15;
- Obj_Chart.Series(15).VerticalAxisCustom = cus_axis16;
- Obj_Chart.Series(16).VerticalAxisCustom = cus_axis17;
- Obj_Chart.Series(17).VerticalAxisCustom = cus_axis18;
- Obj_Chart.Series(18).VerticalAxisCustom = cus_axis19;
- Obj_Chart.Series(19).VerticalAxisCustom = cus_axis20;
- Obj_Chart.Series(20).VerticalAxisCustom = cus_axis21;
- Obj_Chart.Series(21).VerticalAxisCustom = cus_axis22;
- Obj_Chart.Series(22).VerticalAxisCustom = cus_axis23;
- Obj_Chart.Series(23).VerticalAxisCustom = cus_axis24;
- Obj_Chart.Series(24).VerticalAxisCustom = cus_axis25;
- Obj_Chart.Series(25).VerticalAxisCustom = cus_axis26;
- Obj_Chart.Series(26).VerticalAxisCustom = cus_axis27;
- Obj_Chart.Series(27).VerticalAxisCustom = cus_axis28;
- Obj_Chart.Series(28).VerticalAxisCustom = cus_axis29;
- Obj_Chart.Series(29).VerticalAxisCustom = cus_axis30;
- Obj_Chart.Series(30).VerticalAxisCustom = cus_axis31;
- Obj_Chart.Series(31).VerticalAxisCustom = cus_axis32;
- Obj_Chart.Series(32).VerticalAxisCustom = cus_axis33;
- Obj_Chart.Series(33).VerticalAxisCustom = cus_axis34;
- Obj_Chart.Series(34).VerticalAxisCustom = cus_axis35;
- Obj_Chart.Series(35).VerticalAxisCustom = cus_axis36;
- Obj_Chart.Series(36).VerticalAxisCustom = cus_axis37;
- Obj_Chart.Series(37).VerticalAxisCustom = cus_axis38;
- Obj_Chart.Series(38).VerticalAxisCustom = cus_axis39;
- Obj_Chart.Series(39).VerticalAxisCustom = cus_axis40;
- Obj_Chart.Series(40).VerticalAxisCustom = cus_axis41;
- Obj_Chart.Series(41).VerticalAxisCustom = cus_axis42;
- Obj_Chart.Series(42).VerticalAxisCustom = cus_axis43;
- Obj_Chart.Series(43).VerticalAxisCustom = cus_axis44;
- Obj_Chart.Series(44).VerticalAxisCustom = cus_axis45;
- Obj_Chart.Series(45).VerticalAxisCustom = cus_axis46;
- Obj_Chart.Series(46).VerticalAxisCustom = cus_axis47;
- Obj_Chart.Series(47).VerticalAxisCustom = cus_axis48;
-
- vitalchart.Axis.Left.Automatic = false;
-
- //라인의 굵기를 정해준다.
- for(var i=0; i < ds_main_vsmast.getRowCount(); i++){
- Obj_Chart.Series(i).asLine.LinePen.Width = 2;
- }
- // var a = 1;
- for(var i=0; i < ds_main_vsmast.getRowCount(); i++){
- var color = ds_main_vsmast.getColumn(i,"color");
- Obj_Chart.Series(i).Color = eval(color);
-
-
- //a++;
- }
- // var a = 1;
- for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
-
- var pointer = ds_main_vsmast.getColumn(i,"point");
- var lineyn = ds_main_vsmast.getColumn(i,"lineyn");
-
- if(lineyn == "N"){
- Obj_Chart.Series(i).asPoint.Pointer.Visible = true;
- Obj_Chart.Series(i).asPoint.Pointer.Style = eval(pointer);
- Obj_Chart.Series(i).asPoint.Pointer.VerticalSize = 4;
- Obj_Chart.Series(i).asPoint.Pointer.HorizontalSize = 4;
- }else{
- Obj_Chart.Series(i).asLine.Pointer.Visible = true;
- Obj_Chart.Series(i).asLine.Pointer.Style = eval(pointer);
- Obj_Chart.Series(i).asLine.Pointer.VerticalSize = 4;
- Obj_Chart.Series(i).asLine.Pointer.HorizontalSize = 4;
- }
-
- //a++;
- }
-
-
- // 그래프 표시
- var chkValue=0;
- for(var i=0; i < ds_grid_grd_main.getRowCount(); i++){
- var vsnm = ds_grid_grd_main.getColumn(i,"type");
- if(vsnm == "V/S"){
- chkValue++;
- }
- }
- var a = 1;
- for(var i=0; i<ds_main_vsmast.getRowCount(); i++){
-
- var b = 0;
- var color = ds_main_vsmast.getColumn(i,"color");
- var vsitemnm = ds_main_vsmast.getColumn(i,"vsitemnm");
- var vsitemcd = ds_main_vsmast.getColumn(i,"vsitemcd");
- var sChartInfo = ds_cond.getColumn(ds_cond.rowposition,"hourschartinfo").split(" ");
- var chkNum = 0;
-
- for(var h=0; h<sChartInfo.length; h++){
- if(sChartInfo[h] == vsitemcd){
- chkNum += 1;
- }
- }
- if(chkNum > 0){
- for(var j=0; j< ds_grid_grd_main.getRowCount(); j++){
-
- var grdvsitemcd = ds_grid_grd_main.getColumn(b,"linkcd");
- if(vsitemcd == grdvsitemcd){
- //model.alert(vsitemnm + " 그래프 그리자");
- for(var n=1; n < 360; n++){
- // trace("A");
- var vsValue = "";
- if( (n + parseInt(timecd)) > 0 && (n + parseInt(timecd)) < 289){
- vsValue = ds_grid_grd_main.getColumn(b,"t"+(n + parseInt(timecd)));
- }
- if(vsValue != ""){
- if(b == 4){ // (b == 5) 1이 아닌 0부터 시작하므로.
- if(!isNaN(vsValue)){
- Obj_Chart.Series(i).AddXY (eval(n-1+parseInt(sStartLine)), eval(vsValue), "", eval(color));
- }
- }else{
- if(!isNaN(vsValue)){
- Obj_Chart.Series(i).AddXY (eval(n-1+parseInt(sStartLine)), eval(vsValue), "", eval(color));
- }
- }
- }
- }
- }
- b++;
- }
- }
- a++;
-
- }
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 이전/이후 날짜 Setting
- ****************************************************************************************/
- function fDateCalc(pFlag, pVWFlag, pTerm){
- //var sRecDT = opener.iv_anstinfo.ds_05700_main_anstinfo.getColumn(opener.iv_anstinfo.ds_05700_main_anstinfo.rowposition,"meetingdt");
- var sRecDT = ds_cond.getColumn(ds_cond.rowposition,"recdd") + ds_cond.getColumn(ds_cond.rowposition,"rectm");
- var timecd = ds_cond.getColumn(ds_cond.rowposition,"timecd");
-
- var sTime = (parseInt(ds_cond.getColumn(ds_cond.rowposition,"timeflag")) * pTerm);
- trace("[SPMMR05900] fDateCalc - sTime = "+ sTime);
-
- sRecDT = sRecDT.toDate("YYYYMMDDhhmmss");
- trace("[SPMMR05900] fDateCalc - sRecDT = "+ sRecDT);
- if(pFlag == "-"){
- sRecDT.setMinutes(sRecDT.getMinutes() - sTime);
- timecd = parseInt(timecd) - 4;
- }else{
- sRecDT.getAddDate(sTime, "m");
- timecd = parseInt(timecd) + 4;
- }
- ds_cond.setColumn(ds_cond.rowposition,"recdd",utlf_getDateTime(sRecDT,'기본').substr(0,8));
- ds_cond.setColumn(ds_cond.rowposition,"rectm",utlf_getDateTime(sRecDT,'기본').substr(8,6));
-
- var rectm = ds_cond.getColumn(ds_cond.rowposition,"rectm");
-
- 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")){
- btn_24hoursdetailbefore.visible = false;
- }else{
- btn_24hoursdetailbefore.visible = true;
- }
-
- ds_cond.setColumn(ds_cond.rowposition,"timecd",timecd);
- var pFlag = ds_cond.getColumn(ds_cond.rowposition,"vwctrl_button");
- trace("[SPMMR05900] fDateCalc - timecd = "+ timecd);
- fCreateHeader(pFlag);
- fMakeChart(timecd);
-
- }
- /***************************************************************************************
- * Argument :
- * Description : 차트 img 저장 - 한dept 씩 폴더생성.
- ****************************************************************************************/
- function fMakeChartImg(){
- //그래프 이미지 특정 폴더에 저장
- var fldr = "C:/Program Files/himedFile";
- var fldr2 = "C:/Program Files/himedFile/vitaltempimage";
- var Obj_Chart = vitalchart;
- var fso = new ActiveX();
- fso = fso.createObject("Scripting.FileSystemObject");
- var fd = new FileDialog;
- var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", "tchart"); // 단일 파일 선택
- fldr2 = objVFile.fullpath;
-
- Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
- /*
- if (fso.FolderExists(fldr2)) {
-
- //IMAGE FILE 설정( PARAM : File Name ; Gray ; Performance ; Quality ; Width ; Height )
- //File 크기 조절 : Quality 및 Width, Height 설정(Width, Height 변경시 그래프 설정도 변경해야 함.)
- Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
- //sChartNum++;
- } else {
-
- var cfldr = fso.CreateFolder(fldr);
- cfldr = fso.CreateFolder(fldr2);
- Obj_Chart.Export.SaveToJPEGFile(fldr2+".jpeg", false, 0, 80, 915, 540 );
- //sChartNum++;
- }
- */
- sysf_messageBox("저장되었습니다.", "I");
- }
- /***************************************************************************************
- * Argument :
- * Description : submit
- ****************************************************************************************/
- function lf_tran_submit(trid){
-
- if(trid == "TRMMR04207"){
- tranf_submit({
- id: trid
- , service: "anstrecapp.AnstRec"
- , method: "reqGetVSMast"
- , inds : "reqdata=ds_send_reqdata"
- , outds: "ds_main_vsmast=item"
- , callback: "cbf_SPMMR05900"
- , async: false
- });
- }
-
- }
- /***************************************************************************************
- * Argument :
- * Description : callback
- ****************************************************************************************/
- function cbf_SPMMR05900(trid, errorcode, errormsg){
- if(trid == 'TRMMR04207'){
- if(errorcode != 0){
- sysf_messageBox("ID: " + trid + " Error: " + errormsg, "E009", "");
- }
- ds_main_vsmast.addColumn("lineyn","string");
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPMMR05900
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMMR05900_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_initDs();
- lf_SPMMR05900_fFormInit();
-
- }
- /****************************************************************************************
- * Components : checkbox
- * Components ID : grp_chkbox_chk_hourschartinfo
- * Event : onlbuttonup
- * Argument :
- * Description : 체크박스 클릭
- ****************************************************************************************/
- function grp_chkbox_chk_hourschartinfo_onlbuttonup(obj:cp_checkboxList, e:MouseEventInfo)
- {
- //trace("ds_cond ========="+ ds_cond.saveXML());
- var gd = grp_chkbox.chk_hourschartinfo.getData();
- sysf_trace("gd = " + gd);
- var chkValue = "";
- for(var k=0; k<gd.length; k++){
- chkValue += gd[k] + " ";
- }
- ds_cond.setColumn(ds_cond.rowposition, "hourschartinfo", chkValue);
- fMakeChart(ds_cond.getColumn(ds_cond.rowposition,"timecd"));
-
- }
- /****************************************************************************************
- * Components : button
- * Components ID : btn_24hoursdetailbefore
- * Event : onclick
- * Argument :
- * Description : '<< ' 버튼 클릭
- ****************************************************************************************/
- function btn_24hoursdetailbefore_onclick(obj:Button, e:ClickEventInfo)
- {
- var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
- grd_24hoursclincobsreclist.splitContentsCell("Head",0,0,1,headCnt,true);
- fDateCalc("-" , "24hours",4);
- }
- /****************************************************************************************
- * Components : button
- * Components ID : btn_24hoursdetailafter
- * Event : onclick
- * Argument :
- * Description : '>> ' 버튼 클릭
- ****************************************************************************************/
- function btn_24hoursdetailafter_onclick(obj:Button, e:ClickEventInfo)
- {
- var headCnt = grd_24hoursclincobsreclist.getCellCount("Head");
- grd_24hoursclincobsreclist.splitContentsCell("Head",0,0,1,headCnt,true);
- fDateCalc("+", "24hours",4);
- }
- /****************************************************************************************
- * Components : button
- * Components ID : btn_saveinfo
- * Event : onclick
- * Argument :
- * Description : '>> ' 버튼 클릭
- ****************************************************************************************/
- function btn_saveinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- fMakeChartImg();
- }
- function btn_small_onclick(obj:Button, e:ClickEventInfo)
- {
- fMakeChart(0, 288, 12);
- fzoomHead();
- }
- function btn_ori_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_SPMMR05900_fFormInit();
- }
- ]]></Script>
- </Form>
- </FDL>
|