-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from jp112sdl/dev_6.0
Dev 6.0
- Loading branch information
Showing
22 changed files
with
493 additions
and
3,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
function ::CreateWndRotSensor() { | ||
object objVoltage = cObj.DPByHssDP("OPERATING_VOLTAGE"); | ||
|
||
object ch = dom.GetObject(chnId); | ||
|
||
! Locked | ||
string locked = "${actionStatusControlLockedA}"; | ||
|
||
if (ch.Label() == "HmIP-MOD-WD-VK") { | ||
! Closed | ||
locked = "${actionStatusControlLockedB}"; | ||
} | ||
|
||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"OpenH' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/open_h.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>${actionStatusControlOpenA}</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"OpenV' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/open_v.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>${actionStatusControlTilted}</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"Closed' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/closed.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>"#locked#"</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
|
||
if (objVoltage) { | ||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"Extra' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/closed.png' width='80' height='80' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>Extra-Status</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
|
||
WriteLine("<td><div class='ControlBtnInfo CLASS02532'><span class='_CLASS02533'><span class='CLASS02534 j_translate' style='display: inline;'>Betriebsspannung in V:</span><span class='CLASS02535' style='color:white'>"#objVoltage.Value().ToString(1)#"V</span></span></div></td>"); | ||
} else { | ||
WriteLine("<td></td><td></td>"); | ||
} | ||
|
||
object objState = cObj.DPByControl("RHS.STATE"); | ||
WriteLine("<script type='text/javascript'>"); | ||
WriteLine("ibw"#cObj.ID()#" = new iseButtonsWindowHB("#chnId#", "#objState.Value()#");"); | ||
WriteLine("</script>"); | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
function ::CreateWndRotSensor() { | ||
|
||
object ch = dom.GetObject(chnId); | ||
|
||
! Locked | ||
string locked = "${actionStatusControlLockedA}"; | ||
|
||
if (ch.Label() == "HmIP-MOD-WD-VK") { | ||
! Closed | ||
locked = "${actionStatusControlLockedB}"; | ||
} | ||
|
||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"OpenH' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/open_h.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>${actionStatusControlOpenA}</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"OpenV' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/open_v.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>${actionStatusControlTilted}</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
WriteLine("<td>"); | ||
WriteLine("<table class='ControlBtnOff CLASS02514' id='"#chnId#"Closed' >"); | ||
WriteLine("<tr>"); | ||
WriteLine("<td class='CLASS02513'>"); | ||
WriteLine("<div align='center'>"); | ||
WriteLine("<img src='/ise/img/window/closed.png' width='80' height='80' style='mix-blend-mode:multiply;' />"); | ||
WriteLine("</div>"); | ||
WriteLine("</td>"); | ||
WriteLine("</tr>"); | ||
WriteLine("<tr><td>"#locked#"</td></tr>"); | ||
WriteLine("</table>"); | ||
WriteLine("</td>"); | ||
|
||
object objState = cObj.DPByControl("RHS.STATE"); | ||
WriteLine("<td></td><td></td>"); | ||
WriteLine("<script type='text/javascript'>"); | ||
WriteLine("ibw"#cObj.ID()#" = new iseButtonsWindow("#chnId#", "#objState.Value()#");"); | ||
WriteLine("</script>"); | ||
return; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.