修改数据格式和双面板优化
This commit is contained in:
@@ -28,6 +28,7 @@ class MachineConfig:
|
||||
class OptResult:
|
||||
def __init__(self):
|
||||
self.part = []
|
||||
self.layer = []
|
||||
self.cycle = []
|
||||
self.slot = []
|
||||
self.point = []
|
||||
@@ -35,6 +36,7 @@ class OptResult:
|
||||
|
||||
def __add__(self, other):
|
||||
self.part.extend(other.part)
|
||||
self.layer.extend(other.layer)
|
||||
self.cycle.extend(other.cycle)
|
||||
self.slot.extend(other.slot)
|
||||
self.point.extend(other.point)
|
||||
|
||||
Reference in New Issue
Block a user