📄 makehypostalist.java
字号:
package org.trinet.jasi;
/** Make a Hypoinverse #2 format station list for the currently active channels
* in the default dbase. Only returns "HH_", "EH_", "HL_" channels. */
public class MakeHypoStaList {
public MakeHypoStaList() {
}
public static void main (String args[]) {
// System.out.println ("Making connection... ");
DataSource dbase = new DataSource();
// System.out.println (dbase.toString());
//ChannelList list = ChannelList.readCurrentList();
String compList[] = {"HH_", "EH_", "HL_"};
ChannelList list = ChannelList.getByComponent(compList);
Channel ch[] = list.getArray();
for (int i = 0; i< ch.length; i++ ) {
System.out.println (HypoFormat.toH2StationString(ch[i]));
}
} // end of Main
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -