代码拉取完成,页面将自动刷新
同步操作将从 WEB SCADA/WEB SCADA 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Plot</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="system/styles/igrX.css" />
<!--[if lte IE 7]>
<link rel="stylesheet" media="screen, print" href="system/styles/plot.compat.css" />
<![endif]-->
<style type="text/css">
.axisTarget {
display:none
}
</style>
</head>
<body scroll="no" class="no-scroll">
<div class='trend' id='placeholder' style='top:0;left:0;'></div>
</body>
<script type="text/javascript" src="system/scripts/igrX.js"></script>
<script type="text/javascript">
var totalNumofBoolean = 6; // Specif total number of boolean tag in the whole page
var boolMin= function(min,seq){return (min-0.25-((totalNumofBoolean-seq)*1.5));}; // function to calculate min of pen (for posisitonting purpose)
var boolMax= function(max,seq){return (max+0.25+((seq-1)*1.5));}; // function to calculate max of pen (for posisitonting purpose)
var pen = [
{
name: 'TAG A',
enabled: true,
unit: 'boolean',
min: boolMin(0, 1), // first argument = min value of the tag, second argument = Sequence of the tag
max: boolMax(1, 1), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG A',
tag: 'bool_a',
format: 'up/down' // When tag is TRUE, display "up"; when tag is FALSE, display "down"
}
]
},
{
name: 'TAG B',
enabled: true,
unit: 'boolean',
min: boolMin(0, 2), // first argument = min value of the tag, second argument = Sequence of the tag
max: boolMax(1, 2), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG B',
tag: 'bool_b',
format: 'good/bad' // When tag is TRUE, display "good"; when tag is FALSE, display "bad"
}
]
},
{
name: 'TAG C',
enabled: true,
unit: 'boolean',
min:boolMin(0, 3), // first argument = min value of the tag, second argument = Sequence of the tag
max:boolMax(1, 3), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG C',
tag: 'bool_c',
format: 'TRUE/FALSE' // When tag is TRUE, display "TRUE"; when tag is FALSE, display "FALSE"
}
]
},
{
name: 'TAG D',
enabled: true,
unit: 'boolean',
min: boolMin(0, 4), // first argument = min value of the tag, second argument = Sequence of the tag
max: boolMax(1, 4), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG D',
tag: 'bool_d',
format: '###' // When tag is TRUE, display "true" (default); when tag is FALSE, display "false" (default)
}
]
},
{
name: 'TAG E',
enabled: true,
unit: 'boolean',
min: boolMin(0, 5), // first argument = min value of the tag, second argument = Sequence of the tag
max: boolMax(1, 5), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG E',
tag: 'bool_e'
}
]
},
{
name: 'TAG F',
enabled: true,
unit: 'boolean',
min: boolMin(0, 6), // first argument = min value of the tag, second argument = Sequence of the tag
max: boolMax(1, 6), // first argument = max value of the tag, second argument = Sequence of the tag
pens: [
{
name: 'TAG F',
tag: 'bool_f',
format: 'Run/Stop' // When tag is TRUE, display "Run"; when tag is FALSE, display "Stop"
}
]
}
];
var opt = {
'gridx': 10,
'skip': true,
'lograte': 5000,
'title': 'Step Trending',
'backgroundColor': 'white',
'refLineColor': 'black',
'lineWidth': 2
};
var plot = igrx.trend( '#placeholder', {
'pen_setting': pen,
'option': opt
});
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。