aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Mod2.asn
blob: cc22c6f13c39030c3b8f2ef84edd72e7aa493b6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Mod2 DEFINITIONS AUTOMATIC TAGS ::=

BEGIN

IMPORTS
    Stat,Country
    FROM Mod3
    L
    FROM Mod1
    Time,LocName,ThingName,Name
    FROM Mod4;
    
T ::= SEQUENCE {
  unit ENUMERATED{celsius,fahrenheit,kelvin},
  degree INTEGER,
  location L,
  time  Time,
  statistics Stat
}

OtherName ::= SEQUENCE {
  locationName LocName,
  thingName    ThingName
}

FirstName ::= CHOICE {
  firstname    PrintableString,
  nickname     PrintableString
}

FamilyName ::= SEQUENCE{
  prefix  ENUMERATED{none,von,af},
  secondname PrintableString
}

Lang ::= SEQUENCE{
  l PrintableString}

Inhabitant ::= SEQUENCE {
  name Name,
  country Country}

END