public static Dictionary <string, DateTime> QueryLastNotExitIORecord(string parkingId, List <string> plateNumbers) { if (parkingId.IsEmpty()) { throw new ArgumentNullException("parkingId"); } if (plateNumbers.Count == 0) { throw new ArgumentNullException("plateNumbers"); } IParkIORecord factory = ParkIORecordFactory.GetFactory(); return(factory.QueryLastNotExitIORecord(parkingId, plateNumbers)); }