CIFLog3二次开发Java接口说明

CIFLog3二次开发Java接口说明

[TOC]

CIFLog3二次开发Java接口说明

程序挂接路径:...\CIFLog\platformResource_CN\appModule
cif包路径:...CIFLog\ciflog\modules\

Java基础数据访问接口

DataServiceBasicIO接口

接口函数 用途
changeCurveDepthRange 修改曲线深度区间
closeCifp 关闭井次文件
copyCuve 同井次间拷贝曲线
copyTable 不同井次间拷贝表格
ereateCip 创建井次文件
ereateCure(categoryID, curveName, arrayNum, arraySize, startDepth, sampleCount, depthLevel, dataType, curveUnit) 创建曲线
createCure(categoryID, curveNane, arayNum, arnySixe, startDeph, sampleCoumu, dephLevel, dataType, curveUnit, isClean-ingData) 创建曲线( 是否初始化曲线数据)
ereateDocunent(int categoryID, String docName, int isOverwriten) 创建空的二进制文档
createDocument(int caltegoryID, String docName, String srcFilPath, int isOverwritten) 创建二进制文档
cretaTable 创建表格
createWell 创建井文件
deleteCurve 删除曲线
dispatchNotifcation 分发数据更新消息
flush 刷新单条曲线缓存数据
flushAll 刷新所有曲线缓存数据
getCategoryDepthUnit 获得井次深度单位
getCurentWorkDir 获取当前工作目录
getCurve1DCount 获得井次文件中一维曲线条数
getCurve1DName 获得指定下标的一维曲线名称
getCuve2DCount 获得井次文件中二维曲线条数
getCurve2DName 获得指定下标的二维曲线名称
getCurve3DCount 获得井次文件中三维曲线条数
getCurve3DName 获得指定下标的三维曲线名称
getCurveArrayNum 获取曲线阵列数
getCurveArraySize 获取曲线阵列大小
getCurveDepthLevel 获取曲线采样间隔
getCurveDepthUnit 获取曲线深度单位
getCurveDimension 获取曲线维数
gelCurveEndDepth 获取曲线结束深度
gelCurveStartDepth 获取曲线开始深度
getCurveUnit 获取曲线单位
getMainProjectPath 获取系统当前主项目目录
getSysIstallationPath 获取系统安装目录
getSysResourcePath 获得系统资源目录
getTableColumnCount 获取表格列数
getTableRowCount 获取表格行数
getWellPropertiesltemValue 获取井次中的井属性
isCategoryExisted 判断井次是否存在
isCurveExisted 断曲线是否存在
openCifp 打开井次文件,获得井次ID号
readCurve1D(categoryID, curveName, startDepth, dataCount, buffer) 读一维曲线数据
readCurve1D(categoryID, curveName, startDepth, depthLevel, dataCount, buffer) 按指定的深度采样间隔读一维曲线数据
readCurve1D(categoryID, curveName, startDepth, upwardCount, downWardCount,buffer) 按前后点方式读一维曲线数据
readCurve2D(categoryID, curveName, startDepth, dataCount, arraySize, buffer) 读二维曲线数据
readCurve2D(categoryID, curveName, startDepth, upwardCount, downWardCount, araySize, buffer) 按前后点方式读二维曲线数据
readCurve3D(categoryID, curveName, arrayIndex, startDepth, dataCount, araySize, buffer) 读三维曲线数据
readCurve3D(categoryID, curveName, arrayIndex, startDepth, upwardCount, downWardCount, arraySize, buffer) 按前后点方式读三维曲线数据
readDocument 读文档保存至本地磁盘上的指定文件中
readTable(int categoryID, String tableName, int rowIndex, float[] buffer) 读表格记录
readTable( int categoryID, String tableName, int rowIndex, String[] buffer) 读表格记录
removeTableAllRecords 删除表格所有记录
setCurveDepthLevel 设置曲线深度采样间隔
setCurveInterpolation 设置曲线插值方式
setWellropertiesItemValue 设置井次中的井属性
spliceFilePath 拼接文件路径
writeCurve1D 写一维曲线数据
writeCurve2D 写二维曲线数据
writeCurve3D 写三维曲线数据
writeDocument 写二进制文档
writeTable(int categoryID, String tableName, int rowIndex, float[] buffer) 写表格记录
writeTable(int categoryID, String tableName, int rowIndex, String[] buffer) 写表格记录

DataServiceAssistIO接口

接口函数 用途
getCategoryCount 获取井次个数
getCalegoryName 获取井次名称
getLogCurveCount 获取曲线个数
getLogCurveName 获取曲线名称
getLogDocCount 获取文档个数
getLogDocName 获取文档名称
getLogTableCount 获取表格个数
getLogTableName 获取表格名称
getWellCount 获取井个数
getWellName 获取井名称
getWorkSpaceCount 获取工区个数
getWorkSpaceName 获取工区名称
openDataSource 打开数据源,获取数据源ID号

DataServiceIntegratedIO接口

接口函数 用途
dataChangedNotification 分发更新数据消息
flushData 刷新缓存中的数据
getDEP 获取当前曲线数据的输人深度
getDEPO 获取当前曲线数据的输出深度
getEDEP 获取当前处理层段的结束深度
getENDEP 获取处理井段的结束深度
getErrorMessage 获取错误信息
getInDataCount 获取一次读人的数据个数
getInputCategoryDepthUnit 获得处理井文件的深度单位
getInputCurveValue(int index, double startDepth, int dataCount, float[] values) 获取指定曲线的处理层段所有值, cifsun接口使用
getInputCurveValues(double currentDep, float[] values) 读入当前深度,点的每条输入曲线值
getOutDataCount 获取一次写人的数据个数
getParameterValues 获取当前处理层段的参数
getRLEV 获取处理井段的采样间隔
getRLEVO 获得输出曲线处理井段的采样间隔
getRedirectionInputCurveName 获得重定向输人曲线名称
getRedirectionOutputCurveName 获得重定向输出曲线名称
getSDEP 获取当前处理层段的起始深度
getSTDEP 获取处理井段的起始深度
readInpFile 解析参数卡片
setCifpPath 设置处理cifp文件路径
setInArrayCurve 设置输人的阵列曲线
setInpFilePath 设置参数卡片的路径
setInputCurveNames 设置初始的输人曲线名
setInterpolation 设置曲线的插值方式
setNextDepthRangeDepths 设置下一个处理层段相关值,到达处理层段末尾时不处理
setOutArrayCurve 设置输出的阵列曲线
setOuputCifpPath 设置输出cifp文件
setOutputCurveNames 设置初始的输出曲线名
setOutputCurveUnit 设置输出曲线单位
setOutputCurveValues 写人当前深度点的每条输出曲线值
setOutputDepthLevel 设置输出曲线处理层段的采样间隔
setParameterNames 设置初始的处理参数名
setZero 创建新曲线时是否将曲线值初始化为零

符合函数使用示例

计算POR

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
import cif.dataservice.io.*;

public class POR extends JavaBaseTemplate {
//{ { variableDefination
private float AC;//输人曲线
private float DTma = 0;//处理参数
private float DTf = 0;//处理参数
private float B = 0;//处理参数
private float Flag = 0;//处理参数
private float POR;//输出曲线
//} } variableDefination .
float[] inValues;//一次读 人的输人曲线数据
float[] outValues;//- -次写出的输出曲线数据

public void inhead() {
//{ { initDefination
NAMEI = new String[]{" AC"};//输人曲线名称列表
NAMEC = new String[]{" DTma", "DTf", " B", " Flag"};//处理参数名称列表
NAMEO = new String[]{" POR"};//输出曲线名称列表
params = new float[4];//- -次读人的所有处理参数值
//} } initDefination
}

public boolean process(String[] args) {
inhead();//程序初始化
//读入输人曲线或输出曲线的重定向,确定处理井段
boolean returmCode = parame(args[0], arygs[1]);
if (!retunCode) {
return false;
}
while (DEP <= ENDEP) {//循环主体
if (DEP >= EDEP) {
vparame();
}//转换下一层段参数
indata();//读DEP深度点上的输人曲线数据
//以下为用户算法
//{ { userCodes
switch ((int) Flag) {
case 1:
POR = (AC - DTma) / (DTf - DTma);
break;
case 2:
POR = 1 - (float) Math.pow(DTma / AC, 1 / B);
break;
default:
POR = (AC - DTma) / (DTf - DTma);
break;
}
if (POR < 0) POR = 0;
//} } userCodes
//以上为用户算法
outdata();//写DEPO深度点上的输出曲线数据
}
outhead();//发送数据更新消息并关闭数据文件
return returnCode;
}

//打开数据文件及参数文件,读人要重定向的输人曲线或输出曲线及参数卡
private boolean parame(String wellPath, String inpFilePath) {
if (!baseParame(wellPath, inpFilePath)) {
return false;
}
inValues = new float[indataCount];
outValues = new float[outdataCount]; .
//Get the parameters of the first disposal layer
//{ {functionParame
io.getParameterValues(params);
DTma = params[0];
DTf = params[1];
B = params[2];
Flag = params[3];
//} } functionParame
return true;
//读人下一井段处理参数
}

private boolean vparame() {
if (!baseVParame()) {
return false;
}
//Get the parameters of the next disposal layer
//{ {functionVParame
io.getParameterV alues (params);
DTma = params[0];
DTf = params[1];
B = params[2];
Flag = params[3];
//} } functionVParame
return true;
//读人由DEP指定的曲线数据
}

private void indata() {
DEP = RLEV * depIndex + SDEP;
io.getInputCurveValues(DEP, inValues);
//{ {functionInData
AC = inValues[0];
//}{ }functionInData
depIndex++;
//读人由DEP指定的曲线数据
}

private void outdata() {
DEPO = RLEV * depoIndex + SDEP;
//{ {functionOutData
outValues[0] = POR;
//}{ }functionOutData
io.setOutputCurveValues(DEPO, outValues);
depoIndex++;
}

public static void main(String[] args) {
POR processer = new POR();
if (!processer.process(args)) {
System.out.print("处理失败!");
return;
}
System.out.print("处理完毕!");
}
}

多维曲线读写

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
import cif.dataservice.io.*;

public class POR extends JavaBaseTemplate {
//{ {variableDefination
private float X3;//输人曲线
private float[] X1 = new float[1 * 500];//输人曲线
private float[] X2 = new float[3 * 500];//输人曲线
private float Y3;//输出曲线
private float[] Y1 = new float[1 * 500];//输出曲线
private float[] Y2 = new float[3 * 500];//输出曲线
//} } variableDefination
float[] inValues;//- -次读人的输人曲线数据
float[] outValues;//- -次写出的输出曲线数据

public void inhead() {
//{ { initDefination
NAMEI = new String[]{"X1", "X2", "X3"};//输入曲线名称列表
NAMEC = new String[]{};//处理参数名称列表
NAMEO = new String[]{"Y1", " Y2", "Y3"};//输出曲线名称列表
params = new float[0];//-次读人的所有处理参数值
//} } initDefination
}

public boolean process(String[] args) {
inhead();//程序初始化
boolean returmCode = true;
//{{ processCodes
/*调用PARAME函数之前,设置输人、输出阵列曲线的阵列参数*/
//(X1,1 ,500)表示输人曲线X1为一-阵列大小为500的二维阵列曲线
//(X2 ,3 ,500)表示输人曲线X2为一阵列大小为3 * 500的三维阵列曲线
io.setInArayCurve("X1,1 ,500;X2 ,3 ,500");
//(Y1,1 ,500)表示输出曲线Y1为一-阵列大小为500的二维阵列曲线
//(Y2 ,3 ,500)表示输出曲线Y2为一-阵列大小为3 * 500的三维阵列曲线
io.setOutArrayCurve(" Y1,1 ,500;Y2,3 ,500");
//(Y1,n)表示输出曲线Y1的单位为in.
io.setOutputCurveUnit(" Y1 ,in; Y2, ppm;Y3, %");
//} } processCodes
//读人输人曲线或输出曲线的重定向,确定处理井段
returnCode = parame(args[0], args[1]);
if (!returmCode) {
return false;
}
while (DEP <= ENDEP) {//循环主体
if (DEP >= EDEP) {
vparame();
}//转换下一层段参数
indata();//读DEP深度点上的输人曲线数据
//{ { userCodes
//以下为用户算法
for (int i = 0; i < 500; i++) {
Y1[i] = X1[i];
}
for (int i = 0; i < 3 * 500; i++) {
Y2[i] = X2[i];
}
Y3 = X3;
//以上为用户算法
//} } userCodes
outdata();//写DEPO深度点上的输出曲线数据
}
outhead();//发送数据更新消息并关闭数据文件
return returmCode;
}

//打开数据文件及参数文件,读人要重定向的输人曲线或输出曲线及参数卡
private boolean parame(String wellPath, String inpFilePath) {
if (!baseParame(wellPath, inpFilePath)) {
return false;
}
inValues = new float[indataCount];
outValues = new float[outdataCount];
//{ {functionParame
io.getParameterValues(params);
//} } functionParame
return true;
//读人下一井段处理参数
}

private boolean vparame() {
if (!baseVParame()) {
return false;
}
//Get the parameters of the next disposal layer
//{ {functionVParame
io.getParameterValues(params);
//} } functionVParame
return true;
//读人由DEP指定的曲线数据
}

private void indata() {
DEP = RLEV * depIndex + SDEP;
io.getInputCurveValues(DEP, inValues);
//{ {functionInData
System.arraycopy(inValues, 0, X1, 0, 500);
System.arraycopy(inValues,500, X2, 0, 1500);
X3 = inValues[2000];
//} } functionInData
depIndex++;
//输出由DEPO深度点指定的曲线数据
}

private void outdata() {
DEPO = RLEV * depoIndex + SDEP;
//{ {functionOutData
System.arraycopy(Y1, 0, outValues, 0, 500);
System.arraycopy(Y2, 0, outValues, 500, 1500);
outValues[1000] = Y3;
//} } functionOutData
io.setOutputCurveV alues (DEPO, outValues);
depoIndex++;
}

public static void main(String[] args) {
POR processer = new POR();
if (!processer.process(args)) {
System.out.print("处理失败!");
return;
}
System.out.print("处理完毕!");
}
}

输入曲线、输出曲线来自不同的井次文件

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
import cif.dataservice.io.*;

public class POR extends JavaBaseTemplate {
//{{variableDefination
private float CAL;
private float BITS = 0;
private float CALC;
//} } variableDefination
float[] inValues;//一次读人的输人曲线数据
float[] outValues;//一次写出的输出曲线数据

public void inhead() {
//{ { initDefination
NAMEI = new String[]{"CAL"};//输入曲线名称列表
NAMEC = new String[]{" BITS"};//处理参数名称列表
NAMEO = new String[]{"CALC"};//输出曲线名称列表
params = new float[1];//- -次读入的所有处理参数值
//} } initDefination
}

public boolean process(String[] args) {
inhead();//程序初始化
boolean retunCode = true;
//设置输出曲线来源
io.setOutputCifpPath(args[2]);
//读入输人曲线或输出曲线的重定向,确定处理井段
retumCode = parame(args[0], args[1]);
if (!returmCode) {
return false;
}
while (DEP <= ENDEP) {//循环主体
if (DEP >= EDEP) {
vparame();
}//转换下一层段参数
indata();//读DEP深度点上的输人曲线数据
//{ { userCodes
//以下为用户算法
CALC = CAL - BITS;
//以上为用户算法
//} } userCodes
outdata();//写DEPO深度点上的输出曲线数据
}
outhead();//发送数据更新消息并关闭数据文件
returm returnCode;
}

//打开数据文件及参数文件,读人要重定向的输入曲线或输出曲线及参数卡
private boolean parame(String wellPath, String inpFilePath) {
if (!baseParame(wellPath, inpFilePath)) {
return false;
}
inValues = new float[indataCount];
outValues = new float[outdataCount];
//{ { functionParame
io.getParameterValues(params);
BITS = params[0];
//} } functionParame
return true;
}

//读人下一井段处理参数
private boolean vparame() {
if (!baseVParame()) {
return false;
}
//Get the parameters of the next disposal layer
//{ { functionVParame
io.getParameterValues(params);
BITS = params[0];
//} } functionVParame
return true;
}

//读入由DEP指定的曲线数据
private void indata() {
DEP = RLEV * depIndex + SDEP;
io.getInputCurveValues(DEP, inValues);
// {{ functionInData
CAL = inValues[0];
//} } functionInData
depIndex + +;
}

//输出由DEPO深度点指定的曲线数据
private void outdata() {
DEPO = RLEV * depoIndex + SDEP;
// {{ functionOutData
outValues[0] = CALC;
//} } functionOutData
io.setOutputCurveValues(DEPO, outValues);
depoIndex++;
}

public static void main(String[] args) {
POR processer = new POR();
if (!processer.process(args)) {
System.out.print("处理失败!");
return;
}
System.out.print("处理完毕!");
}
}

设置输入、输出曲线采样间隔

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
import cif.dataservice.io.*;

public class POR extends JavaBaseTemplate {
//{ { variableDefination
private float CAL;
private float BITS = 0;
private float CALC;
//} } variableDefination
float[] inValues;//-次读入的输人曲线数据
float[] outValues;//- -次写出的输出曲线数据

public void inhead() {
// {{ initDefination
NAMEI = new String[]{"CAL"};
NAMEC = new String[]{" BITS"};
NAMEO = new String[]{"CALC"};
params = new float[1];
}

//} } initDefination
public boolean process(String[] args) {
inhead();//程序初始化
boolean retumCode = true;
//设置输入曲线、输出曲线采样间隔
//每次调用INDATA--次,当前深度向下移动0.125
io.setInputDepthLevel(0. 125);
//新建的输出曲线采样间隔统一为0.25
io.setOutputDepthLevel(0. 25);
//读入输入曲线或输出曲线的重定向,确定处理井段
retumCode = parame(args[O], rgs[1]);
if (!returnCode) {
return false;
}
while (DEP <= ENDEP) {//循环主体
if (DEP >= EDEP) {
vparame();
}//转换下一层段参数
indata();//读DEP深度点上的输人曲线数据
//{ {userCodes
//以下为用户算法
CALC = CAL - BITS;
//以上为用户算法
//} } userCodes
outdata();//写DEPO深度点上的输出曲线数据
}
outhead();//发送数据更新消息并关闭数据文件

return returnCode;
}

//打开数据文件及参数文件,读入要重定向的输人曲线或输出曲线及参数卡
private boolean parame(String wellPath, String inpFilePath) {
if (!baseParame(wellPath, inpFilePath)) {
return false;
}
inValues = new float[indataCount];
outValues = new float[outdataCount];
// {{ functionParame
io.getParameterValues(params);
BITS = params[0];
//} } functionParame
return true;
}

//读入下一-井段处理参数
private boolean vparame() {
if (!baseVParame()) {
return false;
}
//Get the parameters of the next disposal layer
//{ { functionVParame
io.getParameterValues(params);
BITS = params[0];
//} } functionVParame
return true;
}

//读人由DEP指定的曲线数据
private void indata() {
DEP = RLEV * depIndex + SDEP;
io.getInputCurveValues(DEP, inValues);
//{ { functionInData
CAL = inValues[0];
//} }functionInData
depIndex++;
}

//输出由DEPO深度点指定的曲线数据
private void outdata() {
DEPO = RLEV * depoIndex + SDEP;
//{ { functionOutData
outValues[0] = CALC;
//} } functionOutData
io.setOutputCurveValues(DEPO, outValues);
depoIndex++;
}

public static void main(String[] args) {
POR processer = new POR();
if (!processer.process(args)) {
System.out.print("处理失败!");
return;
}
System.out.print("处理完毕!");
}
}

基础函数使用示例

曲线读写

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
import cif.dataservice.io.DataServiceBasicIO;

public class Demo {
public static final void main(String[] args) {
String curvelD = "X1";
String curve2D = "X2";
String curve3D = "X3";
float[] buffer = new float[1000];

DataServiceBasicIO io = new DataServiceBasicI0();
//命令行第一个参数为输人井次文件
int id = io.openCifp(args[0]);//打开eifp文件,获得文件ID号
if (id == 0) {
return;
}

//一维曲线读写
int readCount = 0;
int retCode = io.isCurveExisted(id, curve1D);//判断曲线是否存在
if (retCode == 1) {
double startDepth = io.getCurveStartDepth(id, curve1D);//获得曲线起始深度
readCount = io.readCurve1D(id, curve1D, startDepth, 100, buffer);//读曲线值
for (inti = 0; i < readCount; i++) {
buffer[i] = buffer[i] - 100;
}
io.writeCurve1D(id, curve1D, sartDepth, 100, buffer);//写一维曲线值
io.flush(id, curve1D);//刷新缓存数据
}

//二维曲线读写
retCode = io.isCurveExisted(id, curve2D);//判断曲线是否存在
if (retCode == 1) {
double startDepth = io.getCurveStartDepth(id, curve2D);//获得曲线起始深度
int arraySize = io.getCurveArraySize(id, curve2D);//获得曲线阵列大小
//读二维曲线值
readCount = io.readCurve2D(id, curve2D, startDepth, 100, arraySize, buffer);
for (int i = 0; i < readCount * araySize; i++) {
buffer[i] = buffer[i] - 100;
}
io.writeCurve2D(id, curve2D, startDepth, 100, arraySize, buffer);//写二维曲线值
io.flush(id, curve2D);//刷新缓存数据
}

//三维曲线读写
retCode = io.isCurveExisted(id, curve3D);//判断曲线是否存在
if (retCode == 1) {
double startDepth = io.getCurveStartDepth(id, curve3D);//获得曲线起始深度
int arraySize = io.getCurveArraySize(id, curve3D);//获得曲线阵列大小
int arrayNum = io.getCurveArrayNum(id, curve3D);//获得曲线阵列数
for (int j = 0; j < arrayNum; j++) {
//读三维曲线值
readCount = io.readCurve3D(id, curve3D, j, startDepth, 100, arraySize, buffer);
for (int i = 0; i < readCount * arraySize; i++) {
buffer[i] = buffer[i] - 100;
}
//写三维曲线值
io.writeCurve3D(id, curve3D, j, startDepth, 100, arraySize, buffer);
}
io.flush(id, curve3D);//刷新缓存数据
}

io.dispatchNotification();//分发数据更新消息
io.closeCifp(id);//关闭cifp文件
}
}

表格读写

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
import eif.dataservice.io.DataServiceBasicIO;

public class Demo {
public static final void main(String[] args) {
String tableTemplateName = "解释结论";
String tableName1 = " result";
String tableName2 = " result1 ";
DataServiceBasiclO io = new DataServiceBasicIO();
int id = io.openCifp(args[0]);//打开eifp文件,获得文件ID号

if (id <= 0) {
return;
}

int retCode = io.isCurveExisted(id, tableNamel);//判断表格是否存在
if (retCode == 0) {
return;
}

//获得表格行数和列数
int rowCount = io.getTableRowCount(id, tableNamel);
int columnCount = io.getTableColumnCount(id, tableNamel);
retCode = io.createTable(id, tableTemplateName, tableName2, 0);//创建系统表格
if (retCode == 0) {
return;
}

//按照字符串形式统一读写 表格数据循环
String[] buffer = new String[colunnCount];
for (int i = 1; i <= rowCount; i + +) {
retCode = io.readTable(id, tableNamne1, i, bufer);
if (retCode ==1){
io.writeTable(id, tableName2, i, buffer);
}
}
io.dispatchNotification();//分发数据更新消息
io.closeCifp(id);//关闭ceifp 文件
}
}

