液晶标签协议对接!
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user