public static decimal GetWeightDifferencePercent() { decimal ret = 0; decimal.TryParse(WSWmsHelper.LoadConfiguration(CONF_WEIGHT_DIFFERENCE_PERCENT_SECTION, CONF_WEIGHT_DIFFERENCE_PERCENT) , out ret); return(ret); }
static string WriteToWS(string deviceId, string message) { string retString = string.Empty; try { WSWmsHelper.WriteDeviceLog(deviceId, message); } catch (Exception ex) { retString = ex.Message; } return(retString); }