var type = Convert.ToString([[EventTypeName]]); if(type.Equals("Alarm_RTN")) { return "RTN"; } else { return type; };