RepairUnReceiptInfo.m 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // RepairUnReceiptInfo.m
  3. // IBOSS
  4. //
  5. // Created by guan hong hou on 16/4/15.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
  7. //
  8. //功能描述:维修未回执处理类
  9. #import "RepairUnReceiptInfo.h"
  10. #import "RepairUnReceiptModel.h"
  11. #import "RepairUnReceiptFrame.h"
  12. @implementation RepairUnReceiptInfo
  13. #pragma 公有函数
  14. /**
  15. 初始化
  16. @return <#return value description#>
  17. */
  18. - (id)init
  19. {
  20. self = [super init];
  21. if(self){
  22. _unRepairInfoArr = [[NSMutableArray alloc]init];
  23. }
  24. return self;
  25. }
  26. /**
  27. 解析维修未回执数组
  28. @param arr <#arr description#>
  29. */
  30. - (void)parseUnRepairInfoArr:(NSMutableArray *)arr
  31. {
  32. if(arr != nil)
  33. {
  34. [_unRepairInfoArr removeAllObjects];
  35. for(int i=0;i<arr.count;i++)
  36. {
  37. RepairUnReceiptModel *model = [RepairUnReceiptModel dk_modelWithDictionary:arr[i]];
  38. RepairUnReceiptFrame *listFrame = [RepairUnReceiptFrame new];
  39. [listFrame setUnRepairFrame:model];
  40. [_unRepairInfoArr addObject:listFrame];
  41. }
  42. }
  43. }
  44. @end