Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1493678
file_util.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
3 KB
Referenced Files
None
Subscribers
None
file_util.h
View Options
/*
* file_util.h
*
* Created on: 22.05.2018
* Author: edwin
*
* This file contains constant definitions for different file names, which are
* used as input files.
*/
#ifndef FILE_UTIL_H_
#define FILE_UTIL_H_
#include
"config.h"
#include
<iostream>
#include
<string>
//defines to swtich the file-configurations applied in file file_util.h
//#define CASE_WR_NEUSTADT 1
//#define CASE_OMV 1
//#define CASE_OPEL 1
//define WINDOWS_OS 1
#define CASE_OMV_20170107 1
#ifdef CASE_WR_NEUSTADT
//information related to the csv data files
//definitions for measurements from Wr. Neustadt.
const
std
::
string
PATH_TO_CSV_DATA_FILES
=
"./data_csv/Messungen_Wr_Neustadt"
;
const
std
::
string
PATH_TO_DATE_OF_MEASUREMENT
=
"/2018_05_23"
;
const
std
::
string
PATH_TO_AN_MEASURMENT
=
"/20180523_normal_SS_closed_SB_open/"
;
const
std
::
string
FILE_NAME_VOLTAGE
=
"Voltage.csv"
;
const
std
::
string
FILE_NAME_TEMP_1
=
"Temp1.csv"
;
const
std
::
string
FILE_NAME_TEMP_2
=
"Temp2.csv"
;
const
std
::
string
FILE_NAME_SHARKY_S
=
"SharkyS.csv"
;
const
std
::
string
FILE_NAME_SHARKY_B
=
"SharkyB.csv"
;
const
std
::
string
FILE_NAME_RIELS
=
"Riels.csv"
;
const
std
::
string
FILE_NAME_DYNA
=
"Dyna.csv"
;
#elif CASE_OMV
//information related to the csv data files
//definitions for measurements from Wr. Neustadt.
const
std
::
string
PATH_TO_CSV_DATA_FILES
=
"../../messdaten/data_csv/OMV"
;
//settings for file B960428-Jun-2018 09-15-21.csv
//const std::string PATH_TO_DATE_OF_MEASUREMENT = "/2017_12_18";
//const std::string PATH_TO_AN_MEASURMENT = "/";
//extendend data with 30 minutes more than in file "B960425-Jun-2018 09-45-01.csv"
//const std::string FILE_NAME_OF_ENTIRE_DATA = "B960428-Jun-2018 09-15-21.csv";
//const std::string FILE_NAME_OF_ENTIRE_DATA = "B960425-Jun-2018 09-45-01.csv";
//settings for file 2017_01_07__05_46_fc6504.csv
const
std
::
string
PATH_TO_DATE_OF_MEASUREMENT
=
"/2017_01_07"
;
const
std
::
string
PATH_TO_AN_MEASURMENT
=
"/"
;
const
std
::
string
FILE_NAME_OF_ENTIRE_DATA
=
"2017_01_07__05_46_fc6504.csv"
;
#elif CASE_OMV_20170107
#ifndef INPUT_FILE_PATH
const
std
::
string
PATH_TO_CSV_DATA_FILES
=
"../../tests"
;
const
std
::
string
PATH_TO_DATE_OF_MEASUREMENT
=
"/2017_01_07"
;
#else
const
std
::
string
PATH_TO_CSV_DATA_FILES
=
INPUT_FILE_PATH
;
const
std
::
string
PATH_TO_DATE_OF_MEASUREMENT
=
""
;
#endif
//settings for file 2017_01_07__05_46_fc6504.csv
const
std
::
string
PATH_TO_AN_MEASURMENT
=
"/"
;
#ifndef INPUT_FILE_NAME
const
std
::
string
FILE_NAME_OF_ENTIRE_DATA
=
"2017_01_07__05_46_fc6504.csv"
;
#else
const
std
::
string
FILE_NAME_OF_ENTIRE_DATA
=
INPUT_FILE_NAME
;
#endif
const
std
::
string
output_directory_name
=
"../../tests/out/"
;
//definitions for motor measurements
const
std
::
string
FOLDERNAME_NORMAL_OPERATION
=
"/Normal_operation-Tm0/"
;
#elif CASE_OPEL
const
std
::
string
PATH_TO_CSV_DATA_FILES
=
"./data_csv/Opel"
;
const
std
::
string
PATH_TO_DATE_OF_MEASUREMENT
=
""
;
//for Draft Messergeb OP90_decimalPoint.csv
//const std::string PATH_TO_AN_MEASURMENT = "/";
//for "GA_daten_200_samples.csv"
//const std::string PATH_TO_AN_MEASURMENT = "/Ga_daten/";
//for "Ga_all_Symmetrie_Combined_25000_to_30000.csv"
const
std
::
string
PATH_TO_AN_MEASURMENT
=
"/Ga_daten_with_Symmetrie/"
;
//entire data set
//const std::string FILE_NAME_OF_ENTIRE_DATA = "Draft Messergeb OP90_decimalPoint.csv";
//only 200 data points beginning of row 8450 and only Ga data for 200 values.
//const std::string FILE_NAME_OF_ENTIRE_DATA = "GA_daten_200_samples.csv";
//for data combination o all ga data with the symmetrie column and from data point 25000 to 30000
const
std
::
string
FILE_NAME_OF_ENTIRE_DATA
=
"Ga_all_Symmetrie_Combined_25000_to_30000.csv"
;
const
std
::
string
output_directory_name
=
"../../init me correctly/"
;
#endif
#endif
/* FILE_UTIL_H_ */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Mar 1, 5:52 PM (8 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
287648
Default Alt Text
file_util.h (3 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment