mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Add ValueCAN 4 Industrial
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef __VALUECAN4INDUSTRIAL_H_
|
||||
#define __VALUECAN4INDUSTRIAL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "icsneo/device/tree/valuecan4/valuecan4.h"
|
||||
#include "icsneo/device/tree/valuecan4/settings/valuecan4industrialsettings.h"
|
||||
|
||||
namespace icsneo {
|
||||
|
||||
class ValueCAN4Industrial : public ValueCAN4 {
|
||||
public:
|
||||
// Serial numbers start with IV for Industrial
|
||||
static constexpr DeviceType::Enum DEVICE_TYPE = DeviceType::VCAN4_IND;
|
||||
static constexpr const char* SERIAL_START = "IV";
|
||||
|
||||
protected:
|
||||
ValueCAN4Industrial(neodevice_t neodevice) : ValueCAN4(neodevice) {
|
||||
getWritableNeoDevice().type = DEVICE_TYPE;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user