-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathio_gui.h
168 lines (143 loc) · 3.86 KB
/
io_gui.h
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Header for GUI for file I/Os
//////////////////////////////////////////////////////////////
/////////////// Common Functions
//////////////////////////////////////////////////////////////
gchar *force_to_utf8();
void my_file_chooser_add_filter (GtkWidget *dialog, const gchar *name, ...);
gboolean CheckChildDialog();
gboolean CheckDefDup();
gboolean ow_dialog();
///////////////////////////////////////////////////////////////////
////////// Open File
///////////////////////////////////////////////////////////////////
enum
{
OPEN_FILE_READ_LIST,
OPEN_FILE_READ_LIST_SEIMEI,
OPEN_FILE_MERGE_LIST,
OPEN_FILE_MERGE_LIST_SEIMEI,
OPEN_FILE_MERGE_OPE,
OPEN_FILE_MERGE_OPE_SEIMEI,
OPEN_FILE_UPLOAD_OPE,
OPEN_FILE_UPLOAD_LIST_SEIMEI,
OPEN_FILE_UPLOAD_SCRIPT_SEIMEI,
OPEN_FILE_EDIT_OPE,
OPEN_FILE_READ_HOE,
OPEN_FILE_MERGE_HOE,
OPEN_FILE_READ_NST,
OPEN_FILE_READ_JPL,
OPEN_FILE_CONV_JPL,
OPEN_FILE_LGS_PAM,
NUM_OPEN_FILE
};
void action_read_list();
void action_read_list_seimei();
void action_merge_list();
void action_merge_list_seimei();
void select_list_style();
void do_merge_ope();
void do_upload_ope();
void do_upload_seimei_list();
void do_upload_seimei_script();
void do_open_hoe();
void do_merge_hoe();
void do_name_edit();
void hoe_OpenFile();
void ReadList();
void MergeList();
void MergeListOPE();
void UploadOPE();
void UploadListSeimei();
void UploadScriptSeimei();
///////////////////////////////////////////////////////////////////
////////// Save File
///////////////////////////////////////////////////////////////////
enum
{
SAVE_FILE_BASE_OPE,
SAVE_FILE_PLAN_OPE,
SAVE_FILE_HOE,
SAVE_FILE_SHOE,
SAVE_FILE_SH,
SAVE_FILE_ALL_SH,
SAVE_FILE_PLAN_SH,
SAVE_FILE_TXT_LIST,
SAVE_FILE_TXT_SEIMEI,
SAVE_FILE_PDF_PLOT,
SAVE_FILE_PDF_SKYMON,
SAVE_FILE_PDF_EFS,
SAVE_FILE_PDF_FC,
SAVE_FILE_PDF_FC_ALL,
SAVE_FILE_PLAN_TXT,
SAVE_FILE_PROMS_TXT,
SAVE_FILE_SERVICE_TXT,
SAVE_FILE_IRCS_LGS_TXT,
SAVE_FILE_FCDB_CSV,
SAVE_FILE_TRDB_CSV,
SAVE_FILE_PLAN_YAML,
SAVE_FILE_CONV_JPL,
SAVE_FILE_DOWNLOAD_LOG,
SAVE_FILE_PAM_CSV,
SAVE_FILE_PAM_ALL,
NUM_SAVE_FILE
};
////////// OPE save
void do_save_base_ope();
void do_save_all_sh();
void do_save_plan_ope();
////////// HOE save
void do_save_hoe();
////////// TXT save
void do_save_txt_list();
void do_save_txt_seimei();
////////// PDF save
void do_save_plot_pdf();
void do_save_skymon_pdf();
void do_save_efs_pdf();
void do_save_fc_pdf();
void do_save_fc_pdf_all();
////////// text files
void do_save_plan_txt();
void do_save_proms_txt();
void do_save_service_txt();
////////// CSV files
void do_save_fcdb_csv();
void do_save_trdb_csv();
///////// YAML files
void do_save_plan_yaml();
///////// HDS Obs Log from sumda
void do_download_log();
///////// PAM
void do_save_pam_csv();
void do_save_pam_all();
void hoe_SaveFile();
///////////////////////////////////////////////////////////////////
////////// Non-Sidereal Tracking
///////////////////////////////////////////////////////////////////
void do_open_NST();
void do_open_JPL();
void do_conv_JPL();
gboolean MergeNST();
gboolean MergeJPL();
void ConvJPL();
///////////////////////////////////////////////////////////////////
////////// core procedure of Read/Write HOE file
///////////////////////////////////////////////////////////////////
void WriteHOE();
void ReadHOE_ObjList();
void ReadHOE();
void MergeListHOE();
///////////////////////////////////////////////////////////////////
////////// core procedure of Read/Write Conf (HOME$/.hoe) file
///////////////////////////////////////////////////////////////////
void WriteConf();
void ReadConf();
////////////
void cc_radio_cor();
void cc_radio_epo();
void cc_radio_mag();
void list_set_sample();
void Export_TextList();
void Export_TextSeimei();
void sh_all_save ();
void sh_plan_save ();