Browse Source

KERNEL-1117 按要求进行更改

master
Kalven 5 years ago
parent
commit
b33fa93ae2
  1. 17
      src/main/java/com/fanruan/api/base/ScriptFormula.java
  2. 15
      src/main/java/com/fanruan/api/design/util/FunctionDefNAD.java
  3. 18
      src/main/java/com/fanruan/api/design/util/FunctionManagerKit.java
  4. 8
      src/main/java/com/fanruan/api/function/FunctionKit.java
  5. 1
      src/main/java/com/fanruan/api/macro/OperatingSystem.java
  6. 14
      src/main/java/com/fanruan/api/structure/Formula.java

17
src/main/java/com/fanruan/api/base/ScriptFormula.java

@ -1,17 +0,0 @@
package com.fanruan.api.base;
/**
* 使用script语言的脚本公式
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/30
*/
public class ScriptFormula extends com.fr.base.ScriptFormula {
public ScriptFormula() {
super();
}
public ScriptFormula(String text) {
super(text);
}
}

15
src/main/java/com/fanruan/api/design/util/FunctionDefNAD.java

@ -1,15 +0,0 @@
package com.fanruan.api.design.util;
import com.fr.stable.script.FunctionDef;
/**
* 函数名和描述
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class FunctionDefNAD extends com.fr.design.formula.FunctionDefNAD {
public FunctionDefNAD(FunctionDef functionDef) {
super(functionDef);
}
}

18
src/main/java/com/fanruan/api/design/util/FunctionManagerKit.java

@ -1,18 +0,0 @@
package com.fanruan.api.design.util;
/**
* 函数管理器
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31
*/
public class FunctionManagerKit {
/**
* 得到函数管理器实例
* @return 函数管理器
*/
public static com.fr.file.FunctionManager getInstance() {
return com.fr.file.FunctionManager.getInstance();
}
}

8
src/main/java/com/fanruan/api/function/FunctionKit.java

@ -55,4 +55,12 @@ public class FunctionKit {
FunctionManager.getInstance().addFunctionDef(fun);
}
}
/**
* 得到函数管理器实例
* @return 函数管理器
*/
public static com.fr.file.FunctionManager getInstance() {
return com.fr.file.FunctionManager.getInstance();
}
}

1
src/main/java/com/fanruan/api/macro/OperatingSystem.java

@ -3,6 +3,7 @@ package com.fanruan.api.macro;
import com.fr.stable.os.AbstractOperatingSystem;
/**
* 操作系统判断类判断操作系统种类
* @author Kalven
* @version 10.0
* Created by Kalven on 2019/8/31

14
src/main/java/com/fanruan/api/structure/Formula.java

@ -1,14 +0,0 @@
package com.fanruan.api.structure;
/**
* 公式 公式中可以运用已有的各种函数进行复杂的运算
*/
public class Formula extends com.fr.base.Formula {
public Formula() {
super();
}
public Formula(String text) {
super(text);
}
}
Loading…
Cancel
Save