复合接口与基础接口混用示例

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
import eif.dataservice.io.*;

public class Demo extends JavaBaseTemplate {
//{ { variableDefination
private float CAL;
private float BITS = 0;
private float CALC;
//} } variableDefination
float[] inValues;//- -次读人的输入曲线数据
float[] outValues;//-次写出的输出曲线数据

public void inhead() {
//{ { initDefination
NAMEI = new String[]{"CAL"};//输人曲线名称列表
NAMEC = new String[]{" BITS"};//处理参数名称列表
NAMEO = new String[]{"CALC"};//输出曲线名称列表
params = new float[1];//一次读人的所有处理参数值
//} } initDefination
}

public boolean process(String[] args) {
inhead();//程序初始化
boolean returmCode = true;

//读入输入曲线或输出曲线的重定向,确定处理井段
retumCode = parame(args[0], args[1]);
if (!returmnCode) {
return false;
}

while (DEP <= ENDEP) {// 循环主体
if (DEP >= EDEP) {
vparame();
}//转换下一层段参数
indata();//读DEP深度点上的输人曲线数据
//{ { userCodes
//以下为用户算法
CALC = CAL - BITS;
//以上为用户算法
//} } userCodes
outdata();//写DEPO深度点上的输出曲线数据
}
//基础函数部分
String tableTemplateName = "解释结论";
String tableNamel = " result";
String tableName2 = " result1";
DataServiceBasicIO iol = new DataServiceBasicI0();

int id = iol.openCifp(rgs[0]);//打开eifp文件,获得文件ID号
if (id <= 0) {
return false;
}

int retCode = iol.isCurveExisted(id, tableName1);//判断表格是否存在
if (retCode == 0) {
return false;
}

//获得表格行数和列数
int rowCount = iol.getTableRowCount(id, tableNamel);
int columnCount = iol.getTableColumnCount(d, tableNamel);
retCode = iol.createTable(id, tableTemplateName, tableName2, 0);//创建系统表格
if (retCode == 0) {
return false;
}

//按照字符串形式统-读写表格数据循环
String[] buffer = new String[columnCount];
for (int i = 1; i <= rowCount; i++) {
retCode = iol.readTable(id, tableNamel, i, buffer);
if (retCode == 1) {
iol.writeTable(id, tableName2, i, buffer);
}
}
iol.closeCifp(id);//关闭cifp 文件

outhead();//发送数据更新消息并关闭数据文件
return returnCode;
}

//打开数据文件及参数文件,读人要重定向的输人曲线或输出曲线及参数卡
private boolean parame(String wellPah, String inpFilePath) {
if (!baseParame(wellPath, inpFilePath)) {
return false;
}
inValues = new float[indataCount];
outValues = new float[outdataCount];
// {{ functionParame
io.getParameterValues(params);
BITS = params[0];
//} } functionParame
return true;
}

//读入下一井段处理参数
private boolean vparame() {
if (!baseVParame()) {
return false;
}
//Get the parameters of the next disposal layer
//functionVParame
io.getParameterValues(params);
BITS = params[0];
//!! functionVParame
return true;
}

//读入由 DEP 指定的曲线数据
private void indata() {
DEP = RLEV * depIndex + SDEP;
io.getlnputCurveValues(DEP, inValues);
//!! functionlnData
CAL = inValues[0];
//t! functionlnData
depIndex++;
}

//输出由 DEPO 深度点指定的曲线数据
private void outdata() {
DEPO = RLEV * depolndex + SDEP;
//! f functionOutData
outValues[0] = CALC;
//! functionOutData
io.setOutputCurveValues(DEPO, outValues);
depolndex++;
}

public static void main(String[] args) {
POR processer = new POR();
if (!processer.process(args)) {
System.out.print("处理失败!");
return;
}
System.out.print("处理完毕!");
}
}

二次开发args传参说明

单井

arg[0]:代表当前Cifp文件路径

1
2
3
正在启动进程...
命令:""java" "-classpath" ""D:\CIFLog\platformResource_CN\appModule\单井读取地层表格";"D:\CIFLog\ciflog\modules\cif-base.jar";"D:\CIFLog\ciflog\modules\cif-dataengine.jar";"D:\CIFLog\ciflog\modules\cif-dataservice.jar";"D:\CIFLog\ciflog\modules\cif-baseutil.jar";"D:\CIFLog\ciflog\modules\cif-cifplus.jar";"D:\CIFLog\ciflog\modules\cif-db.jar";"D:\CIFLog\ciflog\modules\cif-resource.jar";"D:\CIFLog\ciflog\modules\cif-libe.jar";"D:\CIFLog\ciflog\modules\org-openide-util.jar";"D:\CIFLog\ciflog\modules\org-openide-util-lookup.jar"" "Read_FM" "CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3580_100082608601W600\3580_100082608601W600_精简" "C:\Users\windows11\.cifPlatform\temp\app_7819482362594584962_单井读取地层表格.inp""
名称:单井读取地层表格

多井

1
命令:""java" "-classpath" ""D:\CIFLog\platformResource_CN\appModule\Read_FM";"D:\CIFLog\ciflog\modules\cif-base.jar";"D:\CIFLog\ciflog\modules\cif-dataengine.jar";"D:\CIFLog\ciflog\modules\cif-dataservice.jar";"D:\CIFLog\ciflog\modules\cif-baseutil.jar";"D:\CIFLog\ciflog\modules\cif-cifplus.jar";"D:\CIFLog\ciflog\modules\cif-resource.jar";"D:\CIFLog\ciflog\modules\cif-libe.jar";"D:\CIFLog\ciflog\modules\org-openide-util-lookup.jar"" "Read_FM" "C:\Users\windows11\.cifPlatform\temp\MW_tmp_wellFilePath.wells" "C:\Users\windows11\.cifPlatform\temp\MW_tmp_paramFilePath.inp""

会在本次生成两个缓存文件

arg[0]代表批处理井的编号的文件,文件内存储多个单井的Cifp文件路径

单井读取表格

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
import cif.dataservice.io.DataServiceBasicIO;
import cif.dataservice.io.DataServiceAssistIO;
import java.util.*;
import java.io.*;

public class Read_FM {
public static final void main(String[] args) throws NoSuchMethodException{
//要读取的表格名称
String tableName1 = "层位";
String tableName2 = "小层";

//创建接口
DataServiceBasicIO io = new DataServiceBasicIO();
DataServiceAssistIO io1 = new DataServiceAssistIO();

//打开井次文件,获取井次ID号
int id = io.openCifp(args[0]);
// System.out.println(id);
//如果没有井次文件,退出程序
if(id <= 0) {
System.out.println("不存在井次");
return;
}

//DataServiceAssistIO接口里getWellName方法的传入参数是什么,public int getWellName(int arg0, String arg1,int arg2)
// System.out.println(io1.getWellName(0, args[0], 0));
//arg[0]代表当前Cifp文件路径
// System.out.println(args[0]);
// System.out.println(args[1]);
// System.out.println(args[2]);

//从args0中提取出井位id
//斜杠划分坐标
String[] split1 = args[0].split(java.util.regex.Matcher.quoteReplacement(File.separator));
// System.out.println(split1[split1.length - 1]);
//当前井序名称
String WellCategoryName = split1[split1.length - 1];
String[] split2 = WellCategoryName.split("_");
String WellId = split2[0];
String WellUWI = split2[1];

//判断表格是否存在
int retCode = io.isCurveExisted(id, tableName1);
if (retCode == 0) {
System.out.println("表格不存在");
return;
}

//获得表格行数和列数
int rowCount = io.getTableRowCount(id, tableName1);
int columnCount = io.getTableColumnCount(id, tableName1);

//按照字符串形式统一读写表 格数据循环
String[] buffer = new String[columnCount];
//一行一行输出
// retCode = io.readTable(id, tableName1, 2, buffer);
// String temp1 = Arrays.toString(buffer);
// System.out.println(temp1);
// System.out.println("--");

for (int i = 1; i <= rowCount; i++) {
retCode = io.readTable(id, tableName1, i, buffer);
//单排输出
//格式:井序名 ID UWI 层位名 层顶 层底
System.out.print(WellCategoryName);
System.out.print('\t');
System.out.print(WellId);
System.out.print('\t');
System.out.print(WellUWI);
System.out.print('\t');
System.out.print(buffer[0]);
System.out.print('\t');
System.out.print(buffer[1]);
System.out.print('\t');
System.out.print(buffer[2]);
System.out.println();
//整个表输出
// String temp = Arrays.toString(buffer);
// System.out.println(temp);
}

io.dispatchNotification();//分发数据更新消息
io.closeCifp(id);//关闭eifp文件
}
}

多井读取表格

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
import cif.dataservice.io.DataServiceBasicIO;
import java.util.*;
import java.io.*;

