| | |
| | | using Dapper; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | |
| | | try |
| | | { |
| | | list.Clear(); |
| | | mes = SeachEncode.EncodingSeach("1036"); //生成单号 |
| | | mes = SeachEncode.EncodingSeach("1027"); //生成单号 |
| | | if (mes.code == "300") |
| | | { |
| | | return mes; |
| | | } |
| | | else |
| | | { |
| | | djwo = mes.data.GetType().GetProperty("Encode").GetValue(mes.data, null).ToString(); //获取单号 |
| | | List<string> wo = (List<string>)mes.data; |
| | | djwo = wo[0].ToString(); //获取单号 |
| | | |
| | | } |
| | | if (json == null || json.children.Count <= 0) |
| | | { |
| | |
| | | try |
| | | { |
| | | list.Clear(); |
| | | mes = SeachEncode.EncodingSeach("1037"); //生成单号 |
| | | mes = SeachEncode.EncodingSeach("1028"); //生成单号 |
| | | if (mes.code == "300") |
| | | { |
| | | return mes; |
| | |
| | | return mes; |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[测试安灯呼叫] |
| | | public static ToMessage AppDeviceAnDengCallSave(string eqpcode) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | #endregion |
| | | } |
| | | } |