source: trunk/ETSI-Testsuites/ETSI_auto_IOT/ttcn/LibUpperTester/LibUpperTester.ttcn @ 32

Last change on this file since 32 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/*
2 *      @author         STF 370
3 *  @version    $Id$
4 *      @desc           xxx
5 */
6module LibUpperTester {
7        import from LibCommon_VerdictControl {type FncRetCode;}
8        import from LibIot_TypesAndValues {type Status;}
9
10        // TODO - move to common lib
11        /*type record Status {
12                FncRetCode code, charstring reason optional
13        }*/
14// TODO commented out due to problems with tools not accepting 'extends' from several components
15  /**
16         * @desc
17         *     This component type is used to trigger, stimualte, configure etc any
18         *     equipment related to the test, i.e., EUTs or other, or the
19         *     interconnecting network. To be used as PTC.
20         */
21//      type component EquipmentUser {
22//              port EquipmentAccessPort eaPort;
23//              timer T_Equipment;
24//      }
25
26        group equipmentOperationTypes {
27
28                type record of charstring ParameterList;
29
30                type charstring EquipmentCommand;
31
32                type record EquipmentOperationReq {
33                        EquipmentCommand cmd, ParameterList params optional
34                }
35
36                type record EquipmentOperationRsp {
37                        Status status
38                }
39        }
40       
41        group equipmentOperationTemplates {
42               
43                template EquipmentOperationReq m_EQ_Request(in EquipmentCommand p_cmd, ParameterList p_params) := {
44                        cmd := p_cmd,
45                        params := p_params
46                }
47               
48                template EquipmentOperationRsp mw_EO_Response(in template FncRetCode p_code) := {
49                        status := {
50                                code := p_code,
51                                reason := *
52                        }
53                }
54        }
55
56       
57}
Note: See TracBrowser for help on using the repository browser.