fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean

This commit is contained in:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
@@ -0,0 +1,11 @@
package data_collector
// TODO: 数据采集器需要迁移到新的 ent schema
// 暂时保留空实现
// Collector 数据采集器
type Collector struct{}
func NewCollector() *Collector { return &Collector{} }
func (c *Collector) Start() {}
func (c *Collector) Stop() {}
@@ -0,0 +1,9 @@
package data_collector
// TODO: OEE 计算器需要迁移到新的 ent schemaEventLog 替代 MachineStateLog
// 暂时保留空实现
// CalculateOEE 计算 OEE(可用性 × 性能 × 质量)
func CalculateOEE() (float64, error) {
return 0, nil
}