mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
adding config for tests
This commit is contained in:
12
tests/include/tests/config.h
Normal file
12
tests/include/tests/config.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
|
||||
struct SingleDetectorConfig {
|
||||
slsDetectorDefs::detectorType type_enum =
|
||||
slsDetectorDefs::detectorType::CHIPTESTBOARD;
|
||||
const std::string hostname = "bchip173";
|
||||
const std::string type_string = "Chiptestboard";
|
||||
const std::string my_ip = "129.129.205.171";
|
||||
};
|
6
tests/include/tests/globals.h
Normal file
6
tests/include/tests/globals.h
Normal file
@ -0,0 +1,6 @@
|
||||
#include "sls_detector_defs.h"
|
||||
using dt = slsDetectorDefs::detectorType;
|
||||
using di = slsDetectorDefs::dacIndex;
|
||||
extern std::string hostname;
|
||||
extern std::string detector_type;
|
||||
extern dt type;
|
Reference in New Issue
Block a user