public class Read_Tables {
public static final void main(String[] args) throws NoSuchMethodException{
//要读取的表格名称
String tableName1 = "层位";
// String tableName1 = "小层";

//args[0]为存放井列表的一个文件地址
// System.out.println(args[0]); //C:\Users\windows11\.cifPlatform\temp\MW_tmp_wellFilePath.wells

//井列表
String wellFilePathAll = "";

//读取文件地址内容
File file = new File(args[0]);
FileReader fileReader = null;
try {
fileReader = new FileReader(file);
char[] charArray = new char[(int) file.length()];
fileReader.read(charArray);
wellFilePathAll = new String(charArray);
// System.out.println(wellFilePathAll);
//CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3536_100062808506W600+\3536_100062808506W600_精简
//CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3571_102040909711W600_缺DT\3571_102040909711W600_精简
//CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3580_100082608601W600\3580_100082608601W600_精简
} catch (IOException e) {
e.printStackTrace();
} finally {
if (fileReader != null) {
try {
fileReader.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}

//处理井列表字符串
//分行
String[] wellFilePathTemp1 = wellFilePathAll.split("\n");
// System.out.println(wellFilePathTemp1[0]); //CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3536_100062808506W600+\3536_100062808506W600_精简
// System.out.println(wellFilePathTemp1[1]); //CIF://F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3571_102040909711W600_缺DT\3571_102040909711W600_精简

//声明井路径字符串数组
String[] wellFilePath = new String[wellFilePathTemp1.length];
//每一行切分然后保存路径
for (int i = 0 ; i < wellFilePathTemp1.length - 1; i++) {
String[] wellFilePathTemp2 = wellFilePathTemp1[i].split("//");
wellFilePath[i] = wellFilePathTemp2[1];
// System.out.println(wellFilePath[i]);
//F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3536_100062808506W600+\3536_100062808506W600_精简
//F:\nextcloudData\No2\WesternCanadaBasinWrokSpaceCiflog1-1\WesternCanadaBasin\东1-可用_垂直\3571_102040909711W600_缺DT\3571_102040909711W600_精简
}


//批处理
for (int i = 0; i < wellFilePath.length-1; i++) {
//创建接口
DataServiceBasicIO io = new DataServiceBasicIO();

//打开井次文件,获取井次ID号
int id = io.openCifp(wellFilePath[i]);
// System.out.println(id);
//如果没有井次文件,退出程序
if(id <= 0) {
System.out.println("不存在井次");
return;
}

//斜杠划分坐标
String[] split1 = wellFilePath[i].split(java.util.regex.Matcher.quoteReplacement(File.separator));
// System.out.println(split1[split1.length - 1]);
//当前井序名称
String WellCategoryName = split1[split1.length - 1];
String[] split2 = WellCategoryName.split("_");
String WellId = split2[0];
String WellUWI = split2[1];

//判断表格是否存在
int retCode = io.isCurveExisted(id, tableName1);
if (retCode == 0) {
System.out.println("表格不存在");
return;
}

//获得表格行数和列数
int rowCount = io.getTableRowCount(id, tableName1);
int columnCount = io.getTableColumnCount(id, tableName1);

//按照字符串形式统一读写表 格数据循环
String[] buffer = new String[columnCount];
//一行一行输出
// retCode = io.readTable(id, tableName1, 2, buffer);
// String temp1 = Arrays.toString(buffer);
// System.out.println(temp1);
// System.out.println("--");

for (int i1 = 1; i1 <= rowCount; i1++) {
retCode = io.readTable(id, tableName1, i1, buffer);
//单排输出
//格式:井序名 ID UWI 层位名 层顶 层底
// System.out.print(WellCategoryName);
// System.out.print('\t');
System.out.print(WellId);
System.out.print('\t');
System.out.print(WellUWI);
System.out.print('\t');
System.out.print(buffer[0]);
System.out.print('\t');
System.out.print(buffer[1]);
System.out.print('\t');
System.out.print(buffer[2]);
System.out.println();
//整个表输出
// String temp = Arrays.toString(buffer);
// System.out.println(temp);
}
buffer = new String[columnCount];

}

}
}

获取API接口参数方法

代码

反射类加载机制读取,无法了解传入参数的解释

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
import cif.dataservice.io.DataServiceBasicIO;
import cif.dataservice.io.DataServiceAssistIO;
import cif.dataservice.io.*;
import java.lang.annotation.*;
import java.lang.reflect.*;

public class HUOQULEI {
public static void main(String[] args) throws Exception {
Class c = Class.forName("cif.dataservice.io.DataServiceBasicIO");
//-------------------获取方法的详细信息
//-------------------测试函数getDeclaredMethods()
Method m[] = c.getDeclaredMethods();

for(int i = 0; i < m.length; i++) {
//--------------------获得方法的名字
System.out.println("getDeclaredMethods()获得的方法的名字是:" + m[i].getName());

//--------------------获得方法参数的类型和有几个参数
Class b[] = m[i].getParameterTypes();//获得所有的参数并且存放到数组B中
for(int j = 0; j < b.length; j++) {
System.out.println("getDeclaredMethods()获得的参数的类型是" + b[j]);
}

//--------------------获得方法返回值的类型
System.out.println("getDeclaredMethods()获得的方法的返回值的类型" + m[i].getReturnType());//获得方法的返回值类型

//--------------------获得方法的修饰符
int mod = m[i].getModifiers();
System.out.println("getDeclaredMethods()获得的方法的修饰符有" + Modifier.toString(mod));

//--------------------获得方法的异常类型
Class e[] = m[i].getExceptionTypes();//获得所有的异常类型存放到数组e中
for(int k = 0; k < e.length; k++){
System.out.println("getDeclaredMethods()获得的方法的异常类型是:" + e[k]);
}

System.out.println("-------------------------------------------------------------------");
}

//-------------------获取方法的详细信息
//-------------------测试函数getMethods()
Method n[] = c.getMethods();

for(int i = 0; i < n.length; i++) {
//--------------------获得方法的名字
System.out.println("getMethods()获得的方法的名字是:" + n[i].getName());

//--------------------获得方法参数的类型和有几个参数
Class b1[] = n[i].getParameterTypes();//获得所有的参数并且存放到数组B中

for(int j = 0; j < b1.length; j++){
System.out.println("getMethods()获得的参数的类型是" + b1[j]);
}

//--------------------获得方法返回值的类型
System.out.println("getMethods()获得的方法的返回值的类型" + n[i].getReturnType());//获得方法的返回值类型

//--------------------获得方法的修饰符
int mod1 = n[i].getModifiers();
System.out.println("getMethods()获得的方法的修饰符有" + Modifier.toString(mod1));

//--------------------获得方法的异常类型
Class e1[] = n[i].getExceptionTypes();//获得所有的异常类型存放到数组e中
for(int k = 0; k < e1.length; k++){
System.out.println("getMethods()获得的方法的异常类型是:" + e1[k]);
}

//--------------------获得方法的注解信息
Parameter[] parameters = n[i].getParameters();
for (Parameter parameter : parameters) {
Class<?> parameterType = parameter.getType();
Annotation[] annotations = parameter.getAnnotations();
for (Annotation annotation : annotations) {
System.out.println("Parameter Annotation: " + annotation);
}
}

//--------------------获得方法的参数名称
for (Parameter parameter : parameters) {
Class<?> parameterType = parameter.getType();
Annotation[] annotations = parameter.getAnnotations();
String parameterName = parameter.getName();
System.out.println("Parameter Name: " + parameterName);
}

System.out.println("-------------------------------------------------------------------");
}
}
}

用注解方式获取:(无法读取包内注解信息,返回空指针异常)

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
169
170
171
172
173
174
175
176
import java.lang.annotation.*;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;

/**
* TODO
*
* @author syl
*/
public class TestReflect {
public static void main(String[] args) {
try {
//获取字节码对象
Class<?> r= Class.forName("cif.dataservice.io.DataServiceAssistIO");
//类操作
//class1(r);

//属性操作
//field(r);


//方法操作
method(r);

//构造方法方法
//constructor(r);
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
}
/**
* 类操作
* @param r
*/
private static void class1(Class<?> r) {
//获取全限定类名
r.getName();
//获取包名
r.getPackage().getName();
//获取类上所有注解
Annotation[] annotations = r.getAnnotations();
//获取类上指定的注解
ClassAnnotation classAnnotation =r.getAnnotation(ClassAnnotation.class);
//注解的全限定类名
String aClass = classAnnotation.annotationType().getName();
//判断是否有指定注解
boolean b = r.isAnnotationPresent(ClassAnnotation.class);
}
/**
* 属性操作
* @param r
*/
private static void field(Class<?> r) {
try {
//获取指定属性
Field id = r.getDeclaredField("id");
//获取属性名
System.out.println(id.getName());
//获取属性类型
System.out.println(id.getType().getName());
} catch (NoSuchFieldException e) {
e.printStackTrace();
}
//获取所有属性
Field[] fields = r.getDeclaredFields();
for (Field field : fields) {
//获取属性上面指定的指定的注解
FieldAnnotation fieldAnnotation = field.getAnnotation(FieldAnnotation.class);
//获取注解属性值
System.out.println(fieldAnnotation.value());
}
}
/**
* 构造方法操作
* @param r
*/
private static void constructor(Class<?> r) {
//获取所有构造方法
Constructor<?>[] constructors = r.getDeclaredConstructors();
for (Constructor<?> constructor : constructors) {
//获取构造方法上面指定的注解
ConstructorAnnotation constructorAnnotation = constructor.getAnnotation(ConstructorAnnotation.class);
//获取注解的属性值
if ("含参构造".equals(constructorAnnotation.value())){
//获取各个参数名
Parameter[] parameters = constructor.getParameters();
for (Parameter parameter : parameters) {
System.out.println(parameter.getName());
}
//获取各个参数类型
Class<?>[] parameterTypes = constructor.getParameterTypes();
for (Class<?> parameterType : parameterTypes) {
System.out.println(parameterType.getName());
}
//获取参数数量
System.out.println(constructor.getParameterCount());
}
}
}
/**
*方法操作
* @param r
*/
private static void method(Class<?> r) {
//获取所有方法
Method[] methods = r.getDeclaredMethods();
for (Method method : methods) {
//获取方法上指定的注解
MethodAnnotation methodAnnotation = method.getAnnotation(MethodAnnotation.class);
System.out.println(methodAnnotation.value());
//获取方法名
System.out.println(method.getName());
//获取返回值类型
System.out.println(method.getReturnType().getName());
//获取各个形参数名及类型
Parameter[] parameters = method.getParameters();
for (Parameter parameter : parameters) {
System.out.println(parameter.getName());
System.out.println(parameter.getType().getName());
//获取参数的注解
System.out.println(parameter.getAnnotation(ParameterAnnotation.class).value());
}
}
}
}
/**
* 类注解
* @author syl
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@interface ClassAnnotation{
String value() default "";
}

/**
* 属性注解
* @author syl
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@interface FieldAnnotation{
String value() default "";
}

/**
* 方法注解
* @author syl
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@interface MethodAnnotation{
String value() default "";
}

/**
* 构造方法注解
* @author syl
*/
@Target({ElementType.CONSTRUCTOR})
@Retention(RetentionPolicy.RUNTIME)
@interface ConstructorAnnotation{
String value() default "";
}

/**
* 参数注解
* @author syl
*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@interface ParameterAnnotation{
String value() default "";
}

DataServiceAssistIO

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
getDeclaredMethods()获得的方法的名字是:exportTextFileData
getDeclaredMethods()获得的参数的类型是class java.lang.StringBuffer
getDeclaredMethods()获得的参数的类型是class java.io.File
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有privat
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:openLocalDataSource
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getWorkSpaceCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLoggingNameList
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class [Ljava.lang.String;
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCategoryCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getWorkSpaceName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogCurveCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getWellName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogTableCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogTableName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCategoryName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogDocName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLoggingCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogCurveName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLoggingName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getWellCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:openDataSource
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getLogDocCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getID
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getWorkSpaceCount
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCategoryCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getWorkSpaceName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogCurveCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getWellName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogTableCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogTableName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCategoryName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogDocName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogCurveName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getWellCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:openDataSource
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getLogDocCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的参数的类型是long
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的参数的类型是long
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:equals
getMethods()获得的参数的类型是class java.lang.Object
getMethods()获得的方法的返回值的类型boolean
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:toString
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:hashCode
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getClass
getMethods()获得的方法的返回值的类型class java.lang.Class
getMethods()获得的方法的修饰符有public final native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:notify
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:notifyAll
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native

DataServiceBasicIO

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
getDeclaredMethods()获得的方法的名字是:getMainProjectPath
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:exportTextFileData
getDeclaredMethods()获得的参数的类型是class java.lang.StringBuffer
getDeclaredMethods()获得的参数的类型是class java.io.File
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurrentWorkDir
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveDimension
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:changeCurveDepthRange
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:isCategoryExisted
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:isCategoryExisted
getDeclaredMethods()获得的参数的类型是class cif.dataengine.DataPath
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getSysInstallationPath
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getSysResourcePath
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createBulkCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCommonTableName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCategoryDepthUnit
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCommonTableCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveStartDepth
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveDepthLevel
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:setCurveDepthLevel
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:spliceFilePath
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCurveEx
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:closeCifp
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createWell
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCifp
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCifp
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCurve
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是boolean
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCurve
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createCurve
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getWellPropertiesItemValue
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:setWellPropertiesItemValue
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:flush
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getID
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:openCifp
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve3DName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve2DName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeBulkCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [[[F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeBulkCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve1DCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveEndDepth
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveXLevel
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveXCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveXUnit
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.ReadMode
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveYMin
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveYLevel
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveYMax
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveYCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveYUnit
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve3DCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:reacBulkCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:reacBulkCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [[[F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveXMin
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve1DName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.ReadMode
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [S
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurve2DCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:isCurveExisted
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveXMax
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型double
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是float
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [Ljava.lang.String;
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:deleteTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:copyCurve
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveArrayNum
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveUnit
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveProperty
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class cif.dataservice.io.CurveProperty
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getTableRowCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:deleteCurve
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [Ljava.lang.String;
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTable_x
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型float
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:copyTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:flushAll
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getTableColumnCount
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:addWellNotification
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogWell
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:changeCurveDepthLevel
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogCategory
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogCurve
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class cif.dataengine.io.LogCurve
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:setCurveInterpolation
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveTimeSampleLevel
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型float
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveDepthUnit
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCommonTableColumnName
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型class java.lang.String
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:removeTableAllRecords
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:computReadRowCount
getDeclaredMethods()获得的参数的类型是byte
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LoggingProperties
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:addCategoryNotification
getDeclaredMethods()获得的参数的类型是class cif.dataservice.io.ReferCategoryStruct
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCurveArraySize
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:dispatchNotification
getDeclaredMethods()获得的方法的返回值的类型void
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createRemoteCategory
getDeclaredMethods()获得的参数的类型是class cif.dataengine.DataPath
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createLocalCategory
getDeclaredMethods()获得的参数的类型是class cif.dataengine.DataPath
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createDocument
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createDocument
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readDocument
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readDocument
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [B
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeDocument
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [B
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:copyCurveAction
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogCategory
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogCurve
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class cif.dataengine.io.LogCurve
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve_3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve_2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTableData
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [Ljava.lang.String;
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTableData
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeTableData
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.ReadMode
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.ReadMode
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_3D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTableData
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [Ljava.lang.String;
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readTableData
getDeclaredMethods()获得的参数的类型是class cif.dataengine.io.LogTable
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getDocSize
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:buildCurveXD
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的方法的返回值的类型class cif.dataengine.io.CurveXD
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:writeCurve_1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [S
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_2D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:createLocalWell
getDeclaredMethods()获得的参数的类型是class cif.dataengine.DataPath
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:readCurve_1D
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class java.lang.String
getDeclaredMethods()获得的参数的类型是double
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是int
getDeclaredMethods()获得的参数的类型是class [F
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getDeclaredMethods()获得的方法的名字是:getCategoryID
getDeclaredMethods()获得的参数的类型是class cif.dataengine.DataPath
getDeclaredMethods()获得的方法的返回值的类型int
getDeclaredMethods()获得的方法的修饰符有private
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getMainProjectPath
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurrentWorkDir
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveDimension
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:changeCurveDepthRange
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:isCategoryExisted
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getSysInstallationPath
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getSysResourcePath
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createBulkCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
Parameter Name: arg8
Parameter Name: arg9
Parameter Name: arg10
Parameter Name: arg11
Parameter Name: arg12
Parameter Name: arg13
Parameter Name: arg14
Parameter Name: arg15
Parameter Name: arg16
Parameter Name: arg17
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCommonTableName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCategoryDepthUnit
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCommonTableCount
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveStartDepth
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveDepthLevel
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:setCurveDepthLevel
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:spliceFilePath
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createCurveEx
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
Parameter Name: arg8
-------------------------------------------------------------------
getMethods()获得的方法的名字是:closeCifp
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createWell
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createCifp
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createCifp
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createCurve
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
Parameter Name: arg8
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createCurve
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
Parameter Name: arg8
Parameter Name: arg9
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getWellPropertiesItemValue
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:setWellPropertiesItemValue
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:flush
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:openCifp
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve3DName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve2DName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeBulkCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [[[F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeBulkCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve1DCount
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveEndDepth
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveXLevel
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveXCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveXUnit
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeCurve1D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveYMin
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveYLevel
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveYMax
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveYCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveYUnit
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve3DCount
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:reacBulkCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:reacBulkCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [[[F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveXMin
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve1DName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve2D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [S
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
Parameter Name: arg8
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
Parameter Name: arg7
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurve2DCount
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeCurve3D
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是double
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
Parameter Name: arg5
Parameter Name: arg6
-------------------------------------------------------------------
getMethods()获得的方法的名字是:isCurveExisted
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveXMax
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型double
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是float
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [Ljava.lang.String;
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:deleteTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:copyCurve
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveArrayNum
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveUnit
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveProperty
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class cif.dataservice.io.CurveProperty
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getTableRowCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:deleteCurve
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [Ljava.lang.String;
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [F
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readTable_x
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型float
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:copyTable
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:flushAll
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getTableColumnCount
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:setCurveInterpolation
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveTimeSampleLevel
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型float
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveDepthUnit
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCommonTableColumnName
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:removeTableAllRecords
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getCurveArraySize
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:dispatchNotification
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createDocument
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
-------------------------------------------------------------------
getMethods()获得的方法的名字是:createDocument
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readDocument
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
-------------------------------------------------------------------
getMethods()获得的方法的名字是:readDocument
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [B
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:writeDocument
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class [B
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
Parameter Name: arg2
Parameter Name: arg3
Parameter Name: arg4
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getDocSize
getMethods()获得的参数的类型是int
getMethods()获得的参数的类型是class java.lang.String
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的参数的类型是long
getMethods()获得的参数的类型是int
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
Parameter Name: arg0
Parameter Name: arg1
-------------------------------------------------------------------
getMethods()获得的方法的名字是:wait
getMethods()获得的参数的类型是long
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native
getMethods()获得的方法的异常类型是:class java.lang.InterruptedException
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:equals
getMethods()获得的参数的类型是class java.lang.Object
getMethods()获得的方法的返回值的类型boolean
getMethods()获得的方法的修饰符有public
Parameter Name: arg0
-------------------------------------------------------------------
getMethods()获得的方法的名字是:toString
getMethods()获得的方法的返回值的类型class java.lang.String
getMethods()获得的方法的修饰符有public
-------------------------------------------------------------------
getMethods()获得的方法的名字是:hashCode
getMethods()获得的方法的返回值的类型int
getMethods()获得的方法的修饰符有public native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:getClass
getMethods()获得的方法的返回值的类型class java.lang.Class
getMethods()获得的方法的修饰符有public final native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:notify
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native
-------------------------------------------------------------------
getMethods()获得的方法的名字是:notifyAll
getMethods()获得的方法的返回值的类型void
getMethods()获得的方法的修饰符有public final native
-------------------------------------------------------------------

详细接口API说明

ciflog对应的基础jar包路径:...\CIFLog\ciflog\modules

前文中提到的dataservice接口在cif-dataservice.jar

打开IDEA,文件→项目结构→库→添加库,可以将jar包导入

DataServiceAssistIO.java

简略方法

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
public int openDataSource(String dataSourcePath)

public int getWorkSpaceCount(int dataSourceID)

public int getWellCount(int dataSourceID, String workSpaceName)

public int getCategoryCount(int dataSourceID, String workSpaceName, String wellName)

public int getLogCurveCount(int dataSourceID, String workSpaceName, String wellName, String categoryName)

public int getLogTableCount(int dataSourceID, String workSpaceName, String wellName, String categoryName)

public int getLogDocCount(int dataSourceID, String workSpaceName, String wellName, String categoryName)

public String getWorkSpaceName(int dataSourceID, int index)

public String getWellName(int dataSourceID, String workSpaceName, int index)

public String getCategoryName(int dataSourceID, String workSpaceName, String wellName, int index)

public String getLogCurveName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index)

public String getLogTableName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index)

public String getLogDocName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index)

类源码

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cif.dataservice.io;

import cif.dataengine.DataPath;
import cif.dataengine.io.LogCategory;
import cif.dataengine.io.LogCurve;
import cif.dataengine.io.LogDataSource;
import cif.dataengine.io.LogDocument;
import cif.dataengine.io.LogTable;
import cif.dataengine.io.LogWell;
import cif.dataengine.io.LogWorkSpace;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import org.openide.util.Exceptions;

public class DataServiceAssistIO {
public DataServiceAssistIO() {
}

private void exportTextFileData(StringBuffer sourceData, File file) {
FileOutputStream fos = null;

try {
fos = new FileOutputStream(file);
byte[] bytes = sourceData.toString().getBytes();
fos.write(bytes);
} catch (Exception var13) {
Exceptions.printStackTrace(var13);
} finally {
if (fos != null) {
try {
fos.close();
} catch (IOException var12) {
Exceptions.printStackTrace(var12);
}
}

}

}

public int openDataSource(String dataSourcePath) {
if (dataSourcePath != null && !dataSourcePath.trim().isEmpty()) {
String temp = dataSourcePath.trim();
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(temp);
if (dataSourceStruct != null) {
DataSourceContainer.getInstance().removeElement(dataSourceStruct);
}

int index = temp.indexOf("@@**");
return index == -1 ? this.openLocalDataSource(temp) : 0;
} else {
return -1;
}
}

public int getWorkSpaceCount(int dataSourceID) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
return dataSourceStruct == null ? -1 : dataSourceStruct.dataSource.getWorkSpaceCount();
}

public int getWellCount(int dataSourceID, String workSpaceName) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return -1;
} else {
LogWorkSpace ws = dataSourceStruct.dataSource.getLogWorkSpace(workSpaceName.trim());
return ws == null ? -1 : ws.getWellCount();
}
} else {
return -1;
}
}

public int getCategoryCount(int dataSourceID, String workSpaceName, String wellName) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty() && wellName != null && !wellName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return -1;
} else {
LogWorkSpace ws = dataSourceStruct.dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return -1;
} else {
LogWell well = ws.getLogWell(wellName.trim());
return well == null ? -1 : well.getCategoryCount();
}
}
} else {
return -1;
}
}

public int getLogCurveCount(int dataSourceID, String workSpaceName, String wellName, String categoryName) {
return this.getLoggingCount(dataSourceID, workSpaceName, wellName, categoryName, 0);
}

public int getLogTableCount(int dataSourceID, String workSpaceName, String wellName, String categoryName) {
return this.getLoggingCount(dataSourceID, workSpaceName, wellName, categoryName, 1);
}

public int getLogDocCount(int dataSourceID, String workSpaceName, String wellName, String categoryName) {
return this.getLoggingCount(dataSourceID, workSpaceName, wellName, categoryName, 2);
}

public String getWorkSpaceName(int dataSourceID, int index) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return null;
} else {
LogWorkSpace ws = dataSourceStruct.dataSource.getLogWorkSpace(index);
return ws == null ? null : ws.getWorkSpaceName();
}
}

public String getWellName(int dataSourceID, String workSpaceName, int index) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return null;
} else {
LogDataSource dataSource = dataSourceStruct.dataSource;
LogWorkSpace ws = dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return null;
} else {
LogWell well = ws.getLogWell(index);
return well == null ? null : well.getWellName();
}
}
} else {
return null;
}
}

public String getCategoryName(int dataSourceID, String workSpaceName, String wellName, int index) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty() && wellName != null && !wellName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return null;
} else {
LogDataSource dataSource = dataSourceStruct.dataSource;
LogWorkSpace ws = dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return null;
} else {
LogWell well = ws.getLogWell(wellName.trim());
if (well == null) {
return null;
} else {
LogCategory category = well.getLogCategory(index);
return category == null ? null : category.getCategoryName();
}
}
}
} else {
return null;
}
}

public String getLogCurveName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index) {
return this.getLoggingName(dataSourceID, workSpaceName, wellName, categoryName, index, 0);
}

public String getLogTableName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index) {
return this.getLoggingName(dataSourceID, workSpaceName, wellName, categoryName, index, 1);
}

public String getLogDocName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index) {
return this.getLoggingName(dataSourceID, workSpaceName, wellName, categoryName, index, 2);
}

private int getLoggingCount(int dataSourceID, String workSpaceName, String wellName, String categoryName, int loggingType) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty() && wellName != null && !wellName.trim().isEmpty() && categoryName != null && !categoryName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return -1;
} else {
LogDataSource dataSource = dataSourceStruct.dataSource;
LogWorkSpace ws = dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return -1;
} else {
LogWell well = ws.getLogWell(wellName.trim());
if (well == null) {
return -1;
} else {
LogCategory category = well.getLogCategory(categoryName.trim());
if (category == null) {
return -1;
} else {
int logCount = -1;
switch (loggingType) {
case 0:
logCount = category.getLogCurveCount();
break;
case 1:
logCount = category.getLogCommonTableCount();
break;
case 2:
logCount = category.getLogDocCount();
}

return logCount;
}
}
}
}
} else {
return -1;
}
}

private String getLoggingName(int dataSourceID, String workSpaceName, String wellName, String categoryName, int index, int loggingType) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty() && wellName != null && !wellName.trim().isEmpty() && categoryName != null && !categoryName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return null;
} else {
LogDataSource dataSource = dataSourceStruct.dataSource;
LogWorkSpace ws = dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return null;
} else {
LogWell well = ws.getLogWell(wellName.trim());
if (well == null) {
return null;
} else {
LogCategory category = well.getLogCategory(categoryName.trim());
if (category == null) {
return null;
} else {
String loggingName = null;
switch (loggingType) {
case 0:
LogCurve curve = category.getLogCurve(index);
if (curve != null) {
loggingName = curve.getName();
}
break;
case 1:
LogTable table = category.getLogCommonTable(index);
if (table != null) {
loggingName = table.getName();
}
break;
case 2:
LogDocument document = category.getLogDoc(index);
if (document != null) {
loggingName = document.getName();
}
}

return loggingName;
}
}
}
}
} else {
return null;
}
}

private int getLoggingNameList(int dataSourceID, String workSpaceName, String wellName, String categoryName, String[] loggingNames, int loggingType) {
if (workSpaceName != null && !workSpaceName.trim().isEmpty() && wellName != null && !wellName.trim().isEmpty() && categoryName != null && !categoryName.trim().isEmpty()) {
DataSourceStruct dataSourceStruct = DataSourceContainer.getInstance().getElement(dataSourceID);
if (dataSourceStruct == null) {
return -1;
} else {
LogDataSource dataSource = dataSourceStruct.dataSource;
LogWorkSpace ws = dataSource.getLogWorkSpace(workSpaceName.trim());
if (ws == null) {
return -1;
} else {
LogWell well = ws.getLogWell(wellName.trim());
if (well == null) {
return -1;
} else {
LogCategory category = well.getLogCategory(categoryName.trim());
if (category == null) {
return -1;
} else {
int retCount = 0;
int i;
switch (loggingType) {
case 0:
retCount = category.getLogCurveCount();

for(i = 0; i < retCount; ++i) {
loggingNames[i] = category.getLogCurve(i).getName();
}

return retCount;
case 1:
retCount = category.getLogCommonTableCount();

for(i = 0; i < retCount; ++i) {
loggingNames[i] = category.getLogCommonTable(i).getName();
}

return retCount;
case 2:
retCount = category.getLogDocCount();

for(i = 0; i < retCount; ++i) {
loggingNames[i] = category.getLogDoc(i).getName();
}
}

return retCount;
}
}
}
}
} else {
return -1;
}
}

private int openLocalDataSource(String dataSourcePath) {
DataPath dataPath = new DataPath();
dataPath.parse(dataSourcePath);
if (dataPath.getPathLevel() < 1) {
return -1;
} else {
String dsFilePath = dataPath.getDataSourceName();
File file = new File(dsFilePath);
if (file.exists() && file.isDirectory()) {
file = new File(dsFilePath + File.separator + "cifPlatform.xml");
if (file.exists() && file.isFile()) {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
if (!dataSource.connect(dsFilePath)) {
return -1;
}

int id = this.getID();
DataSourceContainer.getInstance().addElement(new DataSourceStruct(dataSource, id));
return id;
}
}

return -1;
}
}

private int getID() {
int dataSourceID = 1;
int id = false;

boolean flag;
do {
flag = false;

for(int i = 0; i < DataSourceContainer.getInstance().size(); ++i) {
int id = DataSourceContainer.getInstance().elemenAt(i).id;
if (dataSourceID == id) {
flag = true;
++dataSourceID;
break;
}
}
} while(flag);

return dataSourceID;
}
}

DataServiceBasicIO.java

简略方法

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
public String spliceFilePath(String prePath, String sufPath)

public String getCurrentWorkDir()

public String getMainProjectPath()

public String getSysInstallationPath()

public String getSysResourcePath()

public int openCifp(String cifpPath)

public void closeCifp(int categoryID)

public String getWellPropertiesItemValue(int categoryID, String itemName)

public void setWellPropertiesItemValue(int categoryID, String itemName, String itemValue)

public int getCategoryDepthUnit(int categoryID)//meter_0,feet_1,s_2,defult_-1

public int createWell(String wellPath)

public int createCifp(String cifpPath, int isOverwritten)

public int createCifp(String cifpPath)

public int createCurveEx(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit)

public int createCurve(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit)

public int createCurve(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit, int isCleaningData)

public int createBulkCurve3D(int categoryID, String curveName, int dataType, String curveUnit, double startDepth, int sampleCount, double depthLevel, double xMin, double xMax, double xLevel, double yMin, double yMax, double yLevel, int xCount, int yCount, String xUnit, String yUnit, int isCleaningData)

public int isCategoryExisted(String categoryPath)

public int isCurveExisted(int categoryID, String curveName)

public int getCurve1DCount(int categoryID)

public String getCurve1DName(int categoryID, int index)

public String getCurve2DName(int categoryID, int index)

public String getCurve3DName(int categoryID, int index)

public String getCommonTableName(int categoryID, int index)

public int getCurve2DCount(int categoryID)

public int getCurve3DCount(int categoryID)

public int getCommonTableCount(int categoryID)

public int readCurve1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer)

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, float[] buffer)

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, float[] buffer, int interpolationMode)

public int readCurve1D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, float[] buffer)

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int upwardCount, int downWardCount, float[] buffer)

public int writeCurve1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer)

public int readCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer)

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer)

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer, int interpolationMode)

public int readCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, short[] buffer)

public int readCurve2D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer)

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int upwardCount, int downWardCount, int arraySize, float[] buffer)

public int writeCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer)

public int reacBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[] buffer)

public int reacBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[][][] buffer)

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer)

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer)

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer)

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int upwardCount, int downWardCount, int arraySize, float[] buffer)

public int writeCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer)

public int writeBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[] buffer)

public int writeBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[][][] buffer)

public double getCurveStartDepth(int categoryID, String curveName)

public double getCurveEndDepth(int categoryID, String curveName)

public double getCurveDepthLevel(int categoryID, String curveName)

public double getCurveXMin(int categoryID, String curveName)

public double getCurveXMax(int categoryID, String curveName)

public double getCurveXLevel(int categoryID, String curveName)

public int getCurveXCount(int categoryID, String curveName)

public String getCurveXUnit(int categoryID, String curveName)

public double getCurveYMin(int categoryID, String curveName)

public double getCurveYMax(int categoryID, String curveName)

public double getCurveYLevel(int categoryID, String curveName)

public int getCurveYCount(int categoryID, String curveName)

public String getCurveYUnit(int categoryID, String curveName)

public int setCurveDepthLevel(int categoryID, String curveName, double newDepthLevel)

public int changeCurveDepthRange(int categoryID, String curveName, double newStartDepth, double newEndDepth)

public int deleteCurve(int categoryID, String curveName)

public int deleteTable(int categoryID, String tableName)

public int copyCurve(int categoryID, String srcCurveName, String desCurveName, int isOverWritten)

public CurveProperty getCurveProperty(int categoryID, String curveName)

public int getCurveDimension(int categoryID, String curveName)

public int getCurveArrayNum(int categoryID, String curveName)

public int getCurveArraySize(int categoryID, String curveName)

public float getCurveTimeSampleLevel(int categoryID, String curveName)

public String getCurveUnit(int categoryID, String curveName)

public String getCurveDepthUnit(int categoryID, String curveName)

public void flush(int categoryID, String curveName)

public void flushAll()

public void setCurveInterpolation(int categoryID, String curveName, int mode)

public int createTable(int categoryID, String tableTemplateName, String tableName, int isOverwritten)

public int getTableRowCount(int categoryID, String tableName)

public String getCommonTableColumnName(int categoryID, String tableName, int columnIndex)

public int getTableColumnCount(int categoryID, String tableName)

public String readTable(int categoryID, String tableName, int rowIndex, int columnIndex)

public float readTable_x(int categoryID, String tableName, int rowIndex, int columnIndex)

public int readTable(int categoryID, String tableName, int rowIndex, float[] buffer)

public int readTable(int categoryID, String tableName, int rowIndex, String[] buffer)

public int writeTable(int categoryID, String tableName, int rowIndex, float[] buffer)

public int writeTable(int categoryID, String tableName, int rowIndex, int columnIndex, float buffer)

public int writeTable(int categoryID, String tableName, int rowIndex, int columnIndex, String buffer)

public int writeTable(int categoryID, String tableName, int rowIndex, String[] buffer)

public int copyTable(int srcCategoryID, String srcTableName, int desCategoryID, String desTableName, int isOverwritten)

public void removeTableAllRecords(int categoryID, String tableName)

public int getDocSize(int categoryID, String docName)

public int createDocument(int categoryID, String docName, int isOverwritten)

public int createDocument(int categoryID, String docName, String srcFilePath, int isOverwritten)

public int readDocument(int categoryID, String docName, int offset, int byteSize, byte[] buffer)

public int readDocument(int categoryID, String docName, String desFilePath)

public int writeDocument(int categoryID, String docName, int offset, int byteSize, byte[] buffer)

public void dispatchNotification()

类源码

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cif.dataservice.io;

import cif.base.Global;
import cif.baseutil.EncryptCipher;
import cif.dataengine.DataEngine;
import cif.dataengine.DataPath;
import cif.dataengine.io.CategoryProperties;
import cif.dataengine.io.Curve1D;
import cif.dataengine.io.Curve2D;
import cif.dataengine.io.Curve3D;
import cif.dataengine.io.CurveXD;
import cif.dataengine.io.LogCategory;
import cif.dataengine.io.LogCurve;
import cif.dataengine.io.LogCurve1D;
import cif.dataengine.io.LogCurve2D;
import cif.dataengine.io.LogCurve3D;
import cif.dataengine.io.LogDataSource;
import cif.dataengine.io.LogDocument;
import cif.dataengine.io.LogTable;
import cif.dataengine.io.LogWell;
import cif.dataengine.io.LogWorkSpace;
import cif.dataengine.io.Logging;
import cif.dataengine.io.LoggingProperties;
import cif.dataengine.io.ReadMode;
import cif.dataengine.io.TableFields;
import cif.dataengine.io.TableRecords;
import cif.dataengine.io.WellProperties;
import cif.dataengine.io.WriteMode;
import cif.dataservice.CategoryNotifiedInfo;
import cif.dataservice.NotificationMessage;
import cif.dataservice.NotificationStruct;
import cif.dataservice.WellNotifiedInfo;
import cif.dataservice.client.MessageCommunicationClient;
import cif.resource.ResourceObject;
import cif.resource.ResourceUtilities;
import cif.resource.table.TableTemplateXmlRw;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import org.openide.util.Exceptions;

public class DataServiceBasicIO {
private final ArrayList<NotificationStruct> wellNotificationList = new ArrayList();
private final ArrayList<NotificationStruct> categoryNotificationList = new ArrayList();
private final StringBuffer strBuf = new StringBuffer();

public DataServiceBasicIO() {
}

private void exportTextFileData(StringBuffer sourceData, File file) {
FileOutputStream fos = null;

try {
fos = new FileOutputStream(file);
byte[] bytes = sourceData.toString().getBytes();
fos.write(bytes);
} catch (IOException var13) {
Exceptions.printStackTrace(var13);
} finally {
if (fos != null) {
try {
fos.close();
} catch (IOException var12) {
Exceptions.printStackTrace(var12);
}
}

}

}

public String spliceFilePath(String prePath, String sufPath) {
if (prePath != null && sufPath != null) {
if (prePath.endsWith("\\") || prePath.endsWith("/")) {
prePath = prePath.substring(0, prePath.length() - 1).trim();
}

return prePath.trim() + File.separator + sufPath.trim();
} else {
return "";
}
}

public String getCurrentWorkDir() {
String workDir = System.getProperty("user.dir");
if (workDir.endsWith("\\") || workDir.endsWith("/")) {
workDir = workDir.substring(0, workDir.length() - 1).trim();
}

return workDir;
}

public String getMainProjectPath() {
try {
File file = new File(Global.getTempPath() + File.separator + "maindsinfo.txt");
if (!file.exists()) {
return null;
} else {
BufferedReader in = new BufferedReader(new FileReader(file));
String mainDSPath = in.readLine();
return mainDSPath != null && !mainDSPath.trim().isEmpty() ? mainDSPath.trim() : null;
}
} catch (IOException var4) {
return null;
}
}

public String getSysInstallationPath() {
return Global.getInstallationPath();
}

public String getSysResourcePath() {
return Global.getInstallationResourcePath();
}

public int openCifp(String cifpPath) {
if (cifpPath != null && !cifpPath.trim().isEmpty()) {
String temp = cifpPath.trim();
DataPath dataPath = new DataPath();
dataPath.parse(temp);
return dataPath.getPathLevel() < 4 ? -1 : this.getCategoryID(dataPath);
} else {
return -1;
}
}

public void closeCifp(int categoryID) {
if (categoryID >= 0) {
ReferCategoryStruct referCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (referCategoryStruct != null) {
LogCategory category = referCategoryStruct.getCategory();
if (category != null) {
category.close();
ReferCategoryContainer.getInstance().removeElement(categoryID);
}
}

}
}

public String getWellPropertiesItemValue(int categoryID, String itemName) {
if (categoryID >= 0 && itemName != null && !itemName.trim().isEmpty()) {
ReferCategoryStruct referCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (referCategoryStruct == null) {
return null;
} else {
LogCategory category = referCategoryStruct.getCategory();
if (category == null) {
return null;
} else {
WellProperties wellProperties = category.getWellProperties();
return wellProperties == null ? null : wellProperties.getValue(itemName.trim());
}
}
} else {
return null;
}
}

public void setWellPropertiesItemValue(int categoryID, String itemName, String itemValue) {
if (categoryID >= 0 && itemName != null && !itemName.trim().isEmpty()) {
ReferCategoryStruct referCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (referCategoryStruct != null) {
LogCategory category = referCategoryStruct.getCategory();
if (category != null) {
WellProperties wellProperties = category.getWellProperties();
if (wellProperties != null) {
wellProperties.setValue(itemName.trim(), itemValue);
}
}
}
}
}

public int getCategoryDepthUnit(int categoryID) {
if (categoryID < 0) {
return -1;
} else {
ReferCategoryStruct referCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (referCategoryStruct == null) {
return -1;
} else {
LogCategory category = referCategoryStruct.getCategory();
if (category == null) {
return -1;
} else {
switch (category.getCategoryDepthUnit()) {
case "meter":
return 0;
case "feet":
return 1;
case "s":
return 2;
default:
return -1;
}
}
}
}
}

public int createWell(String wellPath) {
if (wellPath != null && !wellPath.trim().isEmpty()) {
String temp = wellPath.trim();
int index = temp.indexOf("@@**");
if (index == -1) {
DataPath dataPath = new DataPath();
dataPath.parse(temp);
return dataPath.getPathLevel() < 3 ? 0 : this.createLocalWell(dataPath);
} else {
return 0;
}
} else {
return 0;
}
}

public int createCifp(String cifpPath, int isOverwritten) {
if (cifpPath != null && !cifpPath.trim().isEmpty()) {
String temp = cifpPath.trim();
int index = temp.indexOf("@@**");
if (index == -1) {
DataPath dataPath = new DataPath();
dataPath.parse(temp);
return dataPath.getPathLevel() < 4 ? 0 : this.createLocalCategory(dataPath, isOverwritten);
} else {
String dataPathStr = temp.substring(0, index);
String userPath = temp.substring(index + "@@**".length());
index = userPath.indexOf("%%%");
if (index == -1) {
return 0;
} else {
DataPath dataPath = new DataPath();
dataPath.parse(dataPathStr);
if (dataPath.getPathLevel() < 4) {
return 0;
} else {
EncryptCipher encryptCipher = new EncryptCipher();
String userName = encryptCipher.decrypt(userPath.substring(0, index).trim());
String userPassword = encryptCipher.decrypt(userPath.substring(index + "%%%".length()).trim());
return this.createRemoteCategory(dataPath, userName, userPassword);
}
}
}
} else {
return 0;
}
}

public int createCifp(String cifpPath) {
if (cifpPath != null && !cifpPath.trim().isEmpty()) {
String temp = cifpPath.trim();
int index = temp.indexOf("@@**");
if (index == -1) {
DataPath dataPath = new DataPath();
dataPath.parse(temp);
return dataPath.getPathLevel() < 4 ? 0 : this.createLocalCategory(dataPath, 0);
} else {
String dataPathStr = temp.substring(0, index);
String userPath = temp.substring(index + "@@**".length());
index = userPath.indexOf("%%%");
if (index == -1) {
return 0;
} else {
DataPath dataPath = new DataPath();
dataPath.parse(dataPathStr);
if (dataPath.getPathLevel() < 4) {
return 0;
} else {
EncryptCipher encryptCipher = new EncryptCipher();
String userName = encryptCipher.decrypt(userPath.substring(0, index).trim());
String userPassword = encryptCipher.decrypt(userPath.substring(index + "%%%".length()).trim());
return this.createRemoteCategory(dataPath, userName, userPassword);
}
}
}
} else {
return 0;
}
}

public int createCurveEx(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit) {
return this.createCurve(categoryID, curveName, arrayNum, arraySize, startDepth, sampleCount, depthLevel, dataType, curveUnit, true, 0);
}

public int createCurve(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit) {
return this.createCurve(categoryID, curveName, arrayNum, arraySize, startDepth, sampleCount, depthLevel, dataType, curveUnit, false, 0);
}

public int createCurve(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit, int isCleaningData) {
return this.createCurve(categoryID, curveName, arrayNum, arraySize, startDepth, sampleCount, depthLevel, dataType, curveUnit, false, isCleaningData);
}

public int createBulkCurve3D(int categoryID, String curveName, int dataType, String curveUnit, double startDepth, int sampleCount, double depthLevel, double xMin, double xMax, double xLevel, double yMin, double yMax, double yLevel, int xCount, int yCount, String xUnit, String yUnit, int isCleaningData) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
if (sampleCount < 1) {
return 0;
} else {
String curve_name = curveName.trim();
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
if (category.getLogCurve(curve_name) != null) {
return 0;
} else {
Curve3D curve3D = new Curve3D();
curve3D.setCurveType((byte)3);
curve3D.setSubCurveType((byte)1);
curve3D.setCurveName(curveName);
curve3D.setStartDepth(startDepth);
curve3D.setEndDepth(startDepth + depthLevel * (double)(sampleCount - 1));
curve3D.setDepthLevel(depthLevel);
curve3D.setDataType((byte)dataType);
curve3D.setDepthUnit(category.getCategoryDepthUnit());
curve3D.setCurveUnit(curveUnit);
curve3D.setXMin(xMin);
curve3D.setXMax(xMax);
curve3D.setXLevel(xLevel);
curve3D.setXCount(xCount);
curve3D.setXUnit(xUnit);
curve3D.setYMin(yMin);
curve3D.setYMax(yMax);
curve3D.setYLevel(yLevel);
curve3D.setYCount(yCount);
curve3D.setYUnit(yUnit);
LogCurve curve = category.createCurve(curve3D, false);
if (curve == null) {
return 0;
} else {
ReferCurveStruct curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
categoryStruct.isModified = true;
return 1;
}
}
}
}
} else {
return 0;
}
}

private int createCurve(int categoryID, String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit, boolean isOverWrite, int isCleaningData) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
if (arrayNum >= 1 && arraySize >= 1) {
String curve_name = curveName.trim();
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
if (category.getLogCurve(curve_name) != null) {
if (!isOverWrite) {
return 0;
}

if (category.deleteLogging(curve_name) != 0) {
return 0;
}
}

CurveXD curveXD = this.buildCurveXD(curve_name, arrayNum, arraySize, startDepth, sampleCount, depthLevel, dataType, curveUnit, category.getCategoryDepthUnit());
LogCurve curve = category.createCurve(curveXD, isCleaningData == 1);
if (curve == null) {
return 0;
} else {
ReferCurveStruct curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
} else {
return 0;
}
}

public int isCategoryExisted(String categoryPath) {
if (categoryPath != null && !categoryPath.trim().isEmpty()) {
String temp = categoryPath.trim();
DataPath dataPath = new DataPath();
dataPath.parse(temp);
return dataPath.getPathLevel() < 4 ? -1 : 1;
} else {
return 0;
}
}

public int isCurveExisted(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct != null) {
LogCategory category = categoryStruct.getCategory();
if (category != null) {
Logging curve = category.getLogging(curveName.trim());
if (curve != null) {
return 1;
}
}
}

return 0;
} else {
return 0;
}
}

public int getCurve1DCount(int categoryID) {
if (categoryID < 1) {
return 0;
} else {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
return categoryStruct == null ? 0 : categoryStruct.getCategory().getLogCurve1DCount();
}
}

public String getCurve1DName(int categoryID, int index) {
if (categoryID >= 1 && index >= 1) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
return index > categoryStruct.getCategory().getLogCurve1DCount() ? null : categoryStruct.getCategory().getLogCurve1D(index - 1).getName();
}
} else {
return null;
}
}

public String getCurve2DName(int categoryID, int index) {
if (categoryID >= 1 && index >= 1) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
return index > categoryStruct.getCategory().getLogCurve2DCount() ? null : categoryStruct.getCategory().getLogCurve2D(index - 1).getName();
}
} else {
return null;
}
}

public String getCurve3DName(int categoryID, int index) {
if (categoryID >= 1 && index >= 1) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
return index > categoryStruct.getCategory().getLogCurve3DCount() ? null : categoryStruct.getCategory().getLogCurve3D(index - 1).getName();
}
} else {
return null;
}
}

public String getCommonTableName(int categoryID, int index) {
if (categoryID >= 1 && index >= 1) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
return index > categoryStruct.getCategory().getLogCommonTableCount() ? null : categoryStruct.getCategory().getLogCommonTable(index - 1).getName();
}
} else {
return null;
}
}

public int getCurve2DCount(int categoryID) {
if (categoryID < 1) {
return 0;
} else {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
return categoryStruct == null ? 0 : categoryStruct.getCategory().getLogCurve2DCount();
}
}

public int getCurve3DCount(int categoryID) {
if (categoryID < 1) {
return 0;
} else {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
return categoryStruct == null ? 0 : categoryStruct.getCategory().getLogCurve3DCount();
}
}

public int getCommonTableCount(int categoryID) {
if (categoryID < 1) {
return 0;
} else {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
return categoryStruct == null ? 0 : categoryStruct.getCategory().getLogCommonTableCount();
}
}

public int readCurve1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer) {
return this.readCurve_1D(categoryID, curveName, startDepth, dataCount, buffer);
}

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, float[] buffer) {
return this.readCurve1D(categoryID, curveName, startDepth, depthLevel, dataCount, buffer, (ReadMode)null);
}

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, float[] buffer, int interpolationMode) {
ReadMode readMode = new ReadMode();
switch (interpolationMode) {
case 0:
readMode.interpolationMode = 1;
break;
case 1:
readMode.interpolationMode = 0;
break;
case 2:
readMode.interpolationMode = 3;
}

return this.readCurve1D(categoryID, curveName, startDepth, depthLevel, dataCount, buffer, readMode);
}

private int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, float[] buffer, ReadMode mode) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve1D)curveStruct.curve).readData(startDepth, depthLevel, dataCount, buffer, (ReadMode)null);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogCurve1D curve = category.getLogCurve1D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.readData(startDepth, dataCount, buffer, mode);
}
}
}
}
} else {
return -1;
}
}

public int readCurve1D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, float[] buffer) {
return this.readCurve_1D(categoryID, curveName, startDepth, upwardCount, downWardCount, buffer);
}

public int readCurve1D(int categoryID, String curveName, double startDepth, double depthLevel, int upwardCount, int downWardCount, float[] buffer) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve1D)curveStruct.curve).readData(startDepth, depthLevel, upwardCount, downWardCount, buffer, (ReadMode)null);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogCurve1D curve = category.getLogCurve1D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.readData(startDepth, depthLevel, upwardCount, downWardCount, buffer, (ReadMode)null);
}
}
}
}
} else {
return -1;
}
}

public int writeCurve1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer) {
return this.writeCurve_1D(categoryID, curveName, startDepth, dataCount, buffer);
}

public int readCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer) {
return this.readCurve_2D(categoryID, curveName, startDepth, dataCount, arraySize, buffer);
}

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer) {
return this.readCurve2D(categoryID, curveName, startDepth, depthLevel, dataCount, arraySize, buffer, (ReadMode)null);
}

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer, int interpolationMode) {
ReadMode readMode = new ReadMode();
switch (interpolationMode) {
case 0:
readMode.interpolationMode = 1;
break;
case 1:
readMode.interpolationMode = 0;
break;
case 2:
readMode.interpolationMode = 3;
}

return this.readCurve2D(categoryID, curveName, startDepth, depthLevel, dataCount, arraySize, buffer, readMode);
}

private int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer, ReadMode readMode) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
LogCurve2D curve = null;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, depthLevel, dataCount, data, readMode);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, depthLevel, dataCount, data, readMode);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

public int readCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, short[] buffer) {
return this.readCurve_2D(categoryID, curveName, startDepth, dataCount, arraySize, buffer);
}

public int readCurve2D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
return this.readCurve_2D(categoryID, curveName, startDepth, upwardCount, downWardCount, arraySize, buffer);
}

public int readCurve2D(int categoryID, String curveName, double startDepth, double depthLevel, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int dataCount = upwardCount + downWardCount + 1;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve2D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, depthLevel, upwardCount, downWardCount, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, depthLevel, upwardCount, downWardCount, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

public int writeCurve2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer) {
return this.writeCurve_2D(categoryID, curveName, startDepth, dataCount, arraySize, buffer);
}

public int reacBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
int i;
int offset;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][][] data = new float[dataCount][xCount][yCount];
int retCode = curve.readDataWithoutBuffer(startDepth, dataCount, data, (ReadMode)null);
if (retCode > 0) {
int offset = false;

for(offset = 0; offset < retCode; ++offset) {
retCode = offset * yCount * xCount;

for(i = 0; i < yCount; ++i) {
System.arraycopy(data[offset][i], 0, buffer, retCode + i * xCount, xCount);
}
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][][] data = new float[dataCount][yCount][xCount];
retCode = curve.readDataWithoutBuffer(startDepth, dataCount, data, (ReadMode)null);
if (retCode > 0) {
int offset = false;

for(i = 0; i < retCode; ++i) {
offset = i * yCount * xCount;

for(int j = 0; j < yCount; ++j) {
System.arraycopy(data[i][j], 0, buffer, offset + j * xCount, xCount);
}
}
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

public int reacBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[][][] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
return curve.readDataWithoutBuffer(startDepth, dataCount, buffer, (ReadMode)null);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
int retCode = curve.readDataWithoutBuffer(startDepth, dataCount, buffer, (ReadMode)null);
return retCode;
}
}
}
}
} else {
return -1;
}
}

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer) {
return this.readCurve_3D(categoryID, curveName, arrayIndex, startDepth, dataCount, arraySize, buffer);
}

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer) {
return this.readCurve_3D(categoryID, curveName, arrayIndex, startDepth, depthLevel, dataCount, arraySize, buffer, (ReadMode)null);
}

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
return this.readCurve_3D(categoryID, curveName, arrayIndex, startDepth, upwardCount, downWardCount, arraySize, buffer);
}

public int readCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
return this.readCurve_3D(categoryID, curveName, arrayIndex, startDepth, depthLevel, upwardCount, downWardCount, arraySize, buffer, (ReadMode)null);
}

public int writeCurve3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer) {
return this.writeCurve_3D(categoryID, curveName, arrayIndex, startDepth, dataCount, arraySize, buffer);
}

public int writeBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int retCode = true;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int i;
int retCode;
int offset;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][][] data = new float[dataCount][yCount][xCount];
int offset = false;

for(offset = 0; offset < dataCount; ++offset) {
int offset = offset * yCount * xCount;

for(i = 0; i < yCount; ++i) {
System.arraycopy(buffer, offset + i * xCount, data[offset][i], 0, xCount);
}
}

retCode = curve.writeDataWithoutBuffer(startDepth, dataCount, data, (WriteMode)null);
if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][][] data = new float[dataCount][yCount][xCount];
int offset = false;

for(i = 0; i < dataCount; ++i) {
offset = i * yCount * xCount;

for(int j = 0; j < yCount; ++j) {
System.arraycopy(buffer, offset + j * xCount, data[i][j], 0, xCount);
}
}

retCode = curve.writeDataWithoutBuffer(startDepth, dataCount, data, (WriteMode)null);
if (retCode == 0) {
return 0;
} else {
categoryStruct.isModified = true;
return retCode;
}
}
}
}
}
} else {
return -1;
}
}

public int writeBulkCurve3D(int categoryID, String curveName, double startDepth, int dataCount, int xCount, int yCount, float[][][] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int retCode = true;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
retCode = curve.writeDataWithoutBuffer(startDepth, dataCount, buffer, (WriteMode)null);
if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
retCode = curve.writeDataWithoutBuffer(startDepth, dataCount, buffer, (WriteMode)null);
if (retCode == 0) {
return 0;
} else {
categoryStruct.isModified = true;
return retCode;
}
}
}
}
}
} else {
return -1;
}
}

public double getCurveStartDepth(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getStartDepth();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getStartDepth();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveEndDepth(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getEndDepth();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getEndDepth();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveDepthLevel(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getDepthLevel();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getDepthLevel();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveXMin(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getXMin();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getXMin();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveXMax(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getXMax();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getXMax();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveXLevel(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getXLevel();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getXLevel();
}
}
}
}
} else {
return -99999.0;
}
}

public int getCurveXCount(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getXCount();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getXCount();
}
}
}
}
} else {
return -99999;
}
}

public String getCurveXUnit(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return "";
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getXUnit();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return "";
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return "";
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getXUnit();
}
}
}
}
} else {
return "";
}
}

public double getCurveYMin(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getYMin();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getYMin();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveYMax(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getYMax();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getYMax();
}
}
}
}
} else {
return -99999.0;
}
}

public double getCurveYLevel(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getYLevel();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999.0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getYLevel();
}
}
}
}
} else {
return -99999.0;
}
}

public int getCurveYCount(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getYCount();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999;
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -99999;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getYCount();
}
}
}
}
} else {
return -99999;
}
}

public String getCurveYUnit(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return "";
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve3D)curveStruct.curve).getYUnit();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return "";
} else {
LogCurve3D curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return "";
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getYUnit();
}
}
}
}
} else {
return "";
}
}

public int setCurveDepthLevel(int categoryID, String curveName, double newDepthLevel) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
LogCurve curve = null;
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
curve = curveStruct.curve;
} else {
curve = category.getLogCurve(curve_name);
}

if (curve == null) {
return 0;
} else {
LogCurve newCurve = this.changeCurveDepthLevel(category, curve, newDepthLevel, category.getNewCurveSuffix());
categoryStruct.removeCurveElement(curve_name);
curveStruct = new ReferCurveStruct(curve_name, newCurve);
categoryStruct.addCurveElement(curveStruct);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
}

public int changeCurveDepthRange(int categoryID, String curveName, double newStartDepth, double newEndDepth) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
LogCurve curve = null;
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
curve = curveStruct.curve;
} else {
curve = category.getLogCurve(curve_name);
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
}

if (curve == null) {
return 0;
} else {
int retCode = curve.changeDepthRange(newStartDepth, newEndDepth, true);
categoryStruct.isModified = true;
return retCode == 0 ? 1 : 0;
}
}
} else {
return 0;
}
}

public int deleteCurve(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
String curve_name = curveName.trim();
LogCategory category = categoryStruct.getCategory();
int retCode = category.deleteLogging(curve_name);
if (retCode != 0) {
return 0;
} else {
categoryStruct.removeCurveElement(curve_name);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
}

public int deleteTable(int categoryID, String tableName) {
if (categoryID >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
String table_name = tableName.trim();
LogCategory category = categoryStruct.getCategory();
int retCode = category.deleteLogging(table_name);
if (retCode != 0) {
return 0;
} else {
categoryStruct.removeCurveElement(table_name);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
}

public int copyCurve(int categoryID, String srcCurveName, String desCurveName, int isOverWritten) {
if (categoryID >= 1 && srcCurveName != null && !srcCurveName.trim().isEmpty() && desCurveName != null && !desCurveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
LogCurve srcCurve = null;
LogCurve desCurve = null;
String srcCurve_name = srcCurveName.trim();
String desCurve_name = desCurveName.trim();
ReferCurveStruct srcCurveStruct = categoryStruct.getSpecifiedCurveElement(srcCurve_name);
if (srcCurveStruct != null) {
srcCurve = srcCurveStruct.curve;
} else {
srcCurve = category.getLogCurve(srcCurve_name);
}

ReferCurveStruct desCurveStruct = categoryStruct.getSpecifiedCurveElement(desCurve_name);
if (desCurveStruct != null) {
desCurve = desCurveStruct.curve;
} else {
desCurve = category.getLogCurve(desCurve_name);
}

if (srcCurve == null) {
return 0;
} else {
if (desCurve != null) {
if (isOverWritten == 0) {
return 0;
}

category.deleteLogging(desCurve_name);
if (desCurveStruct != null) {
categoryStruct.removeCurveElement(desCurveStruct);
}
}

LogCurve newCurve = this.copyCurveAction(category, srcCurve, desCurve_name);
desCurveStruct = new ReferCurveStruct(desCurve_name, newCurve);
categoryStruct.addCurveElement(desCurveStruct);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
}

public CurveProperty getCurveProperty(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
CurveProperty curveProperty = null;
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
curveProperty = new CurveProperty();
LoggingProperties properties = curveStruct.curve.getLoggingProperties();
curveProperty.curveName = properties.getLoggingName();
curveProperty.arrayNum = properties.getArrayNum();
curveProperty.timeSampleNum = properties.getTimeSampleNum();
curveProperty.curveLeftScale = properties.getLeftScale();
curveProperty.curveRightScale = properties.getRightScale();
curveProperty.dataType = properties.getDataType();
curveProperty.startDepth = properties.getStartDepth();
curveProperty.endDepth = properties.getEndDepth();
curveProperty.depthLevel = properties.getDepthLevel();
curveProperty.curveUnit = properties.getCurveUnit();
curveProperty.depthUnit = properties.getDepthUnit();
curveProperty.timeSampleLevel = properties.getTimeSampleLevel();
curveProperty.timeSampleUnit = properties.getTimeSampleUnit();
curveProperty.timeSampleStartTime = properties.getTimeSampleStartTime();
curveProperty.xMin = properties.getXMin();
curveProperty.xMax = properties.getXMax();
curveProperty.xLevel = properties.getXLevel();
curveProperty.yMin = properties.getYMin();
curveProperty.yMax = properties.getYMax();
curveProperty.yLevel = properties.getYLevel();
curveProperty.xCount = properties.getXCount();
curveProperty.yCount = properties.getYCount();
curveProperty.xUnit = properties.getXUnit();
curveProperty.yUnit = properties.getYUnit();
return curveProperty;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return null;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return null;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
curveProperty = new CurveProperty();
LoggingProperties properties = curve.getLoggingProperties();
curveProperty.curveName = properties.getLoggingName();
curveProperty.arrayNum = properties.getArrayNum();
curveProperty.timeSampleNum = properties.getTimeSampleNum();
curveProperty.curveLeftScale = properties.getLeftScale();
curveProperty.curveRightScale = properties.getRightScale();
curveProperty.dataType = properties.getDataType();
curveProperty.startDepth = properties.getStartDepth();
curveProperty.endDepth = properties.getEndDepth();
curveProperty.depthLevel = properties.getDepthLevel();
curveProperty.curveUnit = properties.getCurveUnit();
curveProperty.depthUnit = properties.getDepthUnit();
curveProperty.timeSampleLevel = properties.getTimeSampleLevel();
curveProperty.timeSampleUnit = properties.getTimeSampleUnit();
curveProperty.timeSampleStartTime = properties.getTimeSampleStartTime();
curveProperty.xMin = properties.getXMin();
curveProperty.xMax = properties.getXMax();
curveProperty.xLevel = properties.getXLevel();
curveProperty.yMin = properties.getYMin();
curveProperty.yMax = properties.getYMax();
curveProperty.yLevel = properties.getYLevel();
curveProperty.xCount = properties.getXCount();
curveProperty.yCount = properties.getYCount();
curveProperty.xUnit = properties.getXUnit();
curveProperty.yUnit = properties.getYUnit();
return curveProperty;
}
}
}
}
} else {
return null;
}
}

public int getCurveDimension(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getDimension();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return 0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getDimension();
}
}
}
}
} else {
return 0;
}
}

public int getCurveArrayNum(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getArrayNum();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return 0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getArrayNum();
}
}
}
}
} else {
return 0;
}
}

public int getCurveArraySize(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getTimeSampleCount();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return 0;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getTimeSampleCount();
}
}
}
}
} else {
return 0;
}
}

public float getCurveTimeSampleLevel(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0.0F;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return (float)curveStruct.curve.getLoggingProperties().getTimeSampleLevel();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0.0F;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return 0.0F;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return (float)curve.getLoggingProperties().getTimeSampleLevel();
}
}
}
}
} else {
return 0.0F;
}
}

public String getCurveUnit(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getCurveUnit();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return null;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return null;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getCurveUnit();
}
}
}
}
} else {
return null;
}
}

public String getCurveDepthUnit(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return curveStruct.curve.getDepthUnit();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return null;
} else {
LogCurve curve = category.getLogCurve(curve_name);
if (curve == null) {
return null;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.getDepthUnit();
}
}
}
}
} else {
return null;
}
}

public void flush(int categoryID, String curveName) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct != null) {
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curveName.trim());
if (curveStruct != null && curveStruct.curve != null) {
curveStruct.curve.flush();
}

}
}
}

public void flushAll() {
ReferCurveStruct curveStruct = null;
ReferCategoryStruct categoryStruct = null;

for(int i = 0; i < ReferCategoryContainer.getInstance().size(); ++i) {
categoryStruct = ReferCategoryContainer.getInstance().elemenAt(i);
if (categoryStruct.isModified) {
for(int j = 0; j < categoryStruct.getCurveSize(); ++j) {
curveStruct = categoryStruct.curveElementAt(j);
if (curveStruct.curve != null) {
curveStruct.curve.flush();
}
}
}
}

}

public void setCurveInterpolation(int categoryID, String curveName, int mode) {
if (categoryID >= 1 && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct != null) {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
curveStruct.setInterpolationMode((byte)mode);
} else {
LogCategory category = categoryStruct.getCategory();
if (category != null) {
LogCurve curve = category.getLogCurve(curve_name);
if (curve != null) {
curveStruct = new ReferCurveStruct(curve_name, curve);
curveStruct.setInterpolationMode((byte)mode);
categoryStruct.addCurveElement(curveStruct);
}
}
}
}
}
}

public int createTable(int categoryID, String tableTemplateName, String tableName, int isOverwritten) {
if (categoryID >= 1 && tableTemplateName != null && !tableTemplateName.trim().isEmpty() && tableName != null && !tableName.trim().isEmpty()) {
String template_name = tableTemplateName.trim() + "." + ResourceUtilities.getDefault().getResourceExt(1);
String table_name = tableName.trim();
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
ResourceObject resourceFile = ResourceUtilities.getDefault().getPreservedResourceObject(1, template_name);
TableTemplateXmlRw xmlRw = new TableTemplateXmlRw();
TableFields tableFields = xmlRw.readTableTemplate(new ByteArrayInputStream((byte[])((byte[])ResourceUtilities.getDefault().getResourceObjectContents(resourceFile))), resourceFile.getResourceType());
if (tableFields == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
if (category.getLogging(table_name) != null) {
if (isOverwritten == 0) {
return 0;
}

category.deleteLogging(table_name);
categoryStruct.removeDocElement(table_name);
}

TableRecords tableRecords = new TableRecords();
tableRecords.init(0, tableFields);
LogTable table = category.createTable(table_name, ResourceUtilities.getDefault().toString(resourceFile), (byte)5, tableRecords);
if (table == null) {
return 0;
} else {
ReferTableStruct tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
categoryStruct.isModified = true;
return 1;
}
}
}
} else {
return 0;
}
}

public int getTableRowCount(int categoryID, String tableName) {
if (categoryID >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
return tableStruct.table.getRowCount();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
return table.getRowCount();
}
}
}
}
} else {
return -1;
}
}

public String getCommonTableColumnName(int categoryID, String tableName, int columnIndex) {
if (categoryID >= 1 && tableName != null && !tableName.trim().isEmpty() && columnIndex >= 0) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
LogTable table = tableStruct.table;
int columnCount = table.getColumnCount();
if (columnIndex > columnCount) {
return null;
} else {
TableFields tableFields = new TableFields();
table.readTableFields(tableFields);
return tableFields.getName(columnIndex);
}
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return null;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return null;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
int columnCount = table.getColumnCount();
if (columnIndex > columnCount) {
return null;
} else {
TableFields tableFields = new TableFields();
table.readTableFields(tableFields);
return tableFields.getName(columnIndex);
}
}
}
}
}
} else {
return null;
}
}

public int getTableColumnCount(int categoryID, String tableName) {
if (categoryID >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
return tableStruct.table.getColumnCount();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
return table.getColumnCount();
}
}
}
}
} else {
return -1;
}
}

public String readTable(int categoryID, String tableName, int rowIndex, int columnIndex) {
if (categoryID >= 1 && rowIndex >= 1 && columnIndex >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return null;
} else {
String[] buf = null;
int columnCount = false;
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
int columnCount;
if (tableStruct != null) {
columnCount = tableStruct.table.getColumnCount();
if (columnIndex > columnCount) {
return null;
} else {
buf = new String[columnCount];
int retCode = this.readTableData(tableStruct.table, rowIndex, buf);
return retCode > 0 ? buf[columnIndex - 1] : null;
}
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return null;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return null;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
columnCount = table.getColumnCount();
if (columnIndex > columnCount) {
return null;
} else {
buf = new String[columnCount];
int retCode = this.readTableData(tableStruct.table, rowIndex, buf);
return retCode > 0 ? buf[columnIndex - 1] : null;
}
}
}
}
}
} else {
return null;
}
}

public float readTable_x(int categoryID, String tableName, int rowIndex, int columnIndex) {
if (categoryID >= 1 && rowIndex >= 1 && columnIndex >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -99999.0F;
} else {
float[] buf = null;
int columnCount = false;
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
float[] buf;
int columnCount;
if (tableStruct != null) {
columnCount = tableStruct.table.getColumnCount();
if (columnIndex > columnCount) {
return -99999.0F;
} else {
buf = new float[columnCount];
int retCode = this.readTableData(tableStruct.table, rowIndex, buf);
return retCode > 0 ? buf[columnIndex - 1] : -99999.0F;
}
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -99999.0F;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -99999.0F;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
columnCount = table.getColumnCount();
if (columnIndex > columnCount) {
return -99999.0F;
} else {
buf = new float[columnCount];
int retCode = this.readTableData(tableStruct.table, rowIndex, buf);
return retCode > 0 ? buf[columnIndex - 1] : -99999.0F;
}
}
}
}
}
} else {
return -99999.0F;
}
}

public int readTable(int categoryID, String tableName, int rowIndex, float[] buffer) {
if (categoryID >= 1 && rowIndex >= 1 && buffer != null && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
return this.readTableData(tableStruct.table, rowIndex, buffer);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
return this.readTableData(table, rowIndex, buffer);
}
}
}
}
} else {
return -1;
}
}

public int readTable(int categoryID, String tableName, int rowIndex, String[] buffer) {
if (categoryID >= 1 && rowIndex >= 1 && buffer != null && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
return this.readTableData(tableStruct.table, rowIndex, buffer);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
return this.readTableData(table, rowIndex, buffer);
}
}
}
}
} else {
return -1;
}
}

public int writeTable(int categoryID, String tableName, int rowIndex, float[] buffer) {
if (categoryID >= 1 && rowIndex >= 1 && buffer != null && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
int retCount = true;
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
int retCount;
if (tableStruct != null) {
retCount = this.writeTableData(tableStruct.table, rowIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
retCount = this.writeTableData(table, rowIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
}
}
}
}
} else {
return -1;
}
}

public int writeTable(int categoryID, String tableName, int rowIndex, int columnIndex, float buffer) {
return this.writeTable(categoryID, tableName, rowIndex, columnIndex, Float.toString(buffer));
}

public int writeTable(int categoryID, String tableName, int rowIndex, int columnIndex, String buffer) {
if (categoryID >= 1 && rowIndex >= 1 && columnIndex >= 1 && buffer != null && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
int retCount = true;
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
int retCount;
if (tableStruct != null) {
retCount = this.writeTableData(tableStruct.table, rowIndex, columnIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return 0;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
retCount = this.writeTableData(table, rowIndex, columnIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
}
}
}
}
} else {
return 0;
}
}

public int writeTable(int categoryID, String tableName, int rowIndex, String[] buffer) {
if (categoryID >= 1 && rowIndex >= 1 && buffer != null && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
int retCount = true;
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
int retCount;
if (tableStruct != null) {
retCount = this.writeTableData(tableStruct.table, rowIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogTable table = category.getLogCommonTable(table_name);
if (table == null) {
return -1;
} else {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
retCount = this.writeTableData(table, rowIndex, buffer);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
}
}
}
}
} else {
return -1;
}
}

public int copyTable(int srcCategoryID, String srcTableName, int desCategoryID, String desTableName, int isOverwritten) {
if (srcCategoryID >= 1 && desCategoryID >= 1 && srcTableName != null && !srcTableName.trim().isEmpty() && desTableName != null && !desTableName.trim().isEmpty()) {
String src_name = srcTableName.trim();
String des_name = desTableName.trim();
ReferCategoryStruct srcCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(srcCategoryID);
if (srcCategoryStruct == null) {
return 0;
} else {
ReferCategoryStruct desCategoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(desCategoryID);
if (desCategoryStruct == null) {
return 0;
} else {
LogCategory srcCategory = srcCategoryStruct.getCategory();
LogCategory desCategory = desCategoryStruct.getCategory();
LogTable srcTable = srcCategory.getLogCommonTable(src_name);
if (srcTable == null) {
return 0;
} else {
if (desCategory.getLogCommonTable(des_name) != null) {
if (isOverwritten == 0) {
return 0;
}

desCategory.deleteLogging(des_name);
desCategoryStruct.removeTableElement(des_name);
}

int retCode = desCategory.copyLoggingFrom(srcTable, "");
if (retCode != 0) {
return 0;
} else {
desCategoryStruct.isModified = true;
return 1;
}
}
}
}
} else {
return 0;
}
}

public void removeTableAllRecords(int categoryID, String tableName) {
if (categoryID >= 1 && tableName != null && !tableName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct != null) {
String table_name = tableName.trim();
ReferTableStruct tableStruct = categoryStruct.getSpecifiedTableElement(table_name);
if (tableStruct != null) {
TableRecords tableRecords = new TableRecords();
tableStruct.table.readTableRecords(tableRecords);
int recordsNum = tableRecords.getRecordsNum();
if (recordsNum > 0) {
tableRecords.deleteTableRecords(0, recordsNum);
tableStruct.table.writeTableRecords(tableRecords);
categoryStruct.isModified = true;
}

} else {
LogCategory category = categoryStruct.getCategory();
if (category != null) {
LogTable table = category.getLogCommonTable(table_name);
if (table != null) {
tableStruct = new ReferTableStruct(table_name, table);
categoryStruct.addTableElement(tableStruct);
TableRecords tableRecords = new TableRecords();
tableStruct.table.readTableRecords(tableRecords);
int recordsNum = tableRecords.getRecordsNum();
if (recordsNum > 0) {
tableRecords.deleteTableRecords(0, recordsNum);
tableStruct.table.writeTableRecords(tableRecords);
categoryStruct.isModified = true;
}

}
}
}
}
}
}

public int getDocSize(int categoryID, String docName) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty()) {
String doc_name = docName.trim();
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
ReferDocStruct docStruct = categoryStruct.getSpecifiedDocElement(doc_name);
if (docStruct != null) {
return docStruct.doc.getLoggingProperties().getDocSize();
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return 0;
} else {
LogDocument doc = category.getLogDoc(doc_name);
if (doc == null) {
return 0;
} else {
docStruct = new ReferDocStruct(doc_name, doc);
categoryStruct.addDocElement(docStruct);
return docStruct.doc.getLoggingProperties().getDocSize();
}
}
}
}
} else {
return 0;
}
}

public int createDocument(int categoryID, String docName, int isOverwritten) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty()) {
String doc_name = docName.trim();
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return 0;
} else {
LogCategory category = categoryStruct.getCategory();
if (category.getLogDoc(doc_name) != null) {
if (isOverwritten == 0) {
return 0;
}

category.deleteLogging(doc_name);
categoryStruct.removeDocElement(doc_name);
}

LogDocument doc = category.createDocument(doc_name);
if (doc == null) {
return 0;
} else {
ReferDocStruct docStruct = new ReferDocStruct(doc_name, doc);
categoryStruct.addDocElement(docStruct);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return 0;
}
}

public int createDocument(int categoryID, String docName, String srcFilePath, int isOverwritten) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty() && srcFilePath != null && !srcFilePath.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
File srcFile = new File(srcFilePath.trim());
if (srcFile.exists() && srcFile.isFile()) {
String doc_name = docName.trim();
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
if (category.getLogDoc(doc_name) != null) {
if (isOverwritten == 0) {
return -1;
}

category.deleteLogging(doc_name);
categoryStruct.removeDocElement(doc_name);
}

boolean retCode = category.createDocument(doc_name, srcFilePath);
if (!retCode) {
return 0;
} else {
ReferDocStruct docStruct = new ReferDocStruct(doc_name, category.getLogDoc(doc_name));
categoryStruct.addDocElement(docStruct);
categoryStruct.isModified = true;
return 1;
}
}
} else {
return -1;
}
}
} else {
return -1;
}
}

public int readDocument(int categoryID, String docName, int offset, int byteSize, byte[] buffer) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String doc_name = docName.trim();
ReferDocStruct docStruct = categoryStruct.getSpecifiedDocElement(doc_name);
if (docStruct != null) {
return docStruct.doc.readDoc((long)offset, byteSize, buffer);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogDocument document = category.getLogDoc(doc_name);
if (document == null) {
return -1;
} else {
docStruct = new ReferDocStruct(doc_name, document);
categoryStruct.addDocElement(docStruct);
return document.readDoc((long)offset, byteSize, buffer);
}
}
}
}
} else {
return -1;
}
}

public int readDocument(int categoryID, String docName, String desFilePath) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty() && desFilePath != null && !desFilePath.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String doc_name = docName.trim();
ReferDocStruct docStruct = categoryStruct.getSpecifiedDocElement(doc_name);
if (docStruct != null) {
return docStruct.doc.readDoc(desFilePath.trim());
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogDocument document = category.getLogDoc(doc_name);
if (document == null) {
return -1;
} else {
docStruct = new ReferDocStruct(doc_name, document);
categoryStruct.addDocElement(docStruct);
return document.readDoc(desFilePath.trim());
}
}
}
}
} else {
return -1;
}
}

public int writeDocument(int categoryID, String docName, int offset, int byteSize, byte[] buffer) {
if (categoryID >= 1 && docName != null && !docName.trim().isEmpty() && buffer != null) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String doc_name = docName.trim();
int retCode = true;
ReferDocStruct docStruct = categoryStruct.getSpecifiedDocElement(doc_name);
int retCode;
if (docStruct != null) {
retCode = docStruct.doc.writeDoc((long)offset, byteSize, buffer);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
}

LogDocument document = category.getLogDoc(doc_name);
if (document == null) {
return -1;
}

docStruct = new ReferDocStruct(doc_name, document);
categoryStruct.addDocElement(docStruct);
retCode = document.writeDoc((long)offset, byteSize, buffer);
}

if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
}
} else {
return -1;
}
}

private int writeTableData(LogTable table, int rowIndex, float[] buffer) {
int rowCount = table.getRowCount();
TableRecords records = new TableRecords();
int retCode = table.readTableRecords(0, rowCount, records);
if (retCode != 0) {
return -1;
} else {
TableFields fields = records.getTableFields();
int value = rowIndex - rowCount;
if (value > 0) {
TableRecords newRecords = new TableRecords();
newRecords.init(value, fields);
records.appendTableRecords(newRecords);
}

int bufLength = buffer.length;

for(int i = 0; i < fields.getFieldNum() && bufLength >= i + 1; ++i) {
switch (fields.getDataType(i)) {
case 1:
records.setRecordByteData(rowIndex - 1, i, (byte)((int)buffer[i]));
break;
case 2:
records.setRecordShortData(rowIndex - 1, i, (short)((int)buffer[i]));
break;
case 3:
records.setRecordIntData(rowIndex - 1, i, (int)buffer[i]);
break;
case 4:
records.setRecordLongData(rowIndex - 1, i, (long)buffer[i]);
break;
case 5:
records.setRecordFloatData(rowIndex - 1, i, buffer[i]);
break;
case 6:
case 11:
records.setRecordDoubleData(rowIndex - 1, i, (double)buffer[i]);
break;
case 7:
case 8:
case 9:
case 10:
default:
records.setRecordStringData(rowIndex - 1, i, Float.toString(buffer[i]));
}
}

table.writeTableRecords(records);
return 1;
}
}

private int writeTableData(LogTable table, int rowIndex, int columnIndex, String buffer) {
int rowCount = table.getRowCount();
int columnCount = table.getColumnCount();
if (columnIndex > columnCount) {
return -1;
} else {
TableRecords records = new TableRecords();
int retCode = table.readTableRecords(0, rowCount, records);
if (retCode != 0) {
return -1;
} else {
TableFields fields = records.getTableFields();
int value = rowIndex - rowCount;
if (value > 0) {
TableRecords newRecords = new TableRecords();
newRecords.init(value, fields);
records.appendTableRecords(newRecords);
}

switch (fields.getDataType(columnIndex - 1)) {
case 1:
try {
records.setRecordByteData(rowIndex - 1, columnIndex - 1, Byte.parseByte(buffer));
} catch (NumberFormatException var17) {
records.setRecordByteData(rowIndex - 1, columnIndex - 1, (byte)-128);
}
break;
case 2:
try {
records.setRecordShortData(rowIndex - 1, columnIndex - 1, Short.parseShort(buffer));
} catch (NumberFormatException var16) {
records.setRecordShortData(rowIndex - 1, columnIndex - 1, (short)-32767);
}
break;
case 3:
try {
records.setRecordIntData(rowIndex - 1, columnIndex - 1, Integer.parseInt(buffer));
} catch (NumberFormatException var15) {
records.setRecordIntData(rowIndex - 1, columnIndex - 1, -99999);
}
break;
case 4:
try {
records.setRecordLongData(rowIndex - 1, columnIndex - 1, Long.parseLong(buffer));
} catch (NumberFormatException var14) {
records.setRecordLongData(rowIndex - 1, columnIndex - 1, -99999L);
}
break;
case 5:
try {
records.setRecordFloatData(rowIndex - 1, columnIndex - 1, Float.parseFloat(buffer));
} catch (NumberFormatException var13) {
records.setRecordFloatData(rowIndex - 1, columnIndex - 1, -99999.0F);
}
break;
case 6:
case 11:
try {
records.setRecordDoubleData(rowIndex - 1, columnIndex - 1, Double.parseDouble(buffer));
} catch (NumberFormatException var12) {
records.setRecordDoubleData(rowIndex - 1, columnIndex - 1, -99999.0);
}
break;
case 7:
case 8:
case 9:
case 12:
case 13:
case 14:
case 15:
case 16:
records.setRecordStringData(rowIndex - 1, columnIndex - 1, buffer);
case 10:
}

table.writeTableRecords(records);
return 1;
}
}
}

private int writeTableData(LogTable table, int rowIndex, String[] buffer) {
int rowCount = table.getRowCount();
TableRecords records = new TableRecords();
int retCode = table.readTableRecords(0, rowCount, records);
if (retCode != 0) {
return -1;
} else {
TableFields fields = records.getTableFields();
int value = rowIndex - rowCount;
if (value > 0) {
TableRecords newRecords = new TableRecords();
newRecords.init(value, fields);
records.appendTableRecords(newRecords);
}

int bufLength = buffer.length;

for(int i = 0; i < fields.getFieldNum() && bufLength >= i + 1; ++i) {
switch (fields.getDataType(i)) {
case 1:
try {
records.setRecordByteData(rowIndex - 1, i, Byte.parseByte(buffer[i]));
} catch (NumberFormatException var17) {
records.setRecordByteData(rowIndex - 1, i, (byte)-128);
}
break;
case 2:
try {
records.setRecordShortData(rowIndex - 1, i, Short.parseShort(buffer[i]));
} catch (NumberFormatException var16) {
records.setRecordShortData(rowIndex - 1, i, (short)-32767);
}
break;
case 3:
try {
records.setRecordIntData(rowIndex - 1, i, Integer.parseInt(buffer[i]));
} catch (NumberFormatException var15) {
records.setRecordIntData(rowIndex - 1, i, -99999);
}
break;
case 4:
try {
records.setRecordLongData(rowIndex - 1, i, Long.parseLong(buffer[i]));
} catch (NumberFormatException var14) {
records.setRecordLongData(rowIndex - 1, i, -99999L);
}
break;
case 5:
try {
records.setRecordFloatData(rowIndex - 1, i, Float.parseFloat(buffer[i]));
} catch (NumberFormatException var13) {
records.setRecordFloatData(rowIndex - 1, i, -99999.0F);
}
break;
case 6:
case 11:
try {
records.setRecordDoubleData(rowIndex - 1, i, Double.parseDouble(buffer[i]));
} catch (NumberFormatException var12) {
records.setRecordDoubleData(rowIndex - 1, i, -99999.0);
}
break;
case 7:
case 8:
case 9:
case 12:
case 13:
case 14:
records.setRecordStringData(rowIndex - 1, i, buffer[i]);
case 10:
case 15:
case 16:
}
}

table.writeTableRecords(records);
return 1;
}
}

private int readTableData(LogTable table, int rowIndex, float[] buffer) {
TableRecords records = new TableRecords();
int retCode = table.readTableRecords(rowIndex - 1, 1, records);
if (retCode != 0) {
return -1;
} else {
TableFields fields = records.getTableFields();
int bufLength = buffer.length;

for(int i = 0; i < fields.getFieldNum() && bufLength >= i + 1; ++i) {
switch (fields.getDataType(i)) {
case 1:
buffer[i] = (float)records.getRecordByteData(0, i);
break;
case 2:
buffer[i] = (float)records.getRecordShortData(0, i);
break;
case 3:
buffer[i] = (float)records.getRecordIntData(0, i);
break;
case 4:
buffer[i] = (float)records.getRecordLongData(0, i);
break;
case 5:
buffer[i] = records.getRecordFloatData(0, i);
break;
case 6:
case 11:
buffer[i] = (float)records.getRecordDoubleData(0, i);
break;
case 7:
case 8:
case 9:
case 10:
default:
buffer[i] = -99999.0F;
}
}

return 1;
}
}

private int readTableData(LogTable table, int rowIndex, String[] buffer) {
TableRecords records = new TableRecords();
int retCode = table.readTableRecords(rowIndex - 1, 1, records);
if (retCode != 0) {
return -1;
} else {
TableFields fields = records.getTableFields();
int bufLength = buffer.length;

for(int i = 0; i < fields.getFieldNum() && bufLength >= i + 1; ++i) {
switch (fields.getDataType(i)) {
case 1:
buffer[i] = Byte.toString(records.getRecordByteData(0, i));
break;
case 2:
buffer[i] = Short.toString(records.getRecordShortData(0, i));
break;
case 3:
buffer[i] = Integer.toString(records.getRecordIntData(0, i));
break;
case 4:
buffer[i] = Long.toString(records.getRecordLongData(0, i));
break;
case 5:
buffer[i] = Float.toString(records.getRecordFloatData(0, i));
break;
case 6:
case 11:
buffer[i] = Double.toString(records.getRecordDoubleData(0, i));
break;
case 7:
case 8:
case 9:
case 10:
default:
buffer[i] = records.getRecordStringData(0, i);
}
}

return 1;
}
}

private void addWellNotification(LogWell well, int notifyType) {
String wsPath = (new DataPath(well.getLogWorkSpace())).toString();
NotificationStruct infoStruct = null;
String wellName = well.getWellName();
WellNotifiedInfo wellInfo = new WellNotifiedInfo(wellName, notifyType);

for(int i = 0; i < this.wellNotificationList.size(); ++i) {
infoStruct = (NotificationStruct)this.wellNotificationList.get(i);
if (infoStruct.getDataPath().equalsIgnoreCase(wsPath) && !infoStruct.contains(wellName)) {
infoStruct.addNotifiedInfo(wellInfo);
return;
}
}

infoStruct = new NotificationStruct(wsPath);
infoStruct.addNotifiedInfo(wellInfo);
this.wellNotificationList.add(infoStruct);
}

private void addCategoryNotification(ReferCategoryStruct categoryStruct, int notifyType) {
categoryStruct.isModified = false;
LogCategory category = categoryStruct.getCategory();
String wellPath = (new DataPath(category.getLogWell())).toString();
NotificationStruct infoStruct = null;
String categoryName = category.getCategoryName();
CategoryNotifiedInfo categoryInfo = new CategoryNotifiedInfo(categoryName, notifyType);

for(int i = 0; i < this.categoryNotificationList.size(); ++i) {
infoStruct = (NotificationStruct)this.categoryNotificationList.get(i);
if (infoStruct.getDataPath().equalsIgnoreCase(wellPath) && !infoStruct.contains(categoryName)) {
infoStruct.addNotifiedInfo(categoryInfo);
return;
}
}

infoStruct = new NotificationStruct(wellPath);
infoStruct.addNotifiedInfo(categoryInfo);
this.categoryNotificationList.add(infoStruct);
}

private LogCurve copyCurveAction(LogCategory category, LogCurve srcCurve, String desCurveName) {
LoggingProperties properties = srcCurve.getLoggingProperties();
byte curveType = properties.getLoggingType();
double startDep = properties.getStartDepth();
double depthLevel = properties.getDepthLevel();
int dataCount = (int)((properties.getEndDepth() - startDep) / depthLevel + 1.5);
int readCount = this.computReadRowCount(curveType, properties);
int readingNum = readCount > dataCount ? dataCount : readCount;
int indexToRead = 0;
double readDep = startDep;
LogCurve newCurve = null;
switch (curveType) {
case 1:
Curve1D curve1D = new Curve1D();
curve1D.getInfoFromLoggingProperties(properties);
curve1D.setCurveName(desCurveName);
newCurve = (LogCurve1D)category.createCurve(curve1D);
double[] data1D = null;

for(LogCurve1D oldCurve1D = (LogCurve1D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * depthLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

double[] data1D = new double[readingNum];
oldCurve1D.readData(readDep, readingNum, data1D, (ReadMode)null);
((LogCurve1D)newCurve).writeData(readDep, readingNum, data1D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
break;
case 2:
Curve2D curve2D = new Curve2D();
curve2D.getInfoFromLoggingProperties(properties);
curve2D.setCurveName(desCurveName);
newCurve = (LogCurve2D)category.createCurve(curve2D);
double[][] data2D = (double[][])null;

for(LogCurve2D oldCurve2D = (LogCurve2D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * depthLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

data2D = new double[readingNum][properties.getTimeSampleNum()];
oldCurve2D.readData(readDep, readingNum, data2D, (ReadMode)null);
((LogCurve2D)newCurve).writeData(readDep, readingNum, data2D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
break;
case 3:
Curve3D curve3D = new Curve3D();
curve3D.getInfoFromLoggingProperties(properties);
curve3D.setCurveName(desCurveName);
newCurve = (LogCurve3D)category.createCurve(curve3D);
double[][][] data3D = (double[][][])null;
double[][] data = (double[][])null;
int X2Nps = properties.getArrayNum();
int X3Npw = properties.getTimeSampleNum();

for(LogCurve3D oldCurve3D = (LogCurve3D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * depthLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

data3D = new double[readingNum][X2Nps][X3Npw];

for(int i = 0; i < X2Nps; ++i) {
data = new double[readingNum][X3Npw];
oldCurve3D.readData(readDep, readingNum, i, data, (ReadMode)null);

for(int j = 0; j < readingNum; ++j) {
System.arraycopy(data[j], 0, data3D[j][i], 0, X3Npw);
}
}

((LogCurve3D)newCurve).writeDataWithoutBuffer(readDep, readingNum, data3D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
}

return (LogCurve)newCurve;
}

public void dispatchNotification() {
MessageCommunicationClient client = new MessageCommunicationClient();
if (client.connectToServer()) {
NotificationMessage message = null;
if (this.wellNotificationList.size() > 0) {
message = new NotificationMessage();
message.setCommmand(2);
message.setNotificationList(this.wellNotificationList);
client.sendMessage(message);
this.wellNotificationList.clear();
}

ReferCategoryStruct categoryStruct = null;

for(int i = 0; i < ReferCategoryContainer.getInstance().size(); ++i) {
categoryStruct = ReferCategoryContainer.getInstance().elemenAt(i);
if (categoryStruct.isModified) {
this.addCategoryNotification(ReferCategoryContainer.getInstance().elemenAt(i), 2);
}
}

if (this.categoryNotificationList.size() > 0) {
message = new NotificationMessage();
message.setCommmand(3);
message.setNotificationList(this.categoryNotificationList);
client.sendMessage(message);
this.categoryNotificationList.clear();
}

message = new NotificationMessage();
message.setCommmand(1);
client.sendMessage(message);
if (client != null) {
client.disconnect();
}

}
}

private int writeCurve_3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int retCode = true;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(buffer, i * arraySize, data[i], 0, arraySize);
}

retCode = curve.writeData(startDepth, arrayIndex, dataCount, data, (WriteMode)null);
if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(buffer, i * arraySize, data[i], 0, arraySize);
}

retCode = curve.writeData(startDepth, arrayIndex, dataCount, data, (WriteMode)null);
if (retCode == 0) {
return 0;
} else {
categoryStruct.isModified = true;
return retCode;
}
}
}
}
}
} else {
return -1;
}
}

private int readCurve_3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int upwardCount, int downWardCount, int arraySize, float[] buffer, ReadMode readMode) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int dataCount = upwardCount + downWardCount + 1;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, depthLevel, upwardCount, downWardCount, arrayIndex, data, readMode);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, depthLevel, upwardCount, downWardCount, arrayIndex, data, readMode);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_3D(int categoryID, String curveName, int arrayIndex, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int dataCount = upwardCount + downWardCount + 1;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, upwardCount, downWardCount, arrayIndex, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, upwardCount, downWardCount, arrayIndex, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_3D(int categoryID, String curveName, int arrayIndex, double startDepth, double depthLevel, int dataCount, int arraySize, float[] buffer, ReadMode readMode) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, depthLevel, dataCount, arrayIndex, data, readMode);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, depthLevel, dataCount, arrayIndex, data, readMode);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_3D(int categoryID, String curveName, int arrayIndex, double startDepth, int dataCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve3D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve3D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, dataCount, arrayIndex, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve3D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, dataCount, arrayIndex, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int writeCurve_2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int retCode = true;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve2D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(buffer, i * arraySize, data[i], 0, arraySize);
}

retCode = curve.writeData(startDepth, dataCount, data, (WriteMode)null);
if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(buffer, i * arraySize, data[i], 0, arraySize);
}

retCode = curve.writeData(startDepth, dataCount, data, (WriteMode)null);
if (retCode > 0) {
categoryStruct.isModified = true;
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_2D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
int dataCount = upwardCount + downWardCount + 1;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
LogCurve2D curve = null;
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, upwardCount, downWardCount, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, upwardCount, downWardCount, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, short[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
LogCurve2D curve = null;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
short[][] data = new short[dataCount][arraySize];
int retCode = curve.readData(startDepth, dataCount, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, dataCount, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_2D(int categoryID, String curveName, double startDepth, int dataCount, int arraySize, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
LogCurve2D curve = null;
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
int retCode;
if (curveStruct != null) {
curve = (LogCurve2D)curveStruct.curve;
float[][] data = new float[dataCount][arraySize];
int retCode = curve.readData(startDepth, dataCount, data, (ReadMode)null);
if (retCode > 0) {
for(retCode = 0; retCode < retCode; ++retCode) {
System.arraycopy(data[retCode], 0, buffer, retCode * arraySize, arraySize);
}
}

return retCode;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
curve = category.getLogCurve2D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
float[][] data = new float[dataCount][arraySize];
retCode = curve.readData(startDepth, dataCount, data, (ReadMode)null);

for(int i = 0; i < retCode; ++i) {
System.arraycopy(data[i], 0, buffer, i * arraySize, arraySize);
}

return retCode;
}
}
}
}
} else {
return -1;
}
}

private int writeCurve_1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
int retCount = true;
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
int retCount;
if (curveStruct != null) {
retCount = ((LogCurve1D)curveStruct.curve).writeData(startDepth, dataCount, buffer, (WriteMode)null);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogCurve1D curve = category.getLogCurve1D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
retCount = curve.writeData(startDepth, dataCount, buffer, (WriteMode)null);
if (retCount > 0) {
categoryStruct.isModified = true;
}

return retCount;
}
}
}
}
} else {
return -1;
}
}

private int readCurve_1D(int categoryID, String curveName, double startDepth, int upwardCount, int downWardCount, float[] buffer) {
if (categoryID >= 1 && upwardCount >= 0 && downWardCount >= 0 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve1D)curveStruct.curve).readData(startDepth, upwardCount, downWardCount, buffer, (ReadMode)null);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogCurve1D curve = category.getLogCurve1D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.readData(startDepth, upwardCount, downWardCount, buffer, (ReadMode)null);
}
}
}
}
} else {
return -1;
}
}

private int readCurve_1D(int categoryID, String curveName, double startDepth, int dataCount, float[] buffer) {
if (categoryID >= 1 && dataCount >= 1 && buffer != null && curveName != null && !curveName.trim().isEmpty()) {
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryID);
if (categoryStruct == null) {
return -1;
} else {
String curve_name = curveName.trim();
ReferCurveStruct curveStruct = categoryStruct.getSpecifiedCurveElement(curve_name);
if (curveStruct != null) {
return ((LogCurve1D)curveStruct.curve).readData(startDepth, dataCount, buffer, (ReadMode)null);
} else {
LogCategory category = categoryStruct.getCategory();
if (category == null) {
return -1;
} else {
LogCurve1D curve = category.getLogCurve1D(curve_name);
if (curve == null) {
return -1;
} else {
curveStruct = new ReferCurveStruct(curve_name, curve);
categoryStruct.addCurveElement(curveStruct);
return curve.readData(startDepth, dataCount, buffer, (ReadMode)null);
}
}
}
}
} else {
return -1;
}
}

private int isCategoryExisted(DataPath dataPath) {
String catetgoryPath = dataPath.toString(4, false);
if (ReferCategoryContainer.getInstance().getSpecifiedElement(catetgoryPath) != null) {
return 1;
} else {
String wellPath = dataPath.toString(3, false);
File file = new File(wellPath);
if (file.exists() && file.isDirectory()) {
String identifierFilePath = wellPath + File.separator + "wellproperties.xml";
file = new File(identifierFilePath);
if (!file.exists()) {
return 0;
} else {
file = new File(catetgoryPath + ".cifp");
return !file.exists() ? 0 : 1;
}
} else {
return 0;
}
}
}

private CurveXD buildCurveXD(String curveName, int arrayNum, int arraySize, double startDepth, int sampleCount, double depthLevel, int dataType, String curveUnit, String depthUnit) {
CurveXD curveXD = null;
if (arrayNum == 1) {
if (arraySize == 1) {
curveXD = new Curve1D();
((CurveXD)curveXD).setCurveType((byte)1);
} else {
curveXD = new Curve2D();
((Curve2D)curveXD).setTimeSampleNum(arraySize);
((CurveXD)curveXD).setCurveType((byte)2);
}
} else {
curveXD = new Curve3D();
((Curve3D)curveXD).setArrayNum(arrayNum);
((Curve3D)curveXD).setTimeSampleNum(arraySize);
((CurveXD)curveXD).setCurveType((byte)3);
}

((CurveXD)curveXD).setCurveName(curveName);
((CurveXD)curveXD).setStartDepth(startDepth);
((CurveXD)curveXD).setEndDepth(startDepth + depthLevel * (double)(sampleCount - 1));
((CurveXD)curveXD).setDepthLevel(depthLevel);
((CurveXD)curveXD).setDataType((byte)dataType);
((CurveXD)curveXD).setDepthUnit(depthUnit);
((CurveXD)curveXD).setCurveUnit(curveUnit);
return (CurveXD)curveXD;
}

private int createRemoteCategory(DataPath dataPath, String userName, String userPassword) {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
String str = "%%%";
String connectPara = dataPath.getDataSourceName() + str + userName + str + userPassword;
if (!dataSource.connect(connectPara)) {
return 0;
} else {
LogWorkSpace ws = dataSource.getLogWorkSpace(dataPath.getWorkSpaceName());
if (ws == null) {
return 0;
} else {
LogWell well = ws.getLogWell(dataPath.getWellName());
if (well == null) {
return 0;
} else {
String categoryName = dataPath.getCategoryName();
if (well.getLogCategory(categoryName) != null) {
return 0;
} else {
CategoryProperties properties = new CategoryProperties();
properties.setCategoryName(categoryName);
LogCategory category = well.createCategory(properties);
if (category == null) {
return 0;
} else {
int categoryID = this.getID();
ReferCategoryStruct categoryStruct = new ReferCategoryStruct(dataPath.toString(4, true), category, categoryID);
ReferCategoryContainer.getInstance().addElement(categoryStruct);
this.addCategoryNotification(categoryStruct, 0);
return categoryID;
}
}
}
}
}
}

private int createLocalWell(DataPath dataPath) {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
if (!dataSource.connect(dataPath.getDataSourceName())) {
return 0;
} else {
LogWorkSpace workSpace = dataSource.getLogWorkSpace(dataPath.getWorkSpaceName());
if (workSpace == null) {
return 0;
} else {
String wellName = dataPath.getWellName();
LogWell well = workSpace.getLogWell(wellName);
if (well != null) {
return 0;
} else {
well = workSpace.createWell(wellName);
if (well == null) {
return 0;
} else {
this.addWellNotification(well, 0);
return 1;
}
}
}
}
}

private int createLocalCategory(DataPath dataPath, int isOverwritten) {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
if (!dataSource.connect(dataPath.getDataSourceName())) {
return 0;
} else {
LogWorkSpace workSpace = dataSource.getLogWorkSpace(dataPath.getWorkSpaceName());
if (workSpace == null) {
return 0;
} else {
String wellName = dataPath.getWellName();
LogWell well = workSpace.getLogWell(wellName);
if (well == null) {
well = workSpace.createWell(wellName);
if (well == null) {
return 0;
}
}

String categoryName = dataPath.getCategoryName();
LogCategory logCategory = well.getLogCategory(categoryName);
if (logCategory != null) {
if (isOverwritten == 0) {
return 0;
}

if (!well.deleteCategory(categoryName)) {
return -1;
}

ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(dataPath.toString(4, true));
if (categoryStruct == null) {
categoryStruct = new ReferCategoryStruct(dataPath.toString(4, true), logCategory, this.getID());
} else {
ReferCategoryContainer.getInstance().removeElement(categoryStruct.getCategoryID());
}

this.addCategoryNotification(categoryStruct, 1);
}

CategoryProperties properties = new CategoryProperties();
properties.setCategoryName(categoryName);
LogCategory category = well.createCategory(properties);
if (category == null) {
return 0;
} else {
int categoryID = this.getID();
ReferCategoryStruct categoryStruct = new ReferCategoryStruct(dataPath.toString(4, true), category, categoryID);
ReferCategoryContainer.getInstance().addElement(categoryStruct);
this.addCategoryNotification(categoryStruct, 0);
return categoryID;
}
}
}
}

private int getCategoryID(DataPath dataPath) {
String categoryPath = dataPath.toString(4, true);
ReferCategoryStruct categoryStruct = ReferCategoryContainer.getInstance().getSpecifiedElement(categoryPath);
if (categoryStruct != null) {
return categoryStruct.getCategoryID();
} else {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
if (!dataSource.connect(dataPath.getDataSourceName())) {
return 0;
} else {
LogWorkSpace workSpace = dataSource.getLogWorkSpace(dataPath.getWorkSpaceName());
if (workSpace == null) {
return 0;
} else {
LogWell well = workSpace.getLogWell(dataPath.getWellName());
if (well == null) {
return 0;
} else {
LogCategory category = well.getLogCategory(dataPath.getCategoryName());
if (category == null) {
return 0;
} else {
int id = this.getID();
ReferCategoryContainer.getInstance().addElement(new ReferCategoryStruct(categoryPath, category, id));
if (DataEngine.getDefault().getMainDataSource() == null) {
DataEngine.getDefault().setMainDataSource(dataSource);
}

return id;
}
}
}
}
}
}

private int getID() {
int categoryID = 1;
int id = false;

boolean flag;
do {
flag = false;

for(int i = 0; i < ReferCategoryContainer.getInstance().size(); ++i) {
int id = ReferCategoryContainer.getInstance().elemenAt(i).getCategoryID();
if (categoryID == id) {
flag = true;
++categoryID;
break;
}
}
} while(flag);

return categoryID;
}

private int computReadRowCount(byte curveType, LoggingProperties logPros) {
int allowMaxSize = 262144;
int size = Global.sizeof(logPros.getDataType());
switch (curveType) {
case 1:
return allowMaxSize / size;
case 2:
return allowMaxSize / size / logPros.getTimeSampleNum();
case 3:
return allowMaxSize / size / logPros.getArrayNum() / logPros.getTimeSampleNum();
default:
return -1;
}
}

private LogCurve changeCurveDepthLevel(LogCategory category, LogCurve srcCurve, double newDepLevel, String newCurveSuffix) {
LoggingProperties properties = srcCurve.getLoggingProperties();
byte curveType = properties.getLoggingType();
double startDep = properties.getStartDepth();
int dataCount = (int)((properties.getEndDepth() - startDep) / newDepLevel + 1.5);
String newCurveName = properties.getLoggingName() + newCurveSuffix;
int readCount = this.computReadRowCount(curveType, properties);
int readingNum = readCount > dataCount ? dataCount : readCount;
int indexToRead = 0;
double readDep = startDep;
LogCurve newCurve = null;
switch (curveType) {
case 1:
Curve1D curve1D = new Curve1D();
curve1D.getInfoFromLoggingProperties(properties);
curve1D.setCurveName(newCurveName);
curve1D.setDepthLevel(newDepLevel);
newCurve = (LogCurve1D)category.createCurve(curve1D);
double[] data1D = null;

for(LogCurve1D oldCurve1D = (LogCurve1D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * newDepLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

double[] data1D = new double[readingNum];
oldCurve1D.readData(readDep, newDepLevel, readingNum, data1D, (ReadMode)null);
((LogCurve1D)newCurve).writeData(readDep, readingNum, data1D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
break;
case 2:
Curve2D curve2D = new Curve2D();
curve2D.getInfoFromLoggingProperties(properties);
curve2D.setCurveName(newCurveName);
curve2D.setDepthLevel(newDepLevel);
newCurve = (LogCurve2D)category.createCurve(curve2D);
double[][] data2D = (double[][])null;

for(LogCurve2D oldCurve2D = (LogCurve2D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * newDepLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

data2D = new double[readingNum][properties.getTimeSampleNum()];
oldCurve2D.readData(readDep, newDepLevel, readingNum, data2D, (ReadMode)null);
((LogCurve2D)newCurve).writeData(readDep, readingNum, data2D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
break;
case 3:
Curve3D curve3D = new Curve3D();
curve3D.getInfoFromLoggingProperties(properties);
curve3D.setCurveName(newCurveName);
curve3D.setDepthLevel(newDepLevel);
newCurve = (LogCurve3D)category.createCurve(curve3D);
double[][][] data3D = (double[][][])null;
double[][] data = (double[][])null;
int X2Nps = properties.getArrayNum();
int X3Npw = properties.getTimeSampleNum();

for(LogCurve3D oldCurve3D = (LogCurve3D)srcCurve; indexToRead < dataCount; readDep += (double)readingNum * newDepLevel) {
if (dataCount - indexToRead < readingNum) {
readingNum = dataCount - indexToRead;
}

data3D = new double[readingNum][X2Nps][X3Npw];

for(int i = 0; i < X2Nps; ++i) {
data = new double[readingNum][X3Npw];
oldCurve3D.readData(readDep, readingNum, i, data, (ReadMode)null);

for(int j = 0; j < readingNum; ++j) {
System.arraycopy(data[j], 0, data3D[j][i], 0, X3Npw);
}
}

((LogCurve3D)newCurve).writeDataWithoutBuffer(readDep, readingNum, data3D, (WriteMode)null);
indexToRead += readingNum;
}

((LogCurve)newCurve).flush();
}

String oldName = srcCurve.getName();
category.deleteLogging(oldName);
((LogCurve)newCurve).rename(oldName);
return (LogCurve)newCurve;
}
}

DataServiceIntegratedIO.java

简略方法

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
public void flushData()

public void dataChangedNotification()

public int getProcessState()

public int setNextDepthRangeDepths()

public double getDEP()

public double getDEPO()

public double getSDEP()

public double getEDEP()

public double getSTDEP()

public double getENDEP()

public double getRLEV()

public double getRLEVO()

public void getParameterValues(float[] values)

public int getInDataCount()

public int getOutDataCount()

public int getDepthSegmentCount()

public int getInputCurveValue(int index, double startDepth, int dataCount, float[] values)

public int getInputCurveValues(double currentDep, float[] values)

public void setOutputCurveValues(double currentDep, float[] values)

public void setInArrayCurve(String str)

public void setOutArrayCurve(String str)

public void setOutputCurveUnit(String str)

public void setZero(int bzero)

public int setOutputCifpPath(String cifpPath)

public void setInterpolation(int mode)

public void setInputDepthLevel(double depLevel)

public void setOutputDepthLevel(double depLevel)

public int readInpFile()

public void setInputCurveNames(String[] curveNames)

public void setOutputCurveNames(String[] curveNames)

public void setParameterNames(String[] curveNames)

public void setParameterDefaultValues(float[] values)

public String getErrorMessage()

public int setInpFilePath(String inpPath)

public int getCifpCount()

public String getCifpPath(int index)

public int setCifpPath(String cifpPath)

public CurveProperty getInputCurveProperty(int index)

public String getRedirectionInputCurveName(int index)

public String getRedirectionOutputCurveName(int index)

public int getInputCurveExistFlag(int index)

public void getInputCurveValue(double depth, int index, float[] values)

public int setOutputCurveValue(int index, double startDepth, int dataCount, float[] values)

public void setOutputCurveValue(double depth, int index, float[] values)

类源码

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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cif.dataservice.io;

import cif.baseutil.CifpFileCardWrapper;
import cif.baseutil.InpFileWrapper;
import cif.dataengine.DataPath;
import cif.dataengine.io.CategoryProperties;
import cif.dataengine.io.Curve1D;
import cif.dataengine.io.Curve2D;
import cif.dataengine.io.Curve3D;
import cif.dataengine.io.CurveXD;
import cif.dataengine.io.LogCategory;
import cif.dataengine.io.LogCurve;
import cif.dataengine.io.LogCurve1D;
import cif.dataengine.io.LogCurve2D;
import cif.dataengine.io.LogCurve3D;
import cif.dataengine.io.LogDataSource;
import cif.dataengine.io.LogWell;
import cif.dataengine.io.LogWorkSpace;
import cif.dataengine.io.LoggingProperties;
import cif.dataengine.io.ReadMode;
import cif.dataengine.io.WriteMode;
import cif.dataservice.CategoryNotifiedInfo;
import cif.dataservice.NotificationMessage;
import cif.dataservice.NotificationStruct;
import cif.dataservice.client.MessageCommunicationClient;
import java.io.File;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.ResourceBundle;

public class DataServiceIntegratedIO {
private InpFileWrapper inpFileWrapper = null;
private final StringBuffer errorMsg = new StringBuffer();
private String inpFilePath = null;
private LogCategory[] inputCategorys = null;
private LogCategory[] outputCategorys = null;
private CurveItem[][] inputCurveItems = (CurveItem[][])null;
private CurveItem[][] outputCurveItems = (CurveItem[][])null;
private double[] depthLevels = null;
private boolean isModifiedInLevel = false;
private double[] depoLevels = null;
private boolean isModifiedOutLevel = false;
private String[] inputCurveNames = null;
private String[] outputCurveNames = null;
private String[] parameterNames = null;
private String[] parameterDefaultValues = null;
private int inputCurveCount = 0;
private int outputCurveCount = 0;
private boolean isCleaningData = false;
private double dep;
private double depo;
private final ArrayList<ArrayCurveSetItem> inputArrayCurveSets = new ArrayList();
private final ArrayList<ArrayCurveSetItem> outputArrayCurveSets = new ArrayList();
private final ArrayList<NotificationStruct> categoryNotificationList = new ArrayList();
private final LinkedHashMap<String, ModifiedOutputProperty> outputCurvePropertyHashMap = new LinkedHashMap();
private int currentZoneIndex = 0;
private int currentCategoryIndex = 0;
private int inDataCount = 0;
private int outDataCount = 0;
private final ReadMode readMode = new ReadMode();
private double customDepLevel = 99999.0;
private double customDepoLevel = 99999.0;

public DataServiceIntegratedIO() {
this.inpFileWrapper = new InpFileWrapper();
}

public void flushData() {
LogCurve curve = null;
CurveItem[][] var2 = this.outputCurveItems;
int var3 = var2.length;

int var4;
for(var4 = 0; var4 < var3; ++var4) {
CurveItem[] outputCurveItem = var2[var4];
CurveItem[] var6 = outputCurveItem;
int var7 = outputCurveItem.length;

for(int var8 = 0; var8 < var7; ++var8) {
CurveItem outputCurveItem1 = var6[var8];
curve = outputCurveItem1.getCurve();
if (curve != null) {
curve.flush();
}
}
}

LogCategory[] var10 = this.inputCategorys;
var3 = var10.length;

LogCategory outputCategory;
for(var4 = 0; var4 < var3; ++var4) {
outputCategory = var10[var4];
outputCategory.close();
}

var10 = this.outputCategorys;
var3 = var10.length;

for(var4 = 0; var4 < var3; ++var4) {
outputCategory = var10[var4];
outputCategory.close();
}

}

public void dataChangedNotification() {
MessageCommunicationClient client = new MessageCommunicationClient();
if (client.connectToServer()) {
NotificationMessage message = null;
if (this.categoryNotificationList.size() > 0) {
message = new NotificationMessage();
message.setCommmand(3);
message.setNotificationList(this.categoryNotificationList);
client.sendMessage(message);
message = new NotificationMessage();
message.setCommmand(1);
client.sendMessage(message);
message = new NotificationMessage();
message.setCommmand(4);
client.sendMessage(message);
}

client.disconnect();
}
}

public int getProcessState() {
if (this.currentCategoryIndex == this.inputCategorys.length - 1 && this.currentZoneIndex == this.inpFileWrapper.getZoneCount(this.currentCategoryIndex) - 1) {
return 0;
} else {
++this.currentCategoryIndex;
this.currentZoneIndex = 0;
this.dep = this.depo = this.inpFileWrapper.getAllZoneStartDepth(this.currentCategoryIndex);
return 1;
}
}

public int setNextDepthRangeDepths() {
int tempNum = this.currentZoneIndex;
++tempNum;
if (tempNum == this.inpFileWrapper.getZoneCount(this.currentCategoryIndex)) {
return 0;
} else {
++this.currentZoneIndex;
this.dep = this.depo = this.inpFileWrapper.getZoneStartDepth(this.currentCategoryIndex, this.currentZoneIndex);
return 1;
}
}

public double getDEP() {
return this.dep;
}

public double getDEPO() {
return this.depo;
}

public double getSDEP() {
return this.inpFileWrapper.getZoneStartDepth(this.currentCategoryIndex, this.currentZoneIndex);
}

public double getEDEP() {
return this.inpFileWrapper.getZoneEndDepth(this.currentCategoryIndex, this.currentZoneIndex);
}

public double getSTDEP() {
return this.inpFileWrapper.getAllZoneStartDepth(this.currentCategoryIndex);
}

public double getENDEP() {
return this.inpFileWrapper.getAllZoneEndDepth(this.currentCategoryIndex);
}

public double getRLEV() {
return this.depthLevels[this.currentCategoryIndex];
}

public double getRLEVO() {
return this.depoLevels[this.currentCategoryIndex];
}

public void getParameterValues(float[] values) {
this.inpFileWrapper.getParameterValues(this.currentCategoryIndex, this.currentZoneIndex, values);
}

public int getInDataCount() {
CurveItem item = null;

for(int i = 0; i < this.inputCurveCount; ++i) {
item = this.inputCurveItems[this.currentCategoryIndex][i];
this.inDataCount += item.getArrayNum() * item.getArraySize();
}

return this.inDataCount;
}

public int getOutDataCount() {
CurveItem item = null;

for(int i = 0; i < this.outputCurveCount; ++i) {
item = this.outputCurveItems[this.currentCategoryIndex][i];
this.outDataCount += item.getArrayNum() * item.getArraySize();
}

return this.outDataCount;
}

public int getDepthSegmentCount() {
return this.inpFileWrapper.getZoneCount(this.currentCategoryIndex);
}

public int getInputCurveValue(int index, double startDepth, int dataCount, float[] values) {
int size = this.inputCurveItems[this.currentCategoryIndex].length;
if (index >= 0 && index < size) {
int pos = 0;
CurveItem curveItem = this.inputCurveItems[this.currentCategoryIndex][index];
LogCurve curve = curveItem.getCurve();
int array2DSize;
int array3DSize;
if (curve == null) {
for(array2DSize = 0; array2DSize < curveItem.getArrayNum(); ++array2DSize) {
for(int i = 0; i < dataCount; ++i) {
for(array3DSize = 0; array3DSize < curveItem.getArraySize(); ++array3DSize) {
values[pos++] = -99999.0F;
}
}
}

return pos;
} else {
switch (curve.getLoggingType()) {
case 1:
pos = ((LogCurve1D)curve).readData(startDepth, this.depthLevels[this.currentCategoryIndex], dataCount, values, this.readMode);
break;
case 2:
array2DSize = curveItem.getRealArraySize();
float[][] float2DBuffer = new float[dataCount][array2DSize];
((LogCurve2D)curve).readData(startDepth, this.depthLevels[this.currentCategoryIndex], dataCount, float2DBuffer, this.readMode);

for(array3DSize = 0; array3DSize < dataCount; ++array3DSize) {
System.arraycopy(float2DBuffer[array3DSize], pos, values, pos, array2DSize);
pos += array2DSize;
}

return pos;
case 3:
array3DSize = curveItem.getRealArraySize();
int array3DNum = curveItem.getRealArrayNum();
float[][] float3DBuffer = (float[][])null;

for(int k = 0; k < array3DNum; ++k) {
float3DBuffer = new float[dataCount][array3DSize];
((LogCurve3D)curve).readData(this.dep, this.depthLevels[this.currentCategoryIndex], dataCount, k, float3DBuffer, this.readMode);

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(float3DBuffer[i], 0, values, pos, array3DSize);
pos += array3DSize;
}
}
}

return pos;
}
} else {
return 0;
}
}

public int getInputCurveValues(double currentDep, float[] values) {
this.dep = currentDep;
if (this.inDataCount == 0) {
return 0;
} else {
CurveItem curveItem = null;
LogCurve curve = null;
int pos = 0;

for(int i = 0; i < this.inputCurveCount; ++i) {
curveItem = this.inputCurveItems[this.currentCategoryIndex][i];
curve = curveItem.getCurve();
int read2DArraySize;
if (curve == null) {
for(int j = 0; j < curveItem.getArrayNum(); ++j) {
for(read2DArraySize = 0; read2DArraySize < curveItem.getArraySize(); ++read2DArraySize) {
values[pos++] = -99999.0F;
}
}
} else {
int read3DArraySize;
switch (curve.getLoggingType()) {
case 1:
float[] float1DBuffer = new float[]{-99999.0F};
((LogCurve1D)curve).readData(this.dep, this.depthLevels[this.currentCategoryIndex], 1, float1DBuffer, this.readMode);
values[pos++] = float1DBuffer[0];
break;
case 2:
read2DArraySize = curveItem.getArraySize();
int array2DSize = curveItem.getRealArraySize();
float[][] float2DBuffer = new float[1][array2DSize];

for(read3DArraySize = 0; read3DArraySize < array2DSize; ++read3DArraySize) {
float2DBuffer[0][read3DArraySize] = -99999.0F;
}

((LogCurve2D)curve).readData(this.dep, this.depthLevels[this.currentCategoryIndex], 1, float2DBuffer, this.readMode);
System.arraycopy(float2DBuffer[0], 0, values, pos, Math.min(read2DArraySize, array2DSize));
pos += read2DArraySize;
break;
case 3:
read3DArraySize = curveItem.getArraySize();
int read3DArrayNum = curveItem.getArrayNum();
int array3DSize = curveItem.getRealArraySize();
int array3DNum = curveItem.getRealArrayNum();
float[][] float3DBuffer = (float[][])null;

for(int k = 0; k < Math.min(read3DArrayNum, array3DNum); ++k) {
float3DBuffer = new float[1][array3DSize];

for(int j = 0; j < array3DSize; ++j) {
float3DBuffer[0][j] = -99999.0F;
}

((LogCurve3D)curve).readData(this.dep, this.depthLevels[this.currentCategoryIndex], 1, k, float3DBuffer, this.readMode);
System.arraycopy(float3DBuffer[0], 0, values, pos, Math.min(read3DArraySize, array3DSize));
pos += read3DArraySize;
}
}
}
}

return pos;
}
}

public void setOutputCurveValues(double currentDep, float[] values) {
this.depo = currentDep;
if (this.outDataCount != 0) {
CurveItem curveItem = null;
LogCurve curve = null;
int pos = 0;

for(int i = 0; i < this.outputCurveCount; ++i) {
curveItem = this.outputCurveItems[this.currentCategoryIndex][i];
curve = curveItem.getCurve();
switch (curve.getLoggingType()) {
case 1:
float[] float1DBuffer = new float[]{values[pos++]};
((LogCurve1D)curve).writeData(this.depo, 1, float1DBuffer, (WriteMode)null);
break;
case 2:
int write2DArraySize = curveItem.getArraySize();
int array2DSize = curveItem.getRealArraySize();
float[][] float2DBuffer = new float[1][array2DSize];
System.arraycopy(values, pos, float2DBuffer[0], 0, Math.min(write2DArraySize, array2DSize));
((LogCurve2D)curve).writeData(this.depo, 1, float2DBuffer, (WriteMode)null);
pos += write2DArraySize;
break;
case 3:
int write3DArraySize = curveItem.getArraySize();
int write3DArrayNum = curveItem.getArrayNum();
int array3DNum = curveItem.getRealArrayNum();
int array3DSize = curveItem.getRealArraySize();
float[][] float3DBuffer = (float[][])null;
int init3DSize = Math.min(write3DArraySize, array3DSize);

for(int k = 0; k < Math.min(write3DArrayNum, array3DNum); ++k) {
float3DBuffer = new float[1][array3DSize];
System.arraycopy(values, pos, float3DBuffer[0], 0, init3DSize);
((LogCurve3D)curve).writeData(this.depo, k, 1, float3DBuffer, (WriteMode)null);
pos += write3DArraySize;
}
}
}

}
}

public void setInArrayCurve(String str) {
if (str != null && !str.trim().isEmpty()) {
String[] arrayCurves = str.trim().split(";");
String[] var3 = arrayCurves;
int var4 = arrayCurves.length;

for(int var5 = 0; var5 < var4; ++var5) {
String arrayCurve = var3[var5];
String[] curve = arrayCurve.split(",");
if (curve.length == 3) {
try {
String name = curve[0].trim();
int arrayNum = Integer.parseInt(curve[1].trim());
int arraySize = Integer.parseInt(curve[2].trim());
this.inputArrayCurveSets.add(new ArrayCurveSetItem(name, arrayNum, arraySize));
} catch (NumberFormatException var11) {
}
}
}

}
}

public void setOutArrayCurve(String str) {
if (str != null && !str.trim().isEmpty()) {
String[] arrayCurves = str.trim().split(";");
String[] var3 = arrayCurves;
int var4 = arrayCurves.length;

for(int var5 = 0; var5 < var4; ++var5) {
String arrayCurve = var3[var5];
String[] curve = arrayCurve.split(",");
if (curve.length == 3) {
try {
String name = curve[0].trim();
int arrayNum = Integer.parseInt(curve[1].trim());
int arraySize = Integer.parseInt(curve[2].trim());
this.outputArrayCurveSets.add(new ArrayCurveSetItem(name, arrayNum, arraySize));
} catch (NumberFormatException var11) {
}
}
}

}
}

public void setOutputCurveUnit(String str) {
if (str != null && !str.trim().isEmpty()) {
String[] curveUnits = str.trim().split(";");
String[] var3 = curveUnits;
int var4 = curveUnits.length;

for(int var5 = 0; var5 < var4; ++var5) {
String curveUnit1 = var3[var5];
String[] curveUnitItem = curveUnit1.split(",");
String curveName = null;
String curveUnit = null;
if (curveUnitItem.length == 2) {
try {
curveName = curveUnitItem[0].trim().toUpperCase();
curveUnit = curveUnitItem[1].trim();
ModifiedOutputProperty modifiedOutputProperty = (ModifiedOutputProperty)this.outputCurvePropertyHashMap.get(curveName);
if (modifiedOutputProperty == null) {
modifiedOutputProperty = new ModifiedOutputProperty();
this.outputCurvePropertyHashMap.put(curveName, modifiedOutputProperty);
}

modifiedOutputProperty.setCurveUnit(curveUnit);
} catch (NumberFormatException var11) {
}
}
}

}
}

public void setZero(int bzero) {
this.isCleaningData = bzero == 1;
}

public int setOutputCifpPath(String cifpPath) {
if (cifpPath != null && !cifpPath.trim().isEmpty()) {
if (cifpPath.endsWith(".wells")) {
CifpFileCardWrapper cifpFileWrapper = new CifpFileCardWrapper();
if (cifpFileWrapper.read(cifpPath) != 0) {
this.errorMsg.append("Output Cifp File Path Parsing Error!\r\n");
}

int count = cifpFileWrapper.getCifpFileCount();
this.outputCategorys = new LogCategory[count];

for(int i = 0; i < count; ++i) {
this.outputCategorys[i] = this.getCategory(cifpFileWrapper.getCifpFile(i), false);
if (this.outputCategorys[i] == null) {
this.errorMsg.append("Output Cifp File Path Parsing Error!\r\n");
return 0;
}
}
} else {
this.outputCategorys = new LogCategory[1];
this.outputCategorys[0] = this.getCategory(cifpPath, false);
if (this.outputCategorys[0] == null) {
this.errorMsg.append("Output Cifp File Path Parsing Error!\r\n");
return 0;
}
}

return 1;
} else {
this.errorMsg.append("Null Path For Output Cifp File!\r\n");
return 0;
}
}

public void setInterpolation(int mode) {
this.readMode.interpolationMode = (byte)mode;
}

public void setInputDepthLevel(double depLevel) {
this.customDepLevel = depLevel;
this.isModifiedInLevel = true;
}

public void setOutputDepthLevel(double depLevel) {
this.customDepoLevel = depLevel;
this.isModifiedOutLevel = true;
}

public int readInpFile() {
if (this.inputCurveNames != null) {
this.inpFileWrapper.setInputCurveNames(this.inputCurveNames);
this.inputCurveCount = this.inputCurveNames.length;
}

if (this.outputCurveNames != null) {
this.inpFileWrapper.setOutputCurveNames(this.outputCurveNames);
this.outputCurveCount = this.outputCurveNames.length;
}

if (this.parameterNames != null) {
this.inpFileWrapper.setParameterNames(this.parameterNames);
if (this.parameterDefaultValues != null) {
this.inpFileWrapper.setParameterDefaultValues(this.parameterDefaultValues);
}
}

int retCode = this.inpFileWrapper.readInpFile(this.inpFilePath);
if (retCode == 0) {
if (!this.setInputCurves()) {
return 0;
} else {
this.computeDepthLevel();
if (!this.setOutputCurves()) {
return 0;
} else {
this.dep = this.depo = this.inpFileWrapper.getAllZoneStartDepth(this.currentCategoryIndex);
return 1;
}
}
} else {
for(int i = 0; i < this.inpFileWrapper.getErrorMessageCount(); ++i) {
this.errorMsg.append(this.inpFileWrapper.getErrorMessage(i)).append("\r\n");
}

return 0;
}
}

public void setInputCurveNames(String[] curveNames) {
if (curveNames != null && curveNames.length != 0) {
this.inputCurveNames = curveNames;
}
}

public void setOutputCurveNames(String[] curveNames) {
if (curveNames != null && curveNames.length != 0) {
this.outputCurveNames = curveNames;
}
}

public void setParameterNames(String[] curveNames) {
if (curveNames != null && curveNames.length != 0) {
this.parameterNames = curveNames;
}
}

public void setParameterDefaultValues(float[] values) {
if (values != null && values.length != 0) {
this.parameterDefaultValues = new String[values.length];

for(int i = 0; i < values.length; ++i) {
this.parameterDefaultValues[i] = String.valueOf(values[i]);
}

}
}

public String getErrorMessage() {
return this.errorMsg.toString();
}

public int setInpFilePath(String inpPath) {
if (inpPath != null && !inpPath.trim().isEmpty()) {
this.inpFilePath = inpPath.trim();
File file = new File(this.inpFilePath);
if (!file.exists()) {
this.errorMsg.append("Parameter Card Not Found!\r\n");
return 0;
} else {
return 1;
}
} else {
this.errorMsg.append("Null Path For Parameter Card!\r\n");
return 0;
}
}

public int getCifpCount() {
return this.inputCategorys != null && this.inputCategorys.length != 0 ? this.inputCategorys.length : 0;
}

public String getCifpPath(int index) {
return this.inputCategorys != null && this.inputCategorys.length != 0 && index >= 1 && index <= this.inputCategorys.length ? (new DataPath(this.inputCategorys[index - 1])).toFullString() : "";
}

public int setCifpPath(String cifpPath) {
if (cifpPath != null && !cifpPath.trim().isEmpty()) {
if (cifpPath.endsWith(".wells")) {
CifpFileCardWrapper cifpFileWrapper = new CifpFileCardWrapper();
if (cifpFileWrapper.read(cifpPath) != 0) {
this.errorMsg.append("Cifp File Path Parsing Error!\r\n");
}

int count = cifpFileWrapper.getCifpFileCount();
this.inputCategorys = new LogCategory[count];

for(int i = 0; i < count; ++i) {
this.inputCategorys[i] = this.getCategory(cifpFileWrapper.getCifpFile(i), false);
if (this.inputCategorys[i] == null) {
this.errorMsg.append("Cifp File Path Parsing Error!\r\n");
return 0;
}
}
} else {
this.inputCategorys = new LogCategory[1];
this.inputCategorys[0] = this.getCategory(cifpPath, false);
if (this.inputCategorys[0] == null) {
this.errorMsg.append("Cifp File Path Parsing Error!\r\n");
return 0;
}
}

if (this.outputCategorys == null) {
this.outputCategorys = this.inputCategorys;
}

return 1;
} else {
this.errorMsg.append("Null Path For Cifp File!\r\n");
return 0;
}
}

private LogCurve getSpecifiedCurve(LogCategory category, String curveName) {
return curveName != null && !curveName.trim().isEmpty() ? category.getLogCurve(curveName.trim()) : null;
}

public CurveProperty getInputCurveProperty(int index) {
if (index >= 0 && index <= this.inputCurveCount - 1) {
CurveProperty curveProperty = new CurveProperty();
LogCurve curve = this.getSpecifiedCurve(this.inputCategorys[this.currentCategoryIndex], this.inpFileWrapper.getInputCurveRedirection(this.currentCategoryIndex, index));
if (curve == null) {
return null;
} else {
LoggingProperties properties = curve.getLoggingProperties();
curveProperty.curveName = properties.getLoggingName();
curveProperty.curveUnit = properties.getCurveUnit();
curveProperty.startDepth = properties.getStartDepth();
curveProperty.endDepth = properties.getEndDepth();
curveProperty.depthLevel = properties.getDepthLevel();
curveProperty.arrayNum = properties.getArrayNum();
curveProperty.timeSampleNum = properties.getTimeSampleNum();
curveProperty.timeSampleUnit = properties.getTimeSampleUnit();
curveProperty.timeSampleStartTime = properties.getTimeSampleStartTime();
curveProperty.timeSampleLevel = properties.getTimeSampleLevel();
return curveProperty;
}
} else {
return null;
}
}

public String getRedirectionInputCurveName(int index) {
return index >= 0 && index <= this.inputCurveCount - 1 ? this.inpFileWrapper.getInputCurveRedirection(this.currentCategoryIndex, index) : "";
}

public String getRedirectionOutputCurveName(int index) {
return index >= 0 && index <= this.inputCurveCount - 1 ? this.inpFileWrapper.getOutputCurveRedirection(this.currentCategoryIndex, index) : null;
}

public int getInputCurveExistFlag(int index) {
if (index >= 0 && index <= this.inputCurveCount - 1) {
return this.getSpecifiedCurve(this.inputCategorys[this.currentCategoryIndex], this.inpFileWrapper.getInputCurveRedirection(this.currentCategoryIndex, index)) == null ? 0 : 1;
} else {
return 0;
}
}

public void getInputCurveValue(double depth, int index, float[] values) {
if (index >= 0 && index <= this.inputCurveCount) {
CurveItem curveItem = this.inputCurveItems[this.currentCategoryIndex][index];
LogCurve curve = curveItem.getCurve();
int j;
int k;
if (curve == null) {
int arraySize = curveItem.getArraySize();

for(j = 0; j < curveItem.getArrayNum(); ++j) {
for(k = 0; k < arraySize; ++k) {
values[j * arraySize + k] = -99999.0F;
}
}
} else {
int read3DArraySize;
switch (curve.getLoggingType()) {
case 1:
float[] float1DBuffer = new float[]{-99999.0F};
((LogCurve1D)curve).readData(depth, this.depthLevels[this.currentCategoryIndex], 1, float1DBuffer, this.readMode);
values[0] = float1DBuffer[0];
break;
case 2:
j = curveItem.getArraySize();
k = curveItem.getRealArraySize();
float[][] float2DBuffer = new float[1][k];

for(read3DArraySize = 0; read3DArraySize < k; ++read3DArraySize) {
float2DBuffer[0][read3DArraySize] = -99999.0F;
}

((LogCurve2D)curve).readData(depth, this.depthLevels[this.currentCategoryIndex], 1, float2DBuffer, this.readMode);
System.arraycopy(float2DBuffer[0], 0, values, 0, Math.min(j, k));
break;
case 3:
read3DArraySize = curveItem.getArraySize();
int read3DArrayNum = curveItem.getArrayNum();
int array3DSize = curveItem.getRealArraySize();
int array3DNum = curveItem.getRealArrayNum();
float[][] float3DBuffer = (float[][])null;

for(int k = 0; k < Math.min(read3DArrayNum, array3DNum); ++k) {
float3DBuffer = new float[1][array3DSize];

for(int j = 0; j < array3DSize; ++j) {
float3DBuffer[0][j] = -99999.0F;
}

((LogCurve3D)curve).readData(depth, this.depthLevels[this.currentCategoryIndex], 1, k, float3DBuffer, this.readMode);
System.arraycopy(float3DBuffer[0], 0, values, 0, Math.min(read3DArraySize, array3DSize));
}
}
}

}
}

public int setOutputCurveValue(int index, double startDepth, int dataCount, float[] values) {
if (index >= 0 && index <= this.outputCurveCount) {
int writeCount = 0;
CurveItem curveItem = this.outputCurveItems[this.currentCategoryIndex][index];
LogCurve curve = curveItem.getCurve();
int array3DSize;
switch (curve.getLoggingType()) {
case 1:
writeCount = ((LogCurve1D)curve).writeData(startDepth, dataCount, values, (WriteMode)null);
break;
case 2:
int array2DSize = ((LogCurve2D)curve).getTimeSampleCount();
float[][] float2DBuffer = new float[dataCount][array2DSize];

for(array3DSize = 0; array3DSize < dataCount; ++array3DSize) {
System.arraycopy(values, array3DSize * array2DSize, float2DBuffer[array3DSize], 0, array2DSize);
}

writeCount = ((LogCurve2D)curve).writeData(startDepth, dataCount, float2DBuffer, (WriteMode)null);
break;
case 3:
array3DSize = ((LogCurve3D)curve).getTimeSampleCount();
int array3DNum = ((LogCurve3D)curve).getArrayNum();
float[][] float3DBuffer = (float[][])null;
int pos = 0;

for(int k = 0; k < array3DNum; ++k) {
float3DBuffer = new float[dataCount][array3DSize];

for(int i = 0; i < dataCount; ++i) {
System.arraycopy(values, pos, float3DBuffer[i], 0, array3DSize);
pos += array3DSize;
}

writeCount += ((LogCurve3D)curve).writeData(startDepth, k, dataCount, float3DBuffer, (WriteMode)null);
}
}

return writeCount;
} else {
return 0;
}
}

public void setOutputCurveValue(double depth, int index, float[] values) {
if (index >= 0 && index <= this.outputCurveCount) {
CurveItem curveItem = this.outputCurveItems[this.currentCategoryIndex][index];
LogCurve curve = curveItem.getCurve();
switch (curve.getLoggingType()) {
case 1:
float[] float1DBuffer = new float[]{values[0]};
((LogCurve1D)curve).writeData(depth, 1, float1DBuffer, (WriteMode)null);
break;
case 2:
int write2DArraySize = curveItem.getArraySize();
int array2DSize = curveItem.getRealArraySize();
float[][] float2DBuffer = new float[1][array2DSize];
System.arraycopy(values, 0, float2DBuffer[0], 0, Math.min(write2DArraySize, array2DSize));
((LogCurve2D)curve).writeData(depth, 1, float2DBuffer, (WriteMode)null);
break;
case 3:
int write3DArraySize = curveItem.getArraySize();
int write3DArrayNum = curveItem.getArrayNum();
int array3DNum = curveItem.getRealArrayNum();
int array3DSize = curveItem.getRealArraySize();
float[][] float3DBuffer = (float[][])null;
int init3DSize = Math.min(write3DArraySize, array3DSize);

for(int k = 0; k < Math.min(write3DArrayNum, array3DNum); ++k) {
float3DBuffer = new float[1][array3DSize];
System.arraycopy(values, 0, float3DBuffer[0], 0, init3DSize);
((LogCurve3D)curve).writeData(depth, k, 1, float3DBuffer, (WriteMode)null);
}
}

}
}

private boolean setOutputCurves() {
int outputCategoryCount = this.outputCategorys.length;
this.outputCurveItems = new CurveItem[outputCategoryCount][this.outputCurveCount];

for(int i = 0; i < outputCategoryCount; ++i) {
LogCurve curve = null;
String redirectionCurveName = null;
boolean addCurveFlag = false;
boolean overwriteCurveFlag = false;
double processStartDepth = this.inpFileWrapper.getAllZoneStartDepth(i);
double processEndDepth = this.inpFileWrapper.getAllZoneEndDepth(i);

for(int j = 0; j < this.outputCurveCount; ++j) {
redirectionCurveName = this.inpFileWrapper.getOutputCurveRedirection(i, j);
curve = this.getSpecifiedCurve(this.outputCategorys[i], redirectionCurveName);
ArrayCurveSetItem item = null;
int outputArrayCurveSetsCount = this.outputArrayCurveSets.size();

for(int z = 0; z < outputArrayCurveSetsCount; ++z) {
if (((ArrayCurveSetItem)this.outputArrayCurveSets.get(z)).getCurveName().equalsIgnoreCase(this.inpFileWrapper.getOutputCurveOriginName(i, j))) {
item = (ArrayCurveSetItem)this.outputArrayCurveSets.get(z);
break;
}
}

if (curve != null) {
if (!(Math.abs(curve.getDepthLevel() - this.depoLevels[i]) < 1.0E-5)) {
this.errorMsg.append(curve.getName()).append(ResourceBundle.getBundle("cif/dataservice/io/Bundle").getString("DataServiceIntegratedIO.setOutputCurves.errorMsg1")).append("\r\n");
return false;
}

double startDepth = curve.getStartDepth();
double endDepth = curve.getEndDepth();
if (startDepth > processStartDepth || endDepth < processEndDepth) {
curve.changeDepthRange(Math.min(startDepth, processStartDepth), Math.max(endDepth, processEndDepth), true);
}

if (item != null) {
if (curve.getArrayNum() < item.getArrayNum()) {
this.errorMsg.append(curve.getName()).append(ResourceBundle.getBundle("cif/dataservice/io/Bundle").getString("DataServiceIntegratedIO.setOutputCurves.errorMsg2")).append("\r\n");
return false;
}

if (curve.getTimeSampleCount() != item.getArraySize()) {
this.errorMsg.append(curve.getName()).append(ResourceBundle.getBundle("cif/dataservice/io/Bundle").getString("DataServiceIntegratedIO.setOutputCurves.errorMsg3")).append("\r\n");
return false;
}

this.outputCurveItems[i][j] = new CurveItem(curve, item.getArrayNum(), item.getArraySize());
} else {
this.outputCurveItems[i][j] = new CurveItem(curve);
}

overwriteCurveFlag = true;
} else {
curve = this.createOutputCurve(i, this.outputCategorys[i], redirectionCurveName, item);
if (curve == null) {
this.errorMsg.append(redirectionCurveName).append(ResourceBundle.getBundle("cif/dataservice/io/Bundle").getString("DataServiceIntegratedIO.setOutputCurves.errorMsg4")).append("\r\n");
return false;
}

this.outputCurveItems[i][j] = new CurveItem(curve);
addCurveFlag = true;
}
}

if (addCurveFlag || overwriteCurveFlag) {
this.addCategoryNotification(this.outputCategorys[i], 2);
}
}

return true;
}

private LogCurve createOutputCurve(int categoryIndex, LogCategory category, String curveName, ArrayCurveSetItem item) {
CurveXD curveXD = new Curve1D();
ModifiedOutputProperty curveProperty = (ModifiedOutputProperty)this.outputCurvePropertyHashMap.get(curveName.trim().toUpperCase());
if (item != null) {
int arrayNum = item.getArrayNum();
int arraySize = item.getArraySize();
if (arrayNum < 1 || arraySize < 1) {
return null;
}

switch (arrayNum) {
case 1:
if (arraySize > 1) {
curveXD = new Curve2D();
((Curve2D)curveXD).setTimeSampleNum(arraySize);
if (curveProperty != null) {
if (curveProperty.isIsTimeSampleLevelModified()) {
((Curve2D)curveXD).setTimeSampleLevel(curveProperty.getTimeSampleLevel());
}

if (curveProperty.isIsTimeSampleUnitModified()) {
((Curve2D)curveXD).setTimeSampleUnit(curveProperty.getTimeSampleUnit());
}

if (curveProperty.isIsTimeSampleStartTimeModified()) {
((Curve2D)curveXD).setTimeSampleStartTime(curveProperty.getTimeSampleStartTime());
}
}
}
break;
default:
curveXD = new Curve3D();
((Curve3D)curveXD).setTimeSampleNum(arraySize);
((Curve3D)curveXD).setArrayNum(arrayNum);
if (curveProperty != null) {
if (curveProperty.isIsTimeSampleLevelModified()) {
((Curve2D)curveXD).setTimeSampleLevel(curveProperty.getTimeSampleLevel());
}

if (curveProperty.isIsTimeSampleUnitModified()) {
((Curve2D)curveXD).setTimeSampleUnit(curveProperty.getTimeSampleUnit());
}

if (curveProperty.isIsTimeSampleStartTimeModified()) {
((Curve2D)curveXD).setTimeSampleStartTime(curveProperty.getTimeSampleStartTime());
}
}
}
}

((CurveXD)curveXD).setCurveName(curveName);
((CurveXD)curveXD).setStartDepth(this.inpFileWrapper.getAllZoneStartDepth(categoryIndex));
((CurveXD)curveXD).setEndDepth(this.inpFileWrapper.getAllZoneEndDepth(categoryIndex));
((CurveXD)curveXD).setDepthLevel(this.depoLevels[categoryIndex]);
((CurveXD)curveXD).setDataType((byte)5);
((CurveXD)curveXD).setDepthUnit(category.getCategoryDepthUnit());
if (curveProperty != null && curveProperty.isIsCurveUnitModified()) {
((CurveXD)curveXD).setCurveUnit(curveProperty.getCurveUnit());
}

return category.createCurve((CurveXD)curveXD, this.isCleaningData);
}

private void computeDepthLevel() {
int inputCategoryCount = this.inputCategorys.length;
this.depthLevels = new double[inputCategoryCount];
this.depoLevels = new double[inputCategoryCount];

for(int i = 0; i < inputCategoryCount; ++i) {
this.depthLevels[i] = 99999.0;
if (!this.isModifiedInLevel) {
if (this.inputCurveItems[i].length > 0) {
LogCurve curve = null;
CurveItem[] var6 = this.inputCurveItems[i];
int var7 = var6.length;

for(int var8 = 0; var8 < var7; ++var8) {
CurveItem item = var6[var8];
curve = item.getCurve();
if (curve != null) {
double tempLev = curve.getDepthLevel();
if (this.depthLevels[i] > tempLev) {
this.depthLevels[i] = tempLev;
}
}
}
} else {
this.depthLevels[i] = this.inputCategorys[i].getCategoryDepthLevel();
}
} else {
this.depthLevels[i] = this.customDepLevel;
}

if (!this.isModifiedOutLevel) {
this.depoLevels[i] = this.depthLevels[i];
} else {
this.depoLevels[i] = this.customDepoLevel;
}
}

}

private boolean setInputCurves() {
int inputCategoryCount = this.inputCategorys.length;
this.inputCurveItems = new CurveItem[inputCategoryCount][this.inputCurveCount];

for(int z = 0; z < inputCategoryCount; ++z) {
LogCurve curve = null;

for(int i = 0; i < this.inputCurveCount; ++i) {
curve = this.getSpecifiedCurve(this.inputCategorys[z], this.inpFileWrapper.getInputCurveRedirection(z, i));
ArrayCurveSetItem item = null;

for(int j = 0; j < this.inputArrayCurveSets.size(); ++j) {
if (((ArrayCurveSetItem)this.inputArrayCurveSets.get(j)).getCurveName().equalsIgnoreCase(this.inpFileWrapper.getInputCurveOriginName(z, i))) {
item = (ArrayCurveSetItem)this.inputArrayCurveSets.get(j);
break;
}
}

if (curve == null) {
if (item != null) {
this.inputCurveItems[z][i] = new CurveItem(curve, item.getArrayNum(), item.getArraySize());
} else {
this.inputCurveItems[z][i] = new CurveItem(curve, 1, 1);
}
} else if (item == null) {
this.inputCurveItems[z][i] = new CurveItem(curve);
} else {
if ((curve.getLoggingType() == 2 || curve.getLoggingType() == 1) && item.getArrayNum() > 1) {
this.errorMsg.append(curve.getName()).append(ResourceBundle.getBundle("cif/dataservice/io/Bundle").getString("DataServiceIntegratedIO.setInputCurves.errorMsg")).append("\r\n");
return false;
}

this.inputCurveItems[z][i] = new CurveItem(curve, item.getArrayNum(), item.getArraySize());
}
}
}

return true;
}

private LogCategory getCategory(String categoryPath, boolean isCreate) {
DataPath dataPath = new DataPath();
dataPath.parse(categoryPath.trim());
return dataPath.getPathLevel() < 4 ? null : this.getCategory(dataPath, isCreate);
}

private LogCategory getCategory(DataPath dataPath, boolean isCreate) {
LogDataSource dataSource = dataPath.getCurrentDataFormat().buildDataSource();
if (!dataSource.connect(dataPath.getDataSourceName())) {
return null;
} else {
LogWorkSpace ws = dataSource.getLogWorkSpace(dataPath.getWorkSpaceName());
if (ws == null) {
return null;
} else {
String wellName = dataPath.getWellName();
LogWell well = ws.getLogWell(wellName);
if (well == null) {
if (!isCreate) {
return null;
}

well = ws.createWell(wellName);
if (well == null) {
return null;
}
}

String categoryName = dataPath.getCategoryName();
LogCategory category = well.getLogCategory(categoryName);
if (category != null) {
return category;
} else if (!isCreate) {
return null;
} else {
CategoryProperties properties = new CategoryProperties();
properties.setCategoryName(categoryName);
category = well.createCategory(properties);
if (category == null) {
return null;
} else {
this.addCategoryNotification(category, 0);
return category;
}
}
}
}
}

private void addCategoryNotification(LogCategory category, int notifyType) {
String wellPath = (new DataPath(category.getLogWell())).toString();
NotificationStruct infoStruct = null;
String categoryName = category.getCategoryName();
CategoryNotifiedInfo categoryInfo = new CategoryNotifiedInfo(categoryName, notifyType);

for(int i = 0; i < this.categoryNotificationList.size(); ++i) {
infoStruct = (NotificationStruct)this.categoryNotificationList.get(i);
if (infoStruct.getDataPath().equalsIgnoreCase(wellPath) && !infoStruct.contains(categoryName)) {
infoStruct.addNotifiedInfo(categoryInfo);
return;
}
}

infoStruct = new NotificationStruct(wellPath);
infoStruct.addNotifiedInfo(categoryInfo);
this.categoryNotificationList.add(infoStruct);
}
}

DataSourceContainer.java

简略方法

1
2
3
4
5
6
7
8
9
10
11
public void addElement(DataSourceStruct dataSourceStruct)

public void removeElement(DataSourceStruct dataSourceStruct)

public int size()

public DataSourceStruct elemenAt(int index)

public DataSourceStruct getElement(int dataSourceID)

public DataSourceStruct getElement(String dataSourcePath)

类源码

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
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cif.dataservice.io;

import java.util.ArrayList;

class DataSourceContainer {
private static DataSourceContainer instance = null;
private ArrayList<DataSourceStruct> dataSourceContainer = new ArrayList();

DataSourceContainer() {
}

public static DataSourceContainer getInstance() {
if (instance == null) {
instance = new DataSourceContainer();
}

return instance;
}

public void addElement(DataSourceStruct dataSourceStruct) {
if (dataSourceStruct != null) {
this.dataSourceContainer.add(dataSourceStruct);
}
}

public void removeElement(DataSourceStruct dataSourceStruct) {
this.dataSourceContainer.remove(dataSourceStruct);
}

public int size() {
return this.dataSourceContainer.size();
}

public DataSourceStruct elemenAt(int index) {
return index >= 0 && index < this.dataSourceContainer.size() ? (DataSourceStruct)this.dataSourceContainer.get(index) : null;
}

public DataSourceStruct getElement(int dataSourceID) {
if (dataSourceID < 1) {
return null;
} else {
DataSourceStruct dataSourceStruct = null;

for(int i = 0; i < this.dataSourceContainer.size(); ++i) {
dataSourceStruct = (DataSourceStruct)this.dataSourceContainer.get(i);
if (dataSourceStruct.id == dataSourceID) {
return dataSourceStruct;
}
}

return null;
}
}

public DataSourceStruct getElement(String dataSourcePath) {
if (dataSourcePath != null && !dataSourcePath.isEmpty()) {
String path = dataSourcePath.trim().replace('\\', '/');
DataSourceStruct dataSourceStruct = null;

for(int i = 0; i < this.dataSourceContainer.size(); ++i) {
dataSourceStruct = (DataSourceStruct)this.dataSourceContainer.get(i);
if (dataSourceStruct.dataSource.getConnectParam().replace('\\', '/').contains(path)) {
return dataSourceStruct;
}
}

return null;
} else {
return null;
}
}
}

如何在IDEA中编写二次开发插件

添加基础的cif类库到IDEA包中,即可实现IDEA开发,可以提示错误等

文章作者: HibisciDai
文章链接: http://hibiscidai.com/2023/10/30/CIFLog3二次开发Java接口说明/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 HibisciDai
好用、实惠、稳定的梯子,点击这里