| /////////////////////////////////////////////////////////////////////////////// |
| // // |
| // Copyright (c) 2000-2019 Ericsson Telecom AB // |
| // // |
| // All rights reserved. This program and the accompanying materials // |
| // are made available under the terms of the Eclipse Public License v2.0 // |
| // which accompanies this distribution, and is available at // |
| // https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| /////////////////////////////////////////////////////////// |
| // Module: EPTF_CLL_StatCaptureUI_Definitions |
| // |
| // Purpose: |
| // This module contains common type definitions for StatCaptureUI |
| // |
| // Module Parameters: |
| // tsp_EPTF_StatCaptureUI_loggingComponentMask - *charstring* - component-type mask for logging, default value: "EPTF_StatCaptureUI" |
| // |
| // Current Owner: |
| // Zsolt Szalai (EZSOSZA) |
| // |
| // Last Review Date: |
| // 2008-02-15 |
| // |
| // Detailed Comments: |
| // This module contains common type definitions that should be used in all Statistics Capture Controlling Components. |
| // |
| /////////////////////////////////////////////////////////////// |
| |
| module EPTF_CLL_StatCaptureUI_Definitions { |
| |
| import from EPTF_CLL_StatCapture_Definitions all; |
| import from EPTF_CLL_StatCaptureControl_Definitions all; |
| import from EPTF_CLL_StatMeasure_Definitions all; |
| import from EPTF_CLL_UIHandlerVariableUI_Definitions all; |
| import from EPTF_CLL_UIHandler_Definitions all; |
| import from EPTF_CLL_Logging_Definitions all; |
| import from EPTF_CLL_LoggingUI_Definitions all; |
| |
| modulepar charstring tsp_StatCaptureUI_tabparent := "EPTF_Main_Tabbox"; |
| |
| modulepar charstring tsp_EPTF_StatCaptureUI_loggingComponentMask := "EPTF_StatCaptureUI"; |
| |
| const charstring c_StatCaptureUI_TabId := "StatCaptureUI_TabId"; |
| const charstring c_StatCaptureUI_deffilenameId := "StatCaptureUI_Textbox_deffilename_Id"; |
| const charstring c_StatCaptureUI_controlmode := "StatCaptureUI_Textbox_cotrolmode_Id"; |
| const charstring c_StatCaptureUI_tabholder := "StatCaptureUI_Tabholder"; |
| const charstring c_StatCaptureUI_tabpanelholder := "StatCaptureUI_Tabpanelholder"; |
| const charstring c_StatCaptureUI_tableholder := "StatCaptureUI_Tableholder_"; |
| const charstring c_StatCaptureUI_TabpanelhboxId := "StatCaptureUI_TabpanelHbox_Id"; |
| |
| private function f_EPTF_StatCaptureUI_concat(in EPTF_StatCapture_StringList pl_stringlist) return charstring{ |
| var charstring list := ""; |
| for (var integer i:=0;i<sizeof(pl_stringlist);i:=i+1){ |
| list := list & pl_stringlist[i] & "; " |
| } |
| return list; |
| } |
| |
| private function f_EPTF_StatCaptureUI_statType(in EPTF_StatMeasure_statType pl_type) return charstring{ |
| select (pl_type){ |
| case (content){ |
| return "content"; |
| } |
| case (delta){ |
| return "delta"; |
| } |
| case (deltaSum){ |
| return "deltasum"; |
| } |
| case (min){ |
| return "min"; |
| } |
| case (max){ |
| return "max"; |
| } |
| case (mean){ |
| return "mean"; |
| } |
| case (standardDev){ |
| return "standardDev"; |
| } |
| case (EPS){ |
| return "EPS"; |
| } |
| case (chrono){ |
| return "chrono"; |
| } |
| case (density){ |
| return "density"; |
| } |
| case else { |
| return ""; |
| } |
| } |
| } |
| |
| private function f_EPTF_StatCaptureUI_capturecontrolmode(in EPTF_StatCaptureControl_CaptureControlMode pl_mode) return charstring{ |
| select(pl_mode){ |
| case(manual){ |
| return "manual"; |
| } |
| case(loadBased){ |
| return "loadBased"; |
| } |
| case(complete){ |
| return "complete"; |
| } |
| case else { |
| return ""; |
| } |
| } |
| } |
| |
| type component EPTF_StatCaptureUI_CT extends EPTF_StatCapture_CT, EPTF_UIHandler_VariableUI_CT, EPTF_LoggingUIClient_CT { |
| private var boolean v_StatCaptureUI_initialized := false; |
| private var EPTF_UIHandler_CT v_StatCaptureUI_UIHandler; |
| |
| // logging |
| private var integer v_StatCaptureUI_loggingMaskId := c_EPTF_Logging_invalidMaskId; |
| |
| } |
| |
| } |