private string GetCondition(BenQGuru.eMES.Domain.Alert.AlertBill alert) { if (alert.Operator == Operator_Old.BW) { return(string.Format(_alertConst.GetName(Operator_Old.BW), NumberHelper.TrimZero(alert.LowValue), NumberHelper.TrimZero(alert.UpValue))); } else { return(_alertConst.GetName(alert.Operator) + NumberHelper.TrimZero(alert.LowValue)); } }