Newer
Older
/**
* @author ETSI / STFS46
* @version $URL: svn+ssh://vcs.etsi.org/TTCN3/LIB/LibIts/trunk/ttcn/V2G/LibItsV2G_TypesAndValues.ttcn $
* $Id: LibItsV2G_TypesAndValues.ttcn 429 2012-03-13 16:11:47Z reinaortega $
* @desc Module containing types and values for V2G application layer protocols
*
*/
module LibItsV2G_TypesAndValues {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibIts
import from iso_15118_2_2010_MsgBody all; //language "XSD" all with {extension "File:V2G_CI_MsgBody.xsd" };
import from iso_15118_2_2010_AppProtocol all;//language "XSD" all with {extension "File:XSD/V2G_CI_AppProtocol.xsd" };
import from iso_15118_2_2010_MsgDataTypes all;//language "XSD" all with {extension "File:XSD/V2G_CI_MsgDataTypes.xsd" };
import from iso_15118_2_2010_MsgDef all;//language "XSD" all with {extension "File:XSD/V2G_CI_MsgDef.xsd" };
import from iso_15118_2_2010_MsgHeader all;//language "XSD" all with {extension "File:XSD/V2G_CI_MsgHeader.xsd" };
import from org_w3_www__2000_09_xmldsig all;//language "XSD" all with {extension "File:XSD/xmldsig-core-schema.xsd" };
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
group v2gPdus {
} // end v2gPdus
group v2gHeaders {
} // end v2gHeaders
group v2gPayload {
} //end v2gPayload
group utPrimitives {
group utCommonPrimitives {
/**
* @desc Upper Tester message to initialize IUT
*/
type union UtInitialize {
UtV2Ginitialize utV2Ginitialize
}
/**
* @desc Upper Tester message describing an action/event
*/
type union UtEvent {
UtV2Gevent utV2Gevent
}
/**
* @desc Upper Tester message to trigger an action on IUT
*/
type record UtTrigger {
UtEvent utEvent
}
/**
* @desc Upper Tester message to check event/status on IUT
*/
type record UtCheck {
UtEvent utEvent
}
/**
* @desc Upper Tester response message
*/
type boolean UtResult;
}
with {
encode "LibItsCommon_TypesAndValues"
}
/**
* @desc Upper Tester message to initialize V2G IUT
*/
type record UtV2Ginitialize {
}
/**
* @desc Upper Tester message generating V2G message
type union UtV2Gevent {
iso_15118_2_2010_MsgDef.V2G_Message.Header v2gHeader,
iso_15118_2_2010_MsgDef.V2G_Message.Body v2gBody
}
} // end utPrimitives
}
with {
encode "LibItsV2G_TypesAndValues"
}