update 更新Demo
This commit is contained in:
12
CU/Command.py
Normal file
12
CU/Command.py
Normal file
@ -0,0 +1,12 @@
|
||||
from enum import Enum
|
||||
class Status(Enum):
|
||||
Prepareing = 0
|
||||
Runing = 1
|
||||
End = 2
|
||||
|
||||
|
||||
class Command:
|
||||
def __init__(self):
|
||||
self.status = Status.Prepareing
|
||||
pass
|
||||
|
||||
23
CU/Feeding.py
Normal file
23
CU/Feeding.py
Normal file
@ -0,0 +1,23 @@
|
||||
from Model.Position import Real_Position
|
||||
|
||||
class FeedLine:
|
||||
def __init__(self,safe_position:Real_Position,photo_position:Real_Position,feed_position:Real_Position):
|
||||
self.safe_position = safe_position
|
||||
self.photo_position = photo_position
|
||||
self.feed_position = feed_position
|
||||
|
||||
|
||||
|
||||
class FeedingConfig:
|
||||
def __init__(self, num:int, feedLine:FeedLine):
|
||||
self.num = num
|
||||
self.feedLine = feedLine
|
||||
|
||||
|
||||
def get_line_info(self):
|
||||
pass
|
||||
|
||||
|
||||
class Feeding():
|
||||
def __init__(self,feedingConfig):
|
||||
pass
|
||||
Reference in New Issue
Block a user