|
|
|
@ -311,9 +311,11 @@ export class DrawTemplateByImport implements Command
|
|
|
|
|
en.Name = info.model;
|
|
|
|
|
if (info.remarks?.length)
|
|
|
|
|
{
|
|
|
|
|
en.BoardProcessOption.remarks.push(["注", info.remarks[0]]);
|
|
|
|
|
if (info.remarks[0])
|
|
|
|
|
en.BoardProcessOption.remarks.push(["注", info.remarks[0]]);
|
|
|
|
|
for (let i = 1; i < info.remarks.length; i++)
|
|
|
|
|
en.BoardProcessOption.remarks.push(["注" + i, info.remarks[i]]);
|
|
|
|
|
if (info.remarks[i])
|
|
|
|
|
en.BoardProcessOption.remarks.push(["注" + i, info.remarks[i]]);
|
|
|
|
|
}
|
|
|
|
|
if (info.roomName)
|
|
|
|
|
en.BoardProcessOption[EBoardKeyList.RoomName] = info.roomName;
|
|
|
|
@ -340,9 +342,11 @@ export class DrawTemplateByImport implements Command
|
|
|
|
|
en.HardwareOption.model = info.model;
|
|
|
|
|
if (info.remarks?.length)
|
|
|
|
|
{
|
|
|
|
|
en.DataList.push(["注", info.remarks[0]]);
|
|
|
|
|
if (info.remarks[0])
|
|
|
|
|
en.DataList.push(["注", info.remarks[0]]);
|
|
|
|
|
for (let i = 1; i < info.remarks.length; i++)
|
|
|
|
|
en.DataList.push(["注" + i, info.remarks[i]]);
|
|
|
|
|
if (info.remarks[i])
|
|
|
|
|
en.DataList.push(["注" + i, info.remarks[i]]);
|
|
|
|
|
}
|
|
|
|
|
if (info.roomName)
|
|
|
|
|
en.HardwareOption[EBoardKeyList.RoomName] = info.roomName;
|
|
|
|
|