public static List <ParkOrder> GetOrderByStatus(DateTime startTime, DateTime endtime, int status, out string ErrorMessage) { IParkOrder factory = ParkOrderFactory.GetFactory(); return(factory.GetOrderByStatus(startTime, endtime, status, out ErrorMessage)); }