aboutsummaryrefslogtreecommitdiff
path: root/CSTA/source-files/asn1-source/get-lamp-mode.asn1
blob: 25fff05471b29208e9da297461a2c0b4fd10c1fd (plain)
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
44
45
46
47
48
49
50
CSTA-get-lamp-mode
{ iso( 1) identified-organization( 3) icd-ecma( 12)
	standard( 0) csta3( 285) get-lamp-mode( 266) }

DEFINITIONS ::=
BEGIN

IMPORTS
OPERATION, ERROR FROM Remote-Operations-Information-Objects 
	{joint-iso-itu-t remote-operations(4) informationObjects(5) version1(0) }

-- Data Types --
universalFailure FROM CSTA-error-definition
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) error-definition( 120) }
DeviceID FROM CSTA-device-identifiers
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) device-identifiers( 123) }
CSTACommonArguments FROM CSTA-extension-types
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) extension-types( 129) }
ButtonID, LampID, LampColor, LampMode, LampBrightness 
FROM CSTA-physical-device-feature 
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) physical-device-feature( 137) };

getLampMode OPERATION ::=
{	ARGUMENT 		GetLampModeArgument
	RESULT			GetLampModeResult
	ERRORS			{universalFailure }
	CODE			local: 	266 }

GetLampModeArgument ::= SEQUENCE
{	device 				DeviceID,
	lamp 				LampID					OPTIONAL,
	extensions 			CSTACommonArguments			OPTIONAL }

GetLampModeResult ::= SEQUENCE
{	lampModeList			LampModeList,
	lamp				LampID					OPTIONAL,
	extensions 			CSTACommonArguments			OPTIONAL }

LampModeList ::= SEQUENCE OF SEQUENCE
{	lamp				LampID,
	lampMode			LampMode,
	lampBrightness			[0] IMPLICIT LampBrightness		OPTIONAL,
	lampColor			[1] IMPLICIT LampColor			OPTIONAL,
	button				[2] IMPLICIT ButtonID			OPTIONAL }

END -- of CSTA-get-lamp-mode