23 lines
460 B
C
23 lines
460 B
C
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
#define CONTROL_VERSION_MAJOR 1
|
|
#define CONTROL_VERSION_MINOR 0
|
|
#define CONTROL_VERSION_PATCH 0
|
|
|
|
#define CONTROL_VERSION_STRING "1.0.0"
|
|
|
|
inline const char* GetControlVersion() {
|
|
return CONTROL_VERSION_STRING;
|
|
}
|
|
|
|
inline const char* GetControlFullVersion() {
|
|
return "主控程序_v" CONTROL_VERSION_STRING;
|
|
}
|
|
|
|
inline const char* GetControlVersionOnly() {
|
|
return "v" CONTROL_VERSION_STRING;
|
|
}
|
|
|
|
#endif // VERSION_H
|