updated output_items json

This commit is contained in:
Jonas Zeunert
2018-11-23 16:08:46 +01:00
parent 5a3665a4cc
commit f483a327b8
2 changed files with 61 additions and 7 deletions

View File

@@ -149,11 +149,65 @@
],
"lamps" :
{
},
[
{
"address" : 0,
"name" : "Special 100000 points"
}
],
"solenoids" :
{
}
[
{ // todo is this solenoid?
"address" : 68,
"name" : "Flipper Relay"
},
{
"address" : 88,
"name" : "Out Hole"
},
{
"address" : 91,
"name" : "Bottom Right Pop"
},
{ // todo
"address" : 100,
"name" : "Top Flipper Relay"
},
{
"address" : 101,
"name" : "Right Kicker"
},
{
"address" : 103,
"name" : "Top Central Bank"
},
{
"address" : 104,
"name" : "Coin Mechanism Coil"
},
{
"address" : 105,
"name" : "Top Left Pop"
},
{
"address" : 106,
"name" : "Bottom Right Bank"
},
{
"address" : 107,
"name" : "Bottom Left Bank"
},
{
"address" : 108,
"name" : "Knocker"
},
{
"address" : 109,
"name" : "Right Flap"
},
{
"address" : 110,
"name" : "Left Flap"
}
]
}

View File

@@ -30,7 +30,7 @@ public:
OutputDriver(std::map<std::string, std::shared_ptr<items::ISolenoid>> solenoids, std::map<std::string, std::shared_ptr<items::ILamp>> lamps, std::map<char, std::shared_ptr<items::IDisplay>> displays, std::map<std::string, std::shared_ptr<items::ISound>> sounds);
virtual ~OutputDriver() = default;
// todo what is flipper_relay ?
std::vector<std::shared_ptr<items::ILamp>> get_lamps();
std::vector<std::shared_ptr<items::ISolenoid>> get_solenoids();
std::vector<std::shared_ptr<items::ISound>> get_sounds();