public static ParkEvent AddEventRec(ParkEvent mode, out string ErrorMessage) { if (mode == null) { throw new ArgumentNullException("mode"); } IParkEvent factory = ParkEventFactory.GetFactory(); return(factory.AddEventRec(mode, out ErrorMessage)); }
public static List <ParkEvent> GetEventRecWhitPageTab(string parkingID, int pageSize, int pageIndex, string carTypeID, string carModelid, string operatorID, string gateID, int eventID, DateTime startTime, DateTime endTime, int iostate, string likePlateNumber, out int pageCount) { IParkEvent factory = ParkEventFactory.GetFactory(); return(factory.GetEventRecWhitPageTab(parkingID, pageSize, pageIndex, carTypeID, carModelid, operatorID, gateID, eventID, startTime, endTime, iostate, likePlateNumber, out pageCount)); }
public static List <ParkEvent> GetEventRecYC(DateTime startTime, DateTime endtime) { IParkEvent factory = ParkEventFactory.GetFactory(); return(factory.GetEventRecYC(startTime, endtime)); }