From f78f3e59b5995f7bf2205f8653560876178382e6 Mon Sep 17 00:00:00 2001 From: FrankCV2048 <1395405735@qq.com> Date: Sun, 15 Dec 2024 13:01:37 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=82=B9=E4=BD=8D=E4=BC=A0=E9=80=92?= =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E6=8B=B7=E8=B4=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CU/Feeding.py | 3 ++- Seting.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CU/Feeding.py b/CU/Feeding.py index 1ccd29f..04cc66b 100644 --- a/CU/Feeding.py +++ b/CU/Feeding.py @@ -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 diff --git a/Seting.ini b/Seting.ini index cdbad51..1253dcc 100644 --- a/Seting.ini +++ b/Seting.ini @@ -47,7 +47,7 @@ photo_v5 = 0.0 photo_w5 = 1.0 linecount = 2 remain_linename = 1 -remain_count = 0 +remain_count = 12 io_take_addr = 8 io_zip_addr = 11 io_shake_addr = 12