~ubuntu-branches/ubuntu/wily/flrig/wily

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/TS590S.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-10-25 11:17:10 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20141025111710-n32skgya3l9u1brw
Tags: 1.3.17-1
* New upstream release (Closes: #761839)
* Debian Standards-Version: 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _TS590S_H
2
 
#define _TS590S_H
3
 
 
4
 
#include "rigbase.h"
5
 
 
6
 
class RIG_TS590S : public rigbase {
7
 
private:
8
 
        bool notch_on;
9
 
        int  preamp_level;
10
 
        int  att_level;
11
 
        int  nb_level;
12
 
        int  noise_reduction_level;
13
 
        bool data_mode;
14
 
        int  active_mode;
15
 
        int  active_bandwidth;
16
 
        bool rxtxa;
17
 
public:
18
 
enum TS590MODES { LSB, USB, CW, FM, AM, FSK, CWR, FSKR, LSBD, USBD, FMD };
19
 
        RIG_TS590S();
20
 
        ~RIG_TS590S(){}
21
 
        
22
 
        void initialize();
23
 
        void shutdown();
24
 
 
25
 
        long get_vfoA();
26
 
        void set_vfoA(long);
27
 
        long get_vfoB();
28
 
        void set_vfoB(long);
29
 
 
30
 
        int  get_modetype(int n);
31
 
        void set_modeA(int val);
32
 
        int  get_modeA();
33
 
        void set_modeB(int val);
34
 
        int  get_modeB();
35
 
 
36
 
        int  adjust_bandwidth(int val);
37
 
        int  def_bandwidth(int val);
38
 
        int  set_widths(int val);
39
 
        void set_active_bandwidth();
40
 
        int  get_active_bandwidth();
41
 
        void set_bwA(int val);
42
 
        int  get_bwA();
43
 
        void set_bwB(int val);
44
 
        int  get_bwB();
45
 
 
46
 
        void selectA();
47
 
        void selectB();
48
 
 
49
 
        bool can_split() { return true;}
50
 
        void set_split(bool val);
51
 
        int  get_split();
52
 
        bool twovfos() {return true;}
53
 
 
54
 
        int  get_smeter();
55
 
        int  get_swr();
56
 
        int  get_alc();
57
 
        int  get_power_out();
58
 
        int  get_power_control();
59
 
        void set_volume_control(int val);
60
 
        int  get_volume_control();
61
 
        void set_power_control(double val);
62
 
        void set_PTT_control(int val);
63
 
        void tune_rig();
64
 
        void set_attenuator(int val);
65
 
        int  get_attenuator();
66
 
        void set_preamp(int val);
67
 
        int  get_preamp();
68
 
 
69
 
        void set_if_shift(int val);
70
 
        bool get_if_shift(int &val);
71
 
        void get_if_min_max_step(int &min, int &max, int &step);
72
 
 
73
 
        void set_noise(bool b);
74
 
        void set_mic_gain(int val);
75
 
        int  get_mic_gain();
76
 
        void get_mic_min_max_step(int &min, int &max, int &step);
77
 
 
78
 
        void set_squelch(int val);
79
 
        int  get_squelch();
80
 
        void get_squelch_min_max_step(int &min, int &max, int &step);
81
 
 
82
 
        void set_rf_gain(int val);
83
 
        int  get_rf_gain();
84
 
        void get_rf_min_max_step(int &min, int &max, int &step);
85
 
 
86
 
        void set_noise_reduction_val(int val);
87
 
        int  get_noise_reduction_val();
88
 
        void set_noise_reduction(int val);
89
 
        int  get_noise_reduction();
90
 
        void get_nr_min_max_step(int &min, int &max, int &step) {
91
 
                min = 1; max = 10; step = 1; }  
92
 
 
93
 
        void set_notch(bool on, int val);
94
 
        bool get_notch(int &val);
95
 
        void get_notch_min_max_step(int &min, int &max, int &step);
96
 
 
97
 
        void set_auto_notch(int v);
98
 
        int  get_auto_notch();
99
 
 
100
 
        bool sendTScommand(string, int, bool);
101
 
 
102
 
        const char **bwtable(int);
103
 
        const char **lotable(int);
104
 
        const char **hitable(int);
105
 
 
106
 
        const char * get_bwname_(int bw, int md);
107
 
 
108
 
};
109
 
 
110
 
 
111
 
#endif