From c3460480caf1cc3c778e70f28a562bc42dce5d41 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 31 May 2017 17:28:57 +0200 Subject: [PATCH] Adding windows CAN signals. These signals is not the reals ones. Change-Id: I5f30fcab09f22488a8085f44eb22a97b67214339 Signed-off-by: Romain Forlot --- .../binding/application-generated.cpp | 78 +++++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/CAN-binder/low-can-binding/binding/application-generated.cpp b/CAN-binder/low-can-binding/binding/application-generated.cpp index 318dd768..487e7b56 100644 --- a/CAN-binder/low-can-binding/binding/application-generated.cpp +++ b/CAN-binder/low-can-binding/binding/application-generated.cpp @@ -220,7 +220,83 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry - }, // end can_message_definition vector +, {std::make_shared(can_message_definition_t{"hs",0x799,can_message_format_t::STANDARD,frequency_clock_t(1.00000f),true, + { // beginning can_signals vector + {std::make_shared (can_signal_t{ + "windows.front_left.open", + 46, + 1, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::booleanDecoder, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "windows.front_right.open", + 47, + 1, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::booleanDecoder, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "windows.rear_left.open", + 54, + 1, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::booleanDecoder, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "windows.rear_right.open", + 53, + 4, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::booleanDecoder, + nullptr, + false + })} + } // end can_signals vector + })} // end can_message_definition entry + }, // end can_message_definition vector { // beginning diagnostic_messages_ vector {std::make_shared(diagnostic_message_t{ 4, -- 2.16.6