dev #543

Merged
ysCha merged 7 commits from dev into dev-deploy 2025-12-31 15:39:54 +09:00
Showing only changes of commit 7557f61130 - Show all commits

View File

@ -122,6 +122,21 @@ export default function PassivityCircuitAllocation(props) {
return
}
// targetModule Y N .
const targetModuleGroup = [...new Set(canvas
.getObjects()
.filter((obj) => obj.name === POLYGON_TYPE.MODULE && targetModules.includes(obj.id))
.map((obj) => obj.moduleInfo.northModuleYn))]
if (targetModuleGroup.length > 1) {
swalFire({
text: getMessage('module.circuit.fix.not.same.roof.error'),
type: 'alert',
icon: 'warning',
})
return
}
switch (pcsTpCd) {
case 'INDFCS': {
const originHaveThisPcsModules = canvas