Commit | Line | Data |
---|---|---|
970ed795 | 1 | --///////////////////////////////////////////////////////////////////////////// |
3abe9331 | 2 | -- Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | -- All rights reserved. This program and the accompanying materials |
4 | -- are made available under the terms of the Eclipse Public License v1.0 | |
5 | -- which accompanies this distribution, and is available at | |
6 | -- http://www.eclipse.org/legal/epl-v10.html | |
7 | --///////////////////////////////////////////////////////////////////////////// | |
8 | Test352A | |
9 | DEFINITIONS | |
10 | ||
11 | AUTOMATIC TAGS | |
12 | ||
13 | ::= | |
14 | ||
15 | BEGIN | |
16 | ||
17 | ||
18 | IMPORTS ; -- nothing | |
19 | ||
20 | MySequenceType2 ::= SEQUENCE { | |
21 | field1 INTEGER, | |
22 | field2 BOOLEAN, | |
23 | -- field3 NULL, | |
24 | field4 OCTET STRING, | |
25 | field5 BIT STRING, | |
26 | field6 ENUMERATED {a1,b1,c1} | |
27 | -- field7 REAL NOT SUPP | |
28 | } | |
29 | ||
30 | ||
31 | ||
32 | MySetType2 ::= SET{ | |
33 | field1 INTEGER, | |
34 | field2 BOOLEAN, | |
35 | -- field3 NULL, | |
36 | field4 OCTET STRING, | |
37 | field5 BIT STRING, | |
38 | field6 ENUMERATED {a2,b2,c2} | |
39 | -- field7 REAL NOT SUPP | |
40 | } | |
41 | MyChoiceType2 ::= CHOICE{ | |
42 | field1 INTEGER, | |
43 | field2 BOOLEAN, | |
44 | -- field3 NULL, | |
45 | field4 OCTET STRING, | |
46 | field5 BIT STRING, | |
47 | field6 ENUMERATED {a3,b3,c3} | |
48 | -- field7 REAL NOT SUPP | |
49 | } | |
50 | ||
51 | MySequenceOfType1 ::= SEQUENCE OF INTEGER | |
52 | ||
53 | mySequenceOfValue1A MySequenceOfType1 ::= {3,664,234,-1 ,0} | |
54 | ||
55 | MySequenceOfType2 ::= SEQUENCE OF BIT STRING | |
56 | ||
57 | mySequenceOfValue2A MySequenceOfType2 ::= {'0011'B, '1'B, '00'B} | |
58 | ||
59 | MySequenceOfType3 ::= SEQUENCE OF OCTET STRING | |
60 | ||
61 | mySequenceOfValue3A MySequenceOfType3 ::= {'FFAA'H, '1234'H, '00'H} | |
62 | ||
63 | MySequenceOfType4 ::= SEQUENCE OF BOOLEAN | |
64 | ||
65 | mySequenceOfValue4A MySequenceOfType4 ::= {TRUE, FALSE, TRUE} | |
66 | ||
67 | MySequenceOfType5 ::= SEQUENCE OF MySequenceType2 | |
68 | ||
69 | mySequenceOfValue5A MySequenceOfType5 ::= | |
70 | { | |
71 | { | |
72 | field1 5, | |
73 | field2 TRUE, | |
74 | field4 '1234567890FF'H, | |
75 | field5 '10'B, | |
76 | field6 a1 | |
77 | }, | |
78 | ||
79 | { | |
80 | field1 77, | |
81 | field2 FALSE, | |
82 | field4 '1234AA'H, | |
83 | field5 '01'B, | |
84 | field6 c1 | |
85 | } | |
86 | ||
87 | } | |
88 | ||
89 | ||
90 | MySequenceOfType6 ::= SEQUENCE OF MySetType2 | |
91 | ||
92 | mySequenceOfValue6A MySequenceOfType6 ::= | |
93 | { | |
94 | { | |
95 | field1 5, | |
96 | field4 '1234567890FF'H, | |
97 | field2 TRUE, | |
98 | field5 '10'B, | |
99 | field6 a2 | |
100 | }, | |
101 | ||
102 | { | |
103 | field5 '01'B, | |
104 | field1 77, | |
105 | field2 FALSE, | |
106 | field4 '1234AA'H, | |
107 | field6 c2 | |
108 | } | |
109 | ||
110 | } | |
111 | ||
112 | ||
113 | ||
114 | MySequenceOfType7 ::= SEQUENCE OF MyChoiceType2 | |
115 | ||
116 | mySequenceOfValue7A MySequenceOfType7 ::= | |
117 | { | |
118 | ||
119 | field1 : 5 | |
120 | , | |
121 | ||
122 | ||
123 | field2 : FALSE | |
124 | ||
125 | } | |
126 | ||
127 | END |