public static ParkOrder GetCashMoneyCountByPlateNumber(string parkingID, OrderType orderType, string plateNumber, DateTime startTime, DateTime endtime, out string errorMsg) { if (parkingID.IsEmpty()) { throw new ArgumentNullException("parkingID"); } if (plateNumber.IsEmpty()) { throw new ArgumentNullException("plateNumber"); } IParkOrder factory = ParkOrderFactory.GetFactory(); return(factory.GetCashMoneyCountByPlateNumber(parkingID, orderType, plateNumber, startTime, endtime, out errorMsg)); }