-
Notifications
You must be signed in to change notification settings - Fork 0
/
A_STATION_DATA.py
117 lines (116 loc) · 2.64 KB
/
A_STATION_DATA.py
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
106
107
108
109
110
111
112
113
114
115
116
# coding=utf-8
class A_Station_Data:
#点号
markername=""
#接收机类型
rctype=""
#天线类型
antype=""
#观测间隔
interval=0
#测站近似坐标
X_Pos=0
Y_Pos=0
Z_Pos=0
#观测值类型
isL1=False
isL2=False
isC1=False
isC2=False
isP1=False
isP2=False
isS1=False
isS2=False
#底下是新加的
isD1=False
isD2=False
isL5=False
isC5=False
isD5=False
isS5=False
#构造函数,好像不需要构造函数
#def __init__(self,x_pos,y_pos,z_pos,isl1,isl2,isc1,isc2,isp1,isp2,iss1,iss2):
# self
def __init__(self):
print("A_STATION_DATA对象已创建")
def getX_Pos(self):
return self.X_Pos
def getY_Pos(self):
return self.Y_Pos
def getZ_Pos(self):
return self.Z_Pos
def setX_Pos(self,x_pos):
self.X_Pos=x_pos
def setY_Pos(self,y_pos):
self.Y_Pos=y_pos
def setZ_Pos(self,z_pos):
self.Z_Pos=z_pos
#######################观测值类型总结三个频点##########################
def is_L1(self):
return self.isL1
def setL1(self,l1):
self.isL1=l1
def is_L2(self):
return self.isL2
def setL2(self,l2):
self.isL2=l2
def is_C1(self):
return self.isC1
def setC1(self,c1):
self.isC1=c1
def is_C2(self):
return self.isC2
def setC2(self,c2):
self.isC2=c2
def is_P1(self):
return self.isP1
def setP1(self,p1):
self.isP1=p1
def is_P2(self):
return self.isP2
def setP2(self,p2):
self.isP2=p2
def is_S1(self):
return self.isS1
def setS1(self,s1):
self.isS1=s1
def is_S2(self):
return self.isS2
def setS2(self,s2):
self.isS2=s2
##########
def is_D1(self):
return self.isD1
def setD1(self,d1):
self.isD1=d1
def is_D2(self):
return self.isD2
def setD2(self,d2):
self.isD2=d2
def is_L5(self):
return self.isL5
def setL5(self,l5):
self.isL5=l5
def is_C5(self):
return self.isC5
def setC5(self,c5):
self.isC5=c5
def is_D5(self):
return self.isD5
def setD5(self,d5):
self.isD5=d5
def is_S5(self):
return self.isS5
def setS5(self,s5):
self.isS5=s5
###############################
def get_interval(self):
return self.interval
def set_interval(self,n):
self.interval=n
def get_rctype(self):
return self.rctype
def get_antype(self):
return self.antype
def get_markername(self):
return self.markername