| | |
| | | { |
| | | public class RcsServer:IRcsServer |
| | | { |
| | | private readonly object RcsLock = new object(); |
| | | |
| | | private static readonly SqlSugarScope Db = DataContext.Db; |
| | | /// <summary> |
| | | /// RCS叫桶 |
| | |
| | | /// <param name="taskNo"></param> |
| | | /// <exception cref="Exception"></exception> |
| | | public void GetPalletNo(Pallnetmsg model, string url, out string taskNo) |
| | | { |
| | | lock (RcsLock) |
| | | { |
| | | try |
| | | { |
| | |
| | | throw new Exception(ex.Message); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 申请储位 |
| | |
| | | /// <param name="taskNo"></param> |
| | | /// <exception cref="Exception"></exception> |
| | | public void ApplyLocatNo(Pallnetmsg model, string url, out string taskNo) |
| | | { |
| | | lock (RcsLock) |
| | | { |
| | | try |
| | | { |
| | |
| | | throw new Exception(ex.Message); |
| | | } |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 获取空储位 |
| | | /// </summary> |