feat: 新增收集式校验错误弹窗及工位报警语音播报
新增 ErrorListDialog 组件用于统一展示结构化校验错误信息,实现报错一次收全;新增工位报警语音播报功能,通过浏览器 SpeechSynthesis 播放本工位相关报警;调整物料类别及序列号字段文案,移除「其他」类别;新增工单实际开始字段及采集方式配置;优化 AGV 及 PlcSend 页签刷新逻辑;新增看板物料追溯及工位报警接口;删除 PLC 强制写 M 位及相关测试代码;同步数据库字段注释及补丁。
This commit is contained in:
@@ -3,6 +3,7 @@ package svc
|
||||
import (
|
||||
"io/fs"
|
||||
|
||||
"bj_power_workstation/internal/alertstream"
|
||||
"bj_power_workstation/internal/config"
|
||||
"bj_power_workstation/internal/mes"
|
||||
"bj_power_workstation/internal/pdfcache"
|
||||
@@ -13,11 +14,12 @@ import (
|
||||
|
||||
// ServiceContext 服务上下文:配置 + 本地存储 + MES 客户端 + 同步器 + PDF 缓存 + 前端静态资源 + 拧紧枪 OP 接入
|
||||
type ServiceContext struct {
|
||||
Config config.Config
|
||||
Store *store.Store
|
||||
Mes *mes.Client
|
||||
Syncer *syncer.Syncer
|
||||
PdfCache *pdfcache.Cache
|
||||
WebFS fs.FS // go:embed 的 web/static 子文件系统
|
||||
Tightening *tightening.Manager
|
||||
Config config.Config
|
||||
Store *store.Store
|
||||
Mes *mes.Client
|
||||
Syncer *syncer.Syncer
|
||||
PdfCache *pdfcache.Cache
|
||||
WebFS fs.FS // go:embed 的 web/static 子文件系统
|
||||
Tightening *tightening.Manager
|
||||
AlertStream *alertstream.Manager // 工位报警事件流(SSE 事件驱动播报)
|
||||
}
|
||||
Reference in New Issue
Block a user