blob: 4d03b4f53ed9dff62827c351707c0f63fc50a8ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// SPDX-License-Identifier: BSD-3-Clause
#ifndef INVERTER_TOOLS_P18_DEFINES_H
#define INVERTER_TOOLS_P18_DEFINES_H
#include <map>
#include <string>
#include <array>
#include "types.h"
namespace p18 {
extern const std::map<CommandType, std::string> raw_commands;
extern const std::array<int, 5> ac_output_voltages;
extern const std::array<float, 8> bat_ac_recharge_voltages_12v;
extern const std::array<float, 8> bat_ac_recharge_voltages_24v;
extern const std::array<float, 8> bat_ac_recharge_voltages_48v;
extern const std::array<float, 12> bat_ac_redischarge_voltages_12v;
extern const std::array<float, 12> bat_ac_redischarge_voltages_24v;
extern const std::array<float, 12> bat_ac_redischarge_voltages_48v;
extern const std::map<int, std::string> fault_codes;
extern const std::array<Flag, 9> flags;
}
#endif //INVERTER_TOOLS_P18_DEFINES_H
|