OSDN Git Service

wits update
[vem/WITs.git] / url_dummy2.html
diff --git a/url_dummy2.html b/url_dummy2.html
new file mode 100644 (file)
index 0000000..dc08b55
--- /dev/null
@@ -0,0 +1,220 @@
+<!DOCTYPE html>
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <meta charset="utf-8">
+    <link rel="stylesheet" href="CSS/bootstrap-grid.css">
+</head>
+<body style="text-align: center;">
+       <h2>Control EM url</h2>
+       <br>
+       <div class="container">
+               <div class="row">
+                       <div class="col-md-3" style="text-align: right; padding: 5px;">
+                               <h3>Return All Parameters</h3>
+                               <h4>button</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Move Stage</h3>
+                               <h4>
+                                       movingdistance<br>
+                                       move x<br>
+                                       move y<br>
+                                       move z
+                               </h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <!--
+                               <h3>ステージ座標(相対座標)</h3>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                       -->
+                               <h3>SetSpotsize</h3>
+                               <h4>spotsize</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Magnification absolute</h3>
+                               <h4>value</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Magnification relative</h3>
+                               <h4>value</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Defocus</h3>
+                               <h4>value</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Focus Reset</h3>
+                               <h4>button</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Setting</h3>
+                               <h4>
+                                       Binning<br>
+                                       Exptime<br>
+                                       ImageSize<br>
+                               </h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                               <hr>
+                               <h3>Take Photo</h3>
+                               <h4>webSocket</h4>
+                               <h4>API</h4>
+                               <h4>take photo</h4>
+                               <h4>URL :</h4>
+                               <h4>Return :</h4>
+                       </div>
+                       <div class="col-md-9" style="text-align: left; padding: 5px;">
+                               <!--全パラメータを返す-->
+                               <h3>
+                                       <input type="radio" name="all_params_switch" value="1" >on
+                       <input type="radio" name="all_params_switch" value="0" checked="checked">off
+                </h3>  
+                <h4>
+                                       <input type="button" value="All params" onClick="AllParams()">
+                               </h4>
+                               <h4 id="all_params_url">[url]</h4>
+                               <h4 id="all_params_return">[return]</h4>
+                               <hr>
+                               <!--ステージ移動)-->
+                               <h3>
+                                       <input type="radio" name="move_stage_switch" value="1" >on
+                       <input type="radio" name="move_stage_switch" value="0" checked="checked">off
+                </h3>
+                <h4>
+                       <input type = "number" id="movingDistance" value="1"> nm
+                       <br>
+                       <input type="number" id="movex" value="1" onchange="setStage()"> nm</input>
+                                       <input type="button" value="←" onClick="ClickMove('Left')">
+                                       <input type="button" value="→" onClick="ClickMove('Right')">
+                                       <br>
+                                       <input type="number" id="movey" value="1" onchange="setStage()"> nm</input>
+                                       <input type="button" value="↑" onClick="ClickMove('Up')">
+                                       <input type="button" value="↓" onClick="ClickMove('Down')">
+                                       <br>
+                                       <input type="number" id="movez" value="1" onchange="setStage()"> nm</input>
+                               </h4>
+                               <h4 id="move_stage_url">[url]</h4>
+                               <h4 id="move_stage_return">[return]</h4>
+                               <hr>
+                               <!--ステージ移動(相対座標)
+                               <h3>
+                                       <input type="radio" name="move_stage_rel_switch" value="1" >on
+                       <input type="radio" name="move_stage_rel_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4 id="move_stage_rel_url">[url]</h4>
+                               <h4 id="move_stage_rel_return">[return]</h4>
+                               <hr>
+                               -->
+                               <!--スポットサイズ設定-->
+                               <h3>
+                                       <input type="radio" name="spotsize_switch" value="1" >on
+                       <input type="radio" name="spotsize_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type = "number" id = "Spotsize" value="1" onchange="setSpotsize();">
+                               </h4>
+                               <h4 id="spotsize_url">[url]</h4>
+                               <h4 id="spotsize_return">[return]</h4>
+                               <hr>
+                               <!--倍率設定(絶対値)-->
+                               <h3>
+                                       <input type="radio" name="magnification_abs_switch" value="1" >on
+                       <input type="radio" name="magnification_abs_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type = "number" id="magnificationa" onChange="setMagnificationA()">
+                               </h4>
+                               <h4 id="magnification_abs_url">[url]</h4>
+                               <h4 id="magnification_abs_return">[return]</h4>
+                               <hr>
+                               <!--倍率設定(相対値)-->
+                               <h3>
+                                       <input type="radio" name="magnification_rel_switch" value="1" >on
+                       <input type="radio" name="magnification_rel_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type = "number" id="magnificationr" onChange="setMagnificationR()">
+                               </h4>
+                               <h4 id="magnification_rel_url">[url]</h4>
+                               <h4 id="magnification_rel_return">[return]</h4>
+                               <hr>
+                               <!--フォーカス設定(相対値)-->
+                               <h3>
+                                       <input type="radio" name="focus_rel_switch" value="1" >on
+                       <input type="radio" name="focus_rel_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type = "number" id="focusr" onChange="defocus()">
+                               </h4>
+                               <h4 id="focus_rel_url">[url]</h4>
+                               <h4 id="focus_rel_return">[return]</h4>
+                               <hr>
+                               <!--フォーカスリセット-->
+                               <h3>
+                                       <input type="radio" name="focus_reset_switch" value="1" >on
+                       <input type="radio" name="focus_reset_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type="button" value="resetFocus" onClick="resetFocus()">
+                               </h4>
+                               <h4 id="focus_reset_url">[url]</h4>
+                               <h4 id="focus_reset_return">[return]</h4>
+                               <hr>
+                               <!--撮影の条件-->
+                               <h3>
+                                       <input type="radio" name="set_condition_switch" value="1" >on
+                       <input type="radio" name="set_condition_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <select id="binning" name="binning" onchange="settingCam()">
+                               <option value="1">1</option>
+                               <option value="2">2</option>
+                               <option value="4">4</option>
+                           </select>
+                           <br>
+                                       <input type="number" id="exptime" value="0.07" step="0.01" onchange="settingCam()">
+                           <br>
+                           <select id="image_size" onchange="settingCam()">
+                               <option value="0">full</option>
+                               <option value="1">half</option>
+                               <option value="2">quarter</option>
+                           </select>
+                               </h4>
+                               <h4 id="set_condition_url">[url]</h4>
+                               <h4 id="set_condition_return">[return]</h4>
+                               <hr style="margin: 0;">
+                               <!--撮影-->
+                               <h3>
+                                       <input type="radio" name="capture_switch" value="1" >on
+                       <input type="radio" name="capture_switch" value="0" checked="checked">off
+                               </h3>
+                               <h4>
+                                       <input type="button" id="ws_button" value="start" onClick="connectWebSocket()"></input>
+                               </h4>
+                               <h4>
+                                       <input type="button" id="api_button" value="start" onClick="connectApi()"></input>
+                               </h4>
+                               <h4>
+                                       <input type="button" id="photo_button" value="take photo" onClick="takePhoto()"></input>
+                               </h4>
+                               <h4 id="capture_url">[url]</h4>
+                               <h4 id="capture_return">[return]</h4>
+                               <canvas id="em_capture"></canvas>
+                       </div>
+               </div>
+       </div>
+       <br>
+       <br>
+       <br>
+       <script type="text/javascript" src="JS/url_dummy.js"></script>
+</body>
+</html>
\ No newline at end of file