⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ewchannel.java

📁 一个用java写的地震分析软件(无源码)
💻 JAVA
字号:

// *** PACKAGE NAME *** \
package org.trinet.jasi.EW;


// *** IMPORTS *** \
import java.util.*;
import java.sql.Connection;
import org.trinet.jasi.EW.SQL.EWSQLStatement;

// individual SQL calls
import org.trinet.jasi.EW.SQL.GetStationListStatement;
import org.trinet.jasi.EW.SQL.GetComponentInfoStatement;

/**
 * <!-- Class Description>
 *
 *
 * Created:  2002/06/21
 *
 * @author   ew_oci2java Tool / DK
 * @version  0.99
 **/



public class EWChannel
{


  // *** CLASS ATTRIBUTES *** \
  public long idChan; // Description
  public long idComp; // Description
  public String sSta; // Description
  public String sComp; // Description
  public String sNet; // Description
  public String sLoc; // Description
  public float dAzm; // Description
  public float dDip; // Description
  public double dLat; // Description
  public double dLon; // Description
  public double dElev; // Description
  public int tReqTime; // Description


  public long idCompT; // Description


  // *** CLASS SQL STATEMENTS *** \
  EWSQLStatement es1;
  EWSQLStatement es2;


  // *** CONSTRUCTORS *** \
  public EWChannel()
  {
    es1 = new GetStationListStatement(org.trinet.jasi.DataSource.getConnection());
    es2 = new GetComponentInfoStatement(org.trinet.jasi.DataSource.getConnection());
  }


  // *** CLASS METHODS *** \
  public void SetConnection(Connection IN_conn)
  {
    es1.SetConnection(IN_conn);
    es2.SetConnection(IN_conn);
  }


  public Vector ReadList()
  {
    Vector ResultList = new Vector();
     int    iRetCode;

    es1.CallQueryStatement((Object)this, ResultList);
    return(ResultList);
  }  // end EWChannel:ReadList()


  public EWChannel Read()
  {

    if(es2.CallStatement((Object)this))
      return(this);
    else
      return(null);
  }  // end EWChannel:Read()

}  // end class EWChannel

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -