mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
WIP
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
#include "sls_detector_defs.h"
|
||||
using dt = slsDetectorDefs::detectorType;
|
||||
using di = slsDetectorDefs::dacIndex;
|
||||
@ -8,4 +9,8 @@ extern std::string hostname;
|
||||
extern std::string detector_type;
|
||||
extern dt type;
|
||||
extern std::string my_ip;
|
||||
extern decltype(defs::GET_ACTION) GET;
|
||||
extern decltype(defs::PUT_ACTION) PUT;
|
||||
|
||||
|
||||
} // namespace test
|
||||
|
@ -18,6 +18,8 @@ std::string hostname;
|
||||
std::string detector_type;
|
||||
std::string my_ip;
|
||||
dt type;
|
||||
auto GET = slsDetectorDefs::GET_ACTION;
|
||||
auto PUT = slsDetectorDefs::PUT_ACTION;
|
||||
} // namespace test
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
Reference in New Issue
Block a user