Lev Walkin | d357f3d | 2017-08-10 17:40:37 -0700 | [diff] [blame] | 1 | ModuleComponentRelationConstraint { iso org(3) dod(6) internet(1) private(4) |
| 2 | enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 141 } |
| 3 | DEFINITIONS ::= |
| 4 | BEGIN |
| 5 | |
| 6 | Frame ::= SEQUENCE { |
| 7 | ident FRAME-STRUCTURE.&id ({FrameTypes}), |
| 8 | value FRAME-STRUCTURE.&Type ({FrameTypes}{@.ident}), |
| 9 | ... |
| 10 | } |
| 11 | |
| 12 | FRAME-STRUCTURE ::= CLASS { |
| 13 | &id ConstrainedInteger UNIQUE, |
| 14 | &Type ANY |
| 15 | } WITH SYNTAX {&Type IDENTIFIED BY &id} |
| 16 | |
| 17 | -- Information Object Set has 2 entries: |
| 18 | -- [ &id][ &Type] |
| 19 | -- [1] primMessage PrimitiveMessage |
| 20 | -- [2] cplxMessage ComplexMessage |
| 21 | |
| 22 | |
| 23 | ConstrainedInteger ::= INTEGER (0..32767) |
| 24 | |
| 25 | FrameTypes FRAME-STRUCTURE ::= {{ PrimitiveMessage IDENTIFIED BY primMessage } | { ComplexMessage IDENTIFIED BY cplxMessage },...} |
| 26 | -- Information Object Set has 2 entries: |
| 27 | -- [ &id][ &Type] |
| 28 | -- [1] primMessage PrimitiveMessage |
| 29 | -- [2] cplxMessage ComplexMessage |
| 30 | |
| 31 | |
| 32 | PrimitiveMessage ::= SEQUENCE { } |
| 33 | |
| 34 | ComplexMessage ::= SEQUENCE { } |
| 35 | |
| 36 | primMessage INTEGER ::= 1 |
| 37 | |
| 38 | cplxMessage INTEGER ::= 2 |
| 39 | |
| 40 | END |