根据元素设备信息、产品信息,组装 DeviceModel ,提供定制补偿数据
More...
#import <ThingSmartDeviceModelPatch.h>
根据元素设备信息、产品信息,组装 DeviceModel ,提供定制补偿数据
Definition at line 37 of file ThingSmartDeviceModelPatch.h.
◆ addPatcher: [1/4]
◆ addPatcher: [2/4]
◆ addPatcher: [3/4]
◆ addPatcher: [4/4]
◆ buildDeviceModelWithDeviceMapList:productMapList:patchType:checkProductVer:customBlock: [1/4]
| + (nullable NSArray< ThingSmartDeviceModel * > *) buildDeviceModelWithDeviceMapList: |
|
(nullable NSArray< NSDictionary * > *) |
deviceList |
| productMapList: |
|
(nullable NSArray< NSDictionary * > *) |
productList |
| patchType: |
|
(ThingSmartDeviceModelPatchType) |
patchType |
| checkProductVer: |
|
(BOOL) |
checkProductVer |
| customBlock: |
|
(void(^)(NSDictionary *srcDeviceMap, NSDictionary *srcDroductmap, NSMutableDictionary *newDeviceMap)) |
customBlock |
|
|
| |
构建 DeviceModel,逐个调用补偿器的 patchDeviceModelMapList: 和 patchProductModelMapList:,然后转化模型后再逐个调用补偿器的 patchDeviceModel:
- Parameters:
- deviceList: 原始设备模型
- productList: 原始产品模型
- checkProductVer: 是否需要校验设备模型和产品模型里的版本
- customBlock: 个性化数据补偿
◆ buildDeviceModelWithDeviceMapList:productMapList:patchType:checkProductVer:customBlock: [2/4]
| + (nullable NSArray< ThingSmartDeviceModel * > *) buildDeviceModelWithDeviceMapList: |
|
(nullable NSArray< NSDictionary * > *) |
deviceList |
| productMapList: |
|
(nullable NSArray< NSDictionary * > *) |
productList |
| patchType: |
|
(ThingSmartDeviceModelPatchType) |
patchType |
| checkProductVer: |
|
(BOOL) |
checkProductVer |
| customBlock: |
|
(void(^)(NSDictionary *srcDeviceMap, NSDictionary *srcDroductmap, NSMutableDictionary *newDeviceMap)) |
customBlock |
|
|
| |
构建 DeviceModel,逐个调用补偿器的 patchDeviceModelMapList: 和 patchProductModelMapList:,然后转化模型后再逐个调用补偿器的 patchDeviceModel:
- Parameters:
- deviceList: 原始设备模型
- productList: 原始产品模型
- checkProductVer: 是否需要校验设备模型和产品模型里的版本
- customBlock: 个性化数据补偿
◆ buildDeviceModelWithDeviceMapList:productMapList:patchType:checkProductVer:customBlock: [3/4]
| + (nullable NSArray< ThingSmartDeviceModel * > *) buildDeviceModelWithDeviceMapList: |
|
(nullable NSArray< NSDictionary * > *) |
deviceList |
| productMapList: |
|
(nullable NSArray< NSDictionary * > *) |
productList |
| patchType: |
|
(ThingSmartDeviceModelPatchType) |
patchType |
| checkProductVer: |
|
(BOOL) |
checkProductVer |
| customBlock: |
|
(void(^)(NSDictionary *srcDeviceMap, NSDictionary *srcDroductmap, NSMutableDictionary *newDeviceMap)) |
customBlock |
|
|
| |
构建 DeviceModel,逐个调用补偿器的 patchDeviceModelMapList: 和 patchProductModelMapList:,然后转化模型后再逐个调用补偿器的 patchDeviceModel:
- Parameters:
- deviceList: 原始设备模型
- productList: 原始产品模型
- checkProductVer: 是否需要校验设备模型和产品模型里的版本
- customBlock: 个性化数据补偿
◆ buildDeviceModelWithDeviceMapList:productMapList:patchType:checkProductVer:customBlock: [4/4]
| + (nullable NSArray< ThingSmartDeviceModel * > *) buildDeviceModelWithDeviceMapList: |
|
(nullable NSArray< NSDictionary * > *) |
deviceList |
| productMapList: |
|
(nullable NSArray< NSDictionary * > *) |
productList |
| patchType: |
|
(ThingSmartDeviceModelPatchType) |
patchType |
| checkProductVer: |
|
(BOOL) |
checkProductVer |
| customBlock: |
|
(void(^)(NSDictionary *srcDeviceMap, NSDictionary *srcDroductmap, NSMutableDictionary *newDeviceMap)) |
customBlock |
|
|
| |
构建 DeviceModel,逐个调用补偿器的 patchDeviceModelMapList: 和 patchProductModelMapList:,然后转化模型后再逐个调用补偿器的 patchDeviceModel:
- Parameters:
- deviceList: 原始设备模型
- productList: 原始产品模型
- checkProductVer: 是否需要校验设备模型和产品模型里的版本
- customBlock: 个性化数据补偿
◆ removePatcher: [1/4]
◆ removePatcher: [2/4]
◆ removePatcher: [3/4]
◆ removePatcher: [4/4]
◆ shareInstance [1/4]
| + (instancetype) shareInstance |
|
|
|
◆ shareInstance [2/4]
| + (instancetype) shareInstance |
|
|
|
◆ shareInstance [3/4]
| + (instancetype) shareInstance |
|
|
|
◆ shareInstance [4/4]
| + (instancetype) shareInstance |
|
|
|
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartDeviceModelPatch.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartDeviceModelPatch.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64/ThingSmartDeviceKit.framework/Headers/ThingSmartDeviceModelPatch.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartDeviceKit.framework/Headers/ThingSmartDeviceModelPatch.h