mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-14 16:41:20 +01:00
module id instead of serial number
This commit is contained in:
@@ -69,9 +69,12 @@ void init_det(py::module &m) {
|
||||
(Result<int64_t>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getSerialNumber,
|
||||
py::arg() = Positions{})
|
||||
.def("setSerialNumber",
|
||||
(Result<int64_t>(Detector::*)(sls::Positions) const) &
|
||||
Detector::setSerialNumber,
|
||||
.def("getModuleId",
|
||||
(Result<int>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getModuleId,
|
||||
py::arg() = Positions{})
|
||||
.def("setModuleId",
|
||||
(void (Detector::*)(int, sls::Positions)) & Detector::setModuleId,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getReceiverVersion",
|
||||
(Result<int64_t>(Detector::*)(sls::Positions) const) &
|
||||
|
||||
Reference in New Issue
Block a user