blob: 53249a3cf96bc5c7d87ed7f7a471bc05daf96ad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { IntegerParams, Integer, IntegerJson } from "./Integer";
import { typeStore } from "./TypeStore";
export type EnumeratedParams = IntegerParams;
export type EnumeratedJson = IntegerJson;
export class Enumerated extends Integer {
static {
typeStore.Enumerated = this;
}
public static override NAME = "ENUMERATED";
constructor(parameters: EnumeratedParams = {}) {
super(parameters);
this.idBlock.tagClass = 1; // UNIVERSAL
this.idBlock.tagNumber = 10; // Enumerated
}
}
|