Merge branch 'develop' of http://120.46.212.6:3000/joylink/rts-sim-testing-client into develop
This commit is contained in:
commit
43a8993eb9
|
@ -435,7 +435,11 @@ export function creatCiCjListByCombinationtype(
|
|||
ciCjList.cjList[i] = new relayCabinetGraphicData.CjDataSet();
|
||||
ciCjList.cjList[i].name = 'D' + (i + 1);
|
||||
for (let j = 0; j < rows; j++) {
|
||||
if (i < cols - 1 || (i == cols - 1 && j < allCjData.length % rows)) {
|
||||
if (
|
||||
i < cols - 1 ||
|
||||
(i == cols - 1 && j < allCjData.length % rows) ||
|
||||
(i == cols - 1 && allCjData.length % rows == 0)
|
||||
) {
|
||||
ciCjList.cjList[i].bitList[j] = allCjData[i * rows + j];
|
||||
} else {
|
||||
ciCjList.cjList[i].bitList[j] = new relayCabinetGraphicData.CjData();
|
||||
|
|
|
@ -684,7 +684,7 @@ const garageDoorCjList = [
|
|||
],
|
||||
[
|
||||
{
|
||||
code: 'kMJ',
|
||||
code: 'KMJ',
|
||||
position: PostionType.Q,
|
||||
},
|
||||
],
|
||||
|
|
|
@ -99,7 +99,7 @@ upScreenDoorQdList.forEach((qdData) => {
|
|||
const garageDoorQdList = [
|
||||
{
|
||||
code: 'CKM',
|
||||
refDeviceCodes: [['kMJ'], ['GMJ']],
|
||||
refDeviceCodes: [['KMJ'], ['GMJ']],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -453,7 +453,7 @@ const garageDoorCombinations = [
|
|||
model: RelayModelType.JWXC_1700,
|
||||
},
|
||||
{
|
||||
code: 'kMJ',
|
||||
code: 'KMJ',
|
||||
model: RelayModelType.JWXC_1700,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue