-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathIRigStateNative.cs
105 lines (67 loc) · 2.19 KB
/
IRigStateNative.cs
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
//
// RigStateNative.cs
//
// Author:
// Jae Stutzman <jaebird@gmail.com>
//
// Copyright (c) 2016 Jae Stutzman
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace HamLibSharp
{
// TODO: Primary interest is to get the vfo_list and mode_list. Everything else untested.
internal interface IRigStateNative
{
HamLibPortNative[] Ptt_dcd_ports { get; }
double Vfo_comp { get; }
int Itu_region { get; }
FrequencyRange[] Rx_range_list { get; }
FrequencyRange[] Tx_range_list { get; }
IList<IModeValue> Tuning_steps { get; }
IList<IModeValue> Filters { get; }
CalibrationTable Str_cal { get; }
IList<IChannelList> Chan_list { get; }
int Max_rit { get; }
int Max_xit { get; }
int Max_ifshift { get; }
RigAnnounce Announces { get; }
int[] Preamp { get; }
int[] Attenuator { get; }
uint Has_get_func { get; }
uint Has_set_func { get; }
uint Has_get_level { get; }
uint Has_set_level { get; }
uint Has_get_parm { get; }
uint Has_set_parm { get; }
Granularity[] Level_gran { get; }
Granularity[] Parm_gran { get; }
int Hold_decode { get; }
int Current_vfo { get; }
int Vfo_list { get; }
int Comm_state { get; }
IntPtr Priv { get; }
IntPtr Obj { get; }
int Transceive { get; }
int Poll_interval { get; }
double Current_freq { get; }
RigMode Current_mode { get; }
int Current_width { get; }
int Tx_vfo { get; }
RigMode Mode_list { get; }
}
}