update 点位传递深度拷贝

This commit is contained in:
FrankCV2048
2024-12-15 13:01:37 +08:00
parent 45a9b18a96
commit f78f3e59b5
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import copy
import logging
import time
@ -61,7 +62,7 @@ class FeedPosition:
class FeedLine:
def __init__(self, id, name, feed_positions:list):
self.feed_positions = feed_positions
self.feed_positions = copy.deepcopy(feed_positions)
self.feeding2end_pos_index = 0
self.origin2start_pos_index = 0
self.start2take_pos_index = 0