Cap Document
 All Classes Functions Properties
Info.h
1 //
2 // Info.h
3 // CapDocument
4 //
5 // Created by snowdaily on 2014/3/19.
6 // Copyright (c) 2014年 NCDR. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
12 enum InfoProp : NSInteger
13 {
14  LANGUAGE,
15  CATEGORY,
16  EVENT,
17  RESPONSETYPE,
18  URGENCY,
19  SEVERITY,
20  CERTAINTY,
21  AUDIENCE,
22  EVENTCODE,
23  EFFECTIVE,
24  ONSET,
25  EXPIRES,
26  SENDERNAME,
27  HEADLINE,
28  DESCRIPTION,
29  INSTRUCTION,
30  WEB,
31  CONTACT,
32  PARAMETER,
33  RESOURCE,
34  AREA
35 };
36 
37 @interface Info : NSObject
38 
40 @property(strong, nonatomic) NSString *language;
42 @property(strong, nonatomic) NSMutableArray *category; // NSString
44 @property(strong, nonatomic) NSString *event;
46 @property(strong, nonatomic) NSMutableArray *responseType; // NSString
48 @property(strong, nonatomic) NSString *urgency;
50 @property(strong, nonatomic) NSString *severity;
52 @property(strong, nonatomic) NSString *certainty;
54 @property(strong, nonatomic) NSString *audience;
56 @property(strong, nonatomic) NSMutableArray *eventCode; // EventCode
58 @property(strong, nonatomic) NSString *effective;
60 @property(strong, nonatomic) NSString *onset;
62 @property(strong, nonatomic) NSString *expires;
64 @property(strong, nonatomic) NSString *senderName;
66 @property(strong, nonatomic) NSString *headline;
68 @property(strong, nonatomic) NSString *description;
70 @property(strong, nonatomic) NSString *instruction;
72 @property(strong, nonatomic) NSString *web;
74 @property(strong, nonatomic) NSString *contact;
76 @property(strong, nonatomic) NSMutableArray *parameter; // Parameter
78 @property(strong, nonatomic) NSMutableArray *resource; // Resource
80 @property(strong, nonatomic) NSMutableArray *area; // Area
81 
88 -(void)setValue:(enum InfoProp)prop Value:(NSString*)value;
89 
90 -(NSString*)getValue:(enum InfoProp)prop;
91 
92 @end
NSString * instruction
建議採取應變方案
Definition: Info.h:70
NSString * effective
生效日期與時間
Definition: Info.h:58
NSMutableArray * eventCode
事件代碼
Definition: Info.h:56
NSString * urgency
緊急代碼
Definition: Info.h:48
NSString * web
網頁資訊
Definition: Info.h:72
NSMutableArray * parameter
參數傳遞
Definition: Info.h:76
Definition: Info.h:37
NSString * event
事件主題類型描述
Definition: Info.h:44
NSString * certainty
確定代碼
Definition: Info.h:52
NSMutableArray * category
訊息種類
Definition: Info.h:42
NSMutableArray * responseType
應變代碼
Definition: Info.h:46
NSString * description
描述
Definition: Info.h:68
NSMutableArray * resource
Resource.
Definition: Info.h:78
NSString * severity
嚴重代碼
Definition: Info.h:50
NSString * onset
預期影響日期與及時間
Definition: Info.h:60
NSMutableArray * area
Area.
Definition: Info.h:80
NSString * audience
描述可能對象
Definition: Info.h:54
NSString * headline
標題
Definition: Info.h:66
NSString * language
語言代碼
Definition: Info.h:40
NSString * senderName
發送者名稱
Definition: Info.h:64
NSString * contact
聯絡資訊
Definition: Info.h:74
NSString * expires
到期日期與時間
Definition: Info.h:62