52 lines
1.8 KiB
HTML
52 lines
1.8 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 src="../jquery-2.1.0.min.js"></script>
|
|
<script type="text/javascript" type="text/javascript">
|
|
function Init(){
|
|
document.getElementById('RestChargeStation').innerText="AGV_ID:"+parent.window.AGV_ID.toString()+" Default_Rest_NodeID:"+parent.window.Default_Rest_NodeID.toString()+" Default_Charge_NodeID:"+parent.window.Default_Charge_NodeID.toString();
|
|
}
|
|
window.onload= function() {
|
|
Init();
|
|
}
|
|
|
|
function SketchLeftEditRestChargeStationSch2PostMessage(str){
|
|
parent.window.postMessage(
|
|
str,
|
|
"*" //or "www.parentpage.com"
|
|
);
|
|
}
|
|
|
|
function Button_OK(){
|
|
var str="EditRestChargeStationSch2:OK#";
|
|
SketchLeftEditRestChargeStationSch2PostMessage(str);
|
|
}
|
|
function Button_Cancel(){
|
|
var str="EditRestChargeStationSch2:Cancel#";
|
|
SketchLeftEditRestChargeStationSch2PostMessage(str);
|
|
}
|
|
|
|
</script>
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
HMI_Sketch_Left_EditRestChargeStation_Sch2
|
|
<div id='RestChargeStation'></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> |