|
@@ -19,7 +19,8 @@ public class FilePathConfig {
|
|
|
public static String getDataPath() {
|
|
|
if(dataPath==null){
|
|
|
getFilePath();
|
|
|
- dataPath = filePath.substring(0, filePath.lastIndexOf("\\"));
|
|
|
+ //dataPath = filePath.substring(0, filePath.lastIndexOf("\\"));
|
|
|
+ dataPath = filePath+"\\data";
|
|
|
File file = new File(dataPath + "\\光伏逆变器负荷率利用小时计算");
|
|
|
if(!file.exists()) file.mkdir();
|
|
|
}
|