123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // RQYDTQuestionModule.h
- // jiaPei
- //
- // Created by 张嵘 on 2022/3/28.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #pragma mark - Model
- #import "RQYDTExamRuleModel.h"
- #import "RQYDTQuestionModel.h"
- #import "RQYDTPointModel.h"
- #pragma mark - ViewModel
- //#import "RQChooseExLibViewModel.h"
- #pragma mark - Module
- #import "RQExerciseModule.h"
- #import "RQYDTUserQuestionModule.h"
- #define RQ_YDTQuestion_Module [RQYDTQuestionModule sharedInstance]
- NS_ASSUME_NONNULL_BEGIN
- @interface RQYDTQuestionModule : NSObject
- @property (nonatomic, readwrite, assign) RQHomePageCarType carType;
- @property (nonatomic, readwrite, copy) NSString *carTypeStr;
- @property (nonatomic, readwrite, assign) RQHomePageSubjectType subject;
- @property (nonatomic, readwrite, copy) NSString *subjectStr;
- /// 单例
- + (instancetype) sharedInstance;
- /// 更新题库
- - (void)updateDatabaseWithResourcePath:(NSString *)resourcePath;
- - (NSInteger)getQuestionVersion;
- - (NSString *)getSubjectNameWithSubject:(RQHomePageSubjectType)subject;
- - (RQHomePageSubjectType)getSubjectWithSubjectName:(NSString *)subjectName;
- - (RQHomePageCarType)getCarTypeWithCarTypeName:(NSString *)carTypeName;
- - (NSArray *)getQuestionWithExerciseType:(RQExerciseType)exerciseType;
- - (NSArray *)getQuestionWithSubject:(RQHomePageSubjectType)subject exerciseType:(RQExerciseType)exerciseType;
- /// 章节练习
- - (NSArray *)getChapterArr;
- - (NSArray *)getChapterQuestionWithChapterName:(NSString *)chapterName;
- /// 强化练习(考点)
- - (NSArray *)getPoint;
- - (NSArray *)getPointQuestionWithPointID:(NSInteger)pointId;
- - (NSData *)getMediaDataWithMediaName:(NSString *)mediaName;
- - (NSString *)getCarTypeNameWithCarType:(RQHomePageCarType)carType;
- - (NSString *)getCarTypeCNNameWithCarType:(RQHomePageCarType)carType;
- @end
- NS_ASSUME_NONNULL_END
|