50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en" id="container" onmousedown="startDrag(event)" onmouseup="stopDrag(event)" onmousemove="dragging(event)" style="overflow-x: hidden;
|
||
|
|
overflow-y: hidden; ">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
|
||
|
|
<link rel="stylesheet" href="../css/btn.css"/>
|
||
|
|
<link rel="stylesheet" href="../css/sketchBtn.css"/>
|
||
|
|
<script type="text/javascript" type="text/javascript">
|
||
|
|
function SketchLeftLearnSetStationSch2PostMessage(str){
|
||
|
|
parent.window.postMessage(
|
||
|
|
str,
|
||
|
|
"*" //or "www.parentpage.com"
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
function Button_OK(){
|
||
|
|
var str="SetStationSch2:OK#";
|
||
|
|
SketchLeftLearnSetStationSch2PostMessage(str);
|
||
|
|
}
|
||
|
|
function Button_Cancel(){
|
||
|
|
var str="SetStationSch2:Cancel#";
|
||
|
|
SketchLeftLearnSetStationSch2PostMessage(str);
|
||
|
|
}
|
||
|
|
|
||
|
|
function Init(){
|
||
|
|
document.getElementById('SetStationInfo').innerText = "NodeID:"+parent.window.NodeID+" "+"NodeName:"+parent.window.NodeName+" "+"FloorNum:"+parent.window.FloorNum+" "+"FloorName:"+parent.window.FloorName;
|
||
|
|
}
|
||
|
|
window.onload=function() {
|
||
|
|
Init();
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
<title>Title</title>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
HMI_Sketch_Left_SetStation_Sch2
|
||
|
|
<div id='SetStationInfo'> </div>
|
||
|
|
<tr>
|
||
|
|
<p>
|
||
|
|
<input type=button class="btn" id="Button_OK" value="OK" onclick=Button_OK() style=" background:lightgreen"></input>
|
||
|
|
</p>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<p>
|
||
|
|
<input type=button class="btn" id="Button_Cancel" value="Cancel" onclick=Button_Cancel() style=" background:lightcoral"></input>
|
||
|
|
</p>
|
||
|
|
</tr>
|
||
|
|
</body>
|
||
|
|
<script src="../js/drag.js"></script>
|
||
|
|
</html>
|