From 49a177598902683ea538de64848499911f4f25b9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 19 四月 2026 19:25:35 +0800
Subject: [PATCH] refactor(RobotState): 将 RobotStateManager 从 Redis 改为依赖数据库仓储 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/FakeBatteryPositionService.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/FakeBatteryPositionService.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/FakeBatteryPositionService.cs
index 7016216..83715df 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/FakeBatteryPositionService.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/FakeBatteryPositionService.cs
@@ -33,6 +33,12 @@
}
/// <inheritdoc/>
+ public bool MarkAsAvailable(List<int> positions)
+ {
+ return BaseDal.MarkAsAvailable(positions);
+ }
+
+ /// <inheritdoc/>
public int? GetPositionIndex(int row, int col)
{
return BaseDal.GetPositionIndex(row, col);
--
Gitblit v1.9.3