2024-03-04 16:22:40 +08:00
|
|
|
#ifndef CONSTANT_H
|
|
|
|
#define CONSTANT_H
|
|
|
|
|
|
|
|
class Constant {
|
|
|
|
public:
|
|
|
|
Constant() { }
|
|
|
|
enum RecordMode {
|
|
|
|
NoChannelRecord,
|
|
|
|
OneChannelRecord,
|
|
|
|
TwoChannelRecord
|
|
|
|
};
|
|
|
|
|
|
|
|
enum PlaybackMode {
|
|
|
|
OneChannelPlayback = 1,
|
|
|
|
TwoChannelPlayback = 2
|
|
|
|
};
|
|
|
|
static constexpr char* LogPath = "/opt/RecordControlApplication/logs/log.txt";
|
|
|
|
static constexpr char* ConfigurationPath = "/opt/RecordControlApplication/configuration/config.json";
|
|
|
|
static constexpr char* NetConfigPath = "/opt/RecordControlApplication/configuration/net.json";
|
|
|
|
static constexpr char* NetScriptPath = "/opt/RecordControlApplication/scripts/setNetwork.sh";
|
|
|
|
static constexpr char* VideoPath = "/root/usb/videos";
|
|
|
|
static constexpr char* MountedPath = "/root/usb";
|
|
|
|
static constexpr char* ErrorImagePath = "/opt/RecordControlApplication/images/error.jpeg";
|
|
|
|
static constexpr char* EmptyImagePath = "/opt/RecordControlApplication/images/empty.jpeg";
|
2024-05-07 15:06:36 +08:00
|
|
|
static constexpr char* FinishImagePath = "/opt/RecordControlApplication/images/finish.jpeg";
|
2024-03-04 16:22:40 +08:00
|
|
|
static constexpr char* MainChannel = "HDMI-A";
|
|
|
|
static constexpr char* SecondaryChannel = "HDMI-B";
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONSTANT_H
|