Critial Bug Fix in Connector. Samples Bug Fix.

This commit is contained in:
luosheng
2023-02-15 16:18:57 +08:00
parent b880acff6d
commit af928c5932
313 changed files with 84 additions and 524 deletions

View File

@@ -1,3 +1,43 @@
.mar-right {
margin-right: 20px;
}
.light {
border-radius: 50%;
width: 50px;
height: 50px;
display: inline-block;
background-color: #95a5a6;
}
.red {
background-color: #f05f2a;
}
.yellow {
background-color: #DDFF00;
}
.green {
background-color: #01a252;
}
.borderddy {
border: 6px solid #95a5a6;
}
.top {
margin-top: 20px;
}
.box {
text-align: center;
line-height: 50%;
padding: 10px 0 10px 0;
border-radius: 40px;
background-color: #525e64;
}
html {
font-size: 14px;
}

View File

@@ -18,7 +18,7 @@ function readLamp() {
[].forEach.call(liNodes, function (v) {
v.style.backgroundColor = "lightgray";
});
switch (datas.MainLamp) {
switch (datas.mainLamp) {
case "Red":
{
liNodes[index].style.backgroundColor = colorArr[index];
@@ -35,7 +35,7 @@ function readLamp() {
break;
}
}
switch (datas.SubLamp) {
switch (datas.subLamp) {
case "Red":
{
liNodes[index2].style.backgroundColor = colorArr[index];