液晶标签协议对接!

This commit is contained in:
hehaibing-1996
2024-12-09 19:40:05 +08:00
parent a37918a95d
commit 1c2a34256e
11 changed files with 460 additions and 621 deletions

View File

@ -76,5 +76,44 @@ namespace WCS.WebApi.Controllers
};
}
}
#region API
[Route("reSetAll")]
[HttpPost(Name = "reSetAll")]
public async Task<ResponseBase> reSetAll()
{
try
{
return await _mxl4Service.reSetAll();
}
catch (Exception ex)
{
return new ResponseBase()
{
Code = 300,
Message = "操作失败:" + ex.Message,
};
}
}
[Route("defaultDisplay")]
[HttpPost(Name = "defaultDisplay")]
public async Task<ResponseBase> defaultDisplay()
{
try
{
return await _mxl4Service.defaultDisplay();
}
catch (Exception ex)
{
return new ResponseBase()
{
Code = 300,
Message = "操作失败:" + ex.Message,
};
}
}
#endregion
}
}