static
This commit is contained in:
51
static/Magic4/Mapping/HMI_Mapping_Right.html
Normal file
51
static/Magic4/Mapping/HMI_Mapping_Right.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript" src="../jquery-2.1.0.min.js"></script>
|
||||
<script type="text/javascript" src="../jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="../Lu_Math_Driver.js"></script>
|
||||
<script type="text/javascript">
|
||||
var HMI_Mapping_Right="Main";
|
||||
function receiveMessage(event) {
|
||||
var head=event.data.split(':');
|
||||
switch (head[0]) {
|
||||
case "BoschTotalInit":
|
||||
HMI_Mapping_Right="BoschTotalInit";
|
||||
window.open('HMI_Mapping_Right_BoschTotalInit_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "BoschRecording":
|
||||
HMI_Mapping_Right="BoschRecording";
|
||||
window.open('HMI_Mapping_Right_BoschRecording_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "BoschMapping":
|
||||
HMI_Mapping_Left="BoschMapping";
|
||||
window.open('HMI_Mapping_Right_BoschMapping_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "BoschRecordingDelete":
|
||||
HMI_Mapping_Right="BoschRecordingDelete";
|
||||
window.open('HMI_Mapping_Right_BoschRecordingDelete_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "BoschMapDelete":
|
||||
HMI_Mapping_Right="BoschMapDelete";
|
||||
window.open('HMI_Mapping_Right_BoschMapDelete_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "BoschServerMapDelete":
|
||||
HMI_Mapping_Right="BoschServerMapDelete";
|
||||
window.open('HMI_Mapping_Right_BoschServerMapDelete_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
case "Main":
|
||||
HMI_Mapping_Left = "Main";
|
||||
window.open('HMI_Mapping_Right_Main.html', 'RightMainIframe');
|
||||
break;
|
||||
}
|
||||
}
|
||||
window.addEventListener("message", receiveMessage, false);
|
||||
</script>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
HMI_Mapping_Right
|
||||
<iframe id="RightMainIframe" name="RightMainIframe" width="1200" height="680" src="HMI_Mapping_Right_Main.html" frameborder="2" scrolling="auto"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user