diff options
Diffstat (limited to 'trunk-recorder/systems/system_impl.cc')
-rw-r--r-- | trunk-recorder/systems/system_impl.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk-recorder/systems/system_impl.cc b/trunk-recorder/systems/system_impl.cc index ca8dad22..acff168b 100644 --- a/trunk-recorder/systems/system_impl.cc +++ b/trunk-recorder/systems/system_impl.cc @@ -98,6 +98,7 @@ System_impl::System_impl(int sys_num) { d_tps_enabled = false; retune_attempts = 0; message_count = 0; + decode_rate = 0; } void System_impl::set_xor_mask(unsigned long sys_id, unsigned long wacn, unsigned long nac) { @@ -368,6 +369,15 @@ int System_impl::get_message_count() { void System_impl::set_message_count(int count) { message_count = count; } + +void System_impl::set_decode_rate(int rate) { + decode_rate = rate; +} + +int System_impl::get_decode_rate() { + return decode_rate; +} + void System_impl::add_control_channel(double control_channel) { if (control_channels.size() == 0) { control_channels.push_back(control_channel); |