| | |
| | | } |
| | | #endregion |
| | | |
| | | #region SGConnectingbits |
| | | private static string _SGConnectingbits = ""; |
| | | private static string SGConnectingbitsList |
| | | { |
| | | get |
| | | { |
| | | if (_SGConnectingbits == "") |
| | | { |
| | | _SGConnectingbits = XmlHelper.GetElementValue("SGConnectingbits"); |
| | | } |
| | | return _SGConnectingbits; |
| | | } |
| | | } |
| | | |
| | | private static List<SGConnectingbitsModel> SGconnectingbits = new List<SGConnectingbitsModel>(); |
| | | public static List<SGConnectingbitsModel> GetDGConnectingbitsList() |
| | | { |
| | | if (SGconnectingbits.Count == 0 && SGConnectingbitsList != "") |
| | | { |
| | | SGconnectingbits = Newtonsoft.Json.JsonConvert.DeserializeObject<List<SGConnectingbitsModel>>(SGConnectingbitsList); |
| | | } |
| | | return SGconnectingbits; |
| | | } |
| | | |
| | | public class SGConnectingbitsModel |
| | | { |
| | | public string locCode { get; set; } |
| | | public int[] agvSite { get; set; } |
| | | public int enable { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region ThirdUrl |
| | | private static string _ThirdUrl = ""; |
| | | private static string ThirdUrlList |