feat(linkage): 移动改为任意入口位置选择,仅上卷鞍座触发生产
- 计划新增 position 字段;新增 /plan/{id}/move?position=… 与 /plan/positions/all
- line_service.place_at_position:放到任意位置(位置唯一占用),上卷鞍座单独触发生产联动
- 入口跟踪:新增入口位置图(单一鞍座)显示占位;移动按钮弹出位置选择框
- 计划管理:移动按钮同样弹出位置选择框
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,8 @@ class ProductionPlan(Base):
|
||||
incoming_od = Column(Float, comment="来料外径 mm")
|
||||
split_weights = Column(JSON, comment="分卷重量 [t,...]")
|
||||
|
||||
# 上卷鞍座 / 生产联动
|
||||
# 入口位置 / 上卷鞍座 / 生产联动
|
||||
position = Column(String(30), comment="当前入口位置(上卷小车/称重位/地辊/倒卷小车/上卷鞍座)")
|
||||
on_saddle = Column(Integer, default=0, comment="是否在上卷鞍座 0/1")
|
||||
saddle_at = Column(DateTime, comment="移动到鞍座时间")
|
||||
run_started_at = Column(DateTime, comment="投入生产(有速度)时间")
|
||||
|
||||
Reference in New Issue
Block a user