SPAEA02000_AlarmNotify(재활의학과).xrw 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Alarm Notify</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patlist>
  11. <patinfo>
  12. <pid/>
  13. <hngnm/>
  14. <ioflag/>
  15. <alarmflag/>
  16. </patinfo>
  17. </patlist>
  18. </main>
  19. <send>
  20. <interval>60000</interval>
  21. <globalinstance>
  22. <instance1/>
  23. </globalinstance>
  24. <retroomcd/>
  25. </send>
  26. <init>
  27. <cmb_info>
  28. <initexecroom>
  29. <excuroomcdnm/>
  30. <excuroomcdid/>
  31. </initexecroom>
  32. </cmb_info>
  33. </init>
  34. <hidden/>
  35. <temp>
  36. <topmost/>
  37. </temp>
  38. </root>
  39. </instance>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. aezfSetSuppDeptcd();
  48. //치료실목록조회
  49. submit("TRAEA01201", false);
  50. cmb_excuroom.select(0);
  51. fGetAlarmNotify();
  52. ]]>
  53. </script>
  54. <script type="javascript">
  55. <![CDATA[
  56. function fGetAlarmNotify(){
  57. submit("TRAEA02015");
  58. if(grd_tmplcodelist.rows > 1) {
  59. snd ="c:\\windows\\media\\ringin.wav";
  60. object1.url = snd;
  61. }
  62. }
  63. ]]>
  64. </script>
  65. <submission id="TRAEA02015" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patlist"/>
  66. <submission id="TRAEA01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance/instance1" resultref="/root/init/cmb_info"/>
  67. </model>
  68. </xhtml:head>
  69. <xhtml:body pagewidth="480" pageheight="600" guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  70. <group id="group1" style="left:10px; top:5px; width:450px; height:538px; ">
  71. <datagrid id="grd_tmplcodelist" nodeset="/root/main/patlist/patinfo" caption="등록번호^이름^i/o^구분" colsep="^" colwidth="91, 85, 39, 159" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:85px; width:420px; height:415px; ">
  72. <col ref="pid"/>
  73. <col ref="hngnm" maxlength="12" _chartype="upper" _key="true"/>
  74. <col ref="ioflag"/>
  75. <col ref="alarmflag"/>
  76. </datagrid>
  77. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:420px; y2:80px; "/>
  78. <caption id="caption4" class="tit_2" style="left:0px; top:65px; width:100px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자</caption>
  79. <caption id="caption7" class="tit_1" style="left:0px; top:0px; width:102px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">Alarm Notify</caption>
  80. <caption id="caption1" class="tit_2" style="left:0px; top:20px; width:375px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">설정</caption>
  81. <line id="line2" class="line_1" style="x1:0px; y1:35px; x2:420px; y2:35px; "/>
  82. <line id="line3" class="line_3" style="x1:0px; y1:60px; x2:420px; y2:60px; "/>
  83. <select id="checkbox1" ref="/root/temp/topmost" visibility="hidden" overflow="visible" appearance="full" style="left:320px; top:505px; width:100px; height:20px; border-style:none; ">
  84. <choices>
  85. <item>
  86. <label>최상위 윈도우</label>
  87. <value>Y</value>
  88. </item>
  89. </choices>
  90. <script type="javascript" ev:event="xforms-value-changed">
  91. <![CDATA[
  92. if(model.getValue("/root/temp/topmost") == "Y") {
  93. window.modelesstopmost = true;
  94. }
  95. ]]>
  96. </script>
  97. </select>
  98. <select1 id="combo2" ref="/root/send/interval" appearance="minimal" style="left:62px; top:40px; width:60px; height:19px; ">
  99. <choices>
  100. <item>
  101. <label>1분</label>
  102. <value>60000</value>
  103. </item>
  104. <item>
  105. <label>3분</label>
  106. <value>180000</value>
  107. </item>
  108. <item>
  109. <label>5분</label>
  110. <value>300000</value>
  111. </item>
  112. <item>
  113. <label>10분</label>
  114. <value>600000</value>
  115. </item>
  116. </choices>
  117. </select1>
  118. <caption id="caption2" class="cell_1" style="left:0px; top:40px; width:60px; height:20px; text-align:center; ">interval</caption>
  119. <button id="button1" class="btn4_letter2" style="left:307px; top:39px; width:56px; height:22px; ">
  120. <caption>시작</caption>
  121. <script type="javascript" ev:event="onclick">
  122. <![CDATA[
  123. var interval = model.getValue("/root/send/interval");
  124. gTimer = window.setInterval("fGetAlarmNotify()", interval);
  125. ]]>
  126. </script>
  127. </button>
  128. <button id="button4" class="btn4_letter2" style="left:364px; top:39px; width:56px; height:22px; ">
  129. <caption>종료</caption>
  130. <script type="javascript" ev:event="onclick">
  131. <![CDATA[
  132. if (gTimer != null) {
  133. window.clearinterval(gTimer);
  134. gTimer = null;
  135. }
  136. ]]>
  137. </script>
  138. </button>
  139. <object id="object1" clsid="{6bf52a52-394a-11d3-b153-00c04f79faa6}" visibility="hidden" style="left:160px; top:275px; width:200px; height:150px; "/>
  140. <select1 id="cmb_excuroom" ref="/root/send/retroomcd" class="combo_default" navindex="3" appearance="minimal" style="left:186px; top:40px; width:107px; height:19px; ">
  141. <choices>
  142. <itemset nodeset="/root/init/cmb_info/initexecroom">
  143. <label ref="excuroomcdnm"/>
  144. <value ref="excuroomcdid"/>
  145. </itemset>
  146. </choices>
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. fGetAlarmNotify();
  150. ]]>
  151. </script>
  152. </select1>
  153. <caption id="caption3" class="cell_1" style="left:124px; top:40px; width:60px; height:20px; text-align:center; ">치료실</caption>
  154. </group>
  155. </xhtml:body>
  156. </xhtml:html>