mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-02-05 15:18:45 +00:00
26 lines
760 B
C++
26 lines
760 B
C++
/**
|
|
* namespace for the signal names
|
|
* in case /interfaces/signal_identifier.h
|
|
* exists, use the file, otherwise define the namespace
|
|
*/
|
|
#ifndef SIGNAL_NAMES_H
|
|
#define SIGNAL_NAMES_H
|
|
|
|
#ifdef __has_include
|
|
#if __has_include("../interfaces/signal_identifier.h")
|
|
#include "../interfaces/signal_identifier.h"
|
|
#else
|
|
|
|
namespace trunk
|
|
{
|
|
// Data Dispatch Service signal names to dbc variable names C-type RX/TX vss name space
|
|
static std::string dsVehicleSpeed = "CAN_Input.Speed"; ///< bool RX Vehicle.Speed
|
|
static std::string dsTrunk = "CAN_Output.OpenTrunk"; ///< bool TX Vehicle.Body.Trunk
|
|
} // trunk
|
|
|
|
#endif
|
|
#endif
|
|
|
|
#endif // SIGNAL_NAMES_H
|
|
|