using Entity.Api.Req;
using HybirdFrameworkCore.Entity;
using Microsoft.AspNetCore.Mvc;
namespace WebStarter.Controllers;
///
/// 充电大屏
///
[ApiController]
[Route("api/[controller]")]
public class ChargeMonitorController
{
/////
///// 充电仓查询:条件:仓位编号 仓位名称
/////
//[HttpPost("ChargePositionQuery")]
//public void ChargePositionQuery([FromBody] ChargePositionQueryReq chargePositionQueryReq)
//{
// //TODO:: 返回充电仓信息
//}
///
/// 充电仓 0:禁用 1:启用
///
///
///
[HttpPost("SetChargingBinStatus/{binNo}/{status}")]
public async Task> ChargingBinDisable(int binNo,int status)
{
return Result.Success(1);
}
///
/// 电池移仓
///
/// 取仓号
/// 放仓号
///
[HttpGet("BatteryRelocation")]
public async Task> BatteryRelocation(ushort removeBinNo, ushort putBinNo)
{
return Result.Success();
}
///
/// 移仓时下拉项 仓位电池状态
///
[HttpGet("GetChargeBinOption")]
public Result GetChargeBinOption()
{
return Result.Success();
}
}