public static string GetBaseInfoByBarCode(string barCode, string accessToKen) { if (Instrument == null) { Instrument = new InstrumentWCFServices(); Instrument.Url = ToolsLib.Utility.WebUtils.GetSettingsValue("InstrumentUrl"); } return(Instrument.GetBaseInfoByBarCode(barCode, accessToKen)); }
static InstrumentProvider() { Instrument = new InstrumentWCFServices(); Instrument.Url = ToolsLib.Utility.WebUtils.GetSettingsValue("InstrumentUrl"); }