public JArray GetPrjCode(string clientCode, string engNum) { var result = ExtApi.GetResponse(ExtApiType.Prj, new List<string> { clientCode, engNum }); if (result == null) return null; return JArray.FromObject(result); }
public JArray GetDCSServer(string prjCode) { dynamic result = null; if (string.IsNullOrWhiteSpace(prjCode)) result = ExtApi.GetResponse(ExtApiType.DcsAll, new List<string> { }); else result = ExtApi.GetResponse(ExtApiType.Dcs, new List<string> { prjCode }); if (result == null) return null; return JArray.FromObject(result); }