public static int GetAreaCarNumWhenTimeseriesUnExit(string areaID, out string ErrorMessage) { if (areaID.IsEmpty()) { throw new ArgumentNullException("areaID"); } IParkIORecord factory = ParkIORecordFactory.GetFactory(); return(factory.GetAreaCarNumWhenTimeseriesUnExit(areaID, out ErrorMessage)); }