修改线程继承自定义线程相关类错误问题
This commit is contained in:
parent
5eb448aaa8
commit
5abb24c95a
|
@ -4,10 +4,14 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="050b8051-b1ec-42aa-bac3-c1c189a4697d" name="更改" comment="打包库文件到jar包">
|
||||
<change afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/DemandThread.java" afterDir="false" />
|
||||
<list default="true" id="050b8051-b1ec-42aa-bac3-c1c189a4697d" name="更改" comment="增加处理业务线程,简单编写部分业务逻辑,增加自定义类,用于实现线程通用函数">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/InferenceTaskService.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/InferenceTaskService.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/DemandThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/DemandThread.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TaskAssignThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TaskAssignThread.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TaskThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TaskThread.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TimeSyncThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/TimeSyncThread.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/WasterThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/service/WasterThread.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/simulationservice/util/CustomThread.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/simulationservice/util/CustomThread.java" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -123,7 +127,7 @@
|
|||
<workItem from="1757594198944" duration="2502000" />
|
||||
<workItem from="1757664586037" duration="3070000" />
|
||||
<workItem from="1757820561153" duration="249000" />
|
||||
<workItem from="1757829080725" duration="23780000" />
|
||||
<workItem from="1757829080725" duration="24265000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="修改配置文件和去掉打包时test模块">
|
||||
<option name="closed" value="true" />
|
||||
|
@ -141,7 +145,15 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1757833985847</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="3" />
|
||||
<task id="LOCAL-00003" summary="增加处理业务线程,简单编写部分业务逻辑,增加自定义类,用于实现线程通用函数">
|
||||
<option name="closed" value="true" />
|
||||
<created>1757899861547</created>
|
||||
<option name="number" value="00003" />
|
||||
<option name="presentableId" value="LOCAL-00003" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1757899861547</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="4" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
@ -161,7 +173,8 @@
|
|||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="修改配置文件和去掉打包时test模块" />
|
||||
<MESSAGE value="打包库文件到jar包" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="打包库文件到jar包" />
|
||||
<MESSAGE value="增加处理业务线程,简单编写部分业务逻辑,增加自定义类,用于实现线程通用函数" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="增加处理业务线程,简单编写部分业务逻辑,增加自定义类,用于实现线程通用函数" />
|
||||
</component>
|
||||
<component name="XSLT-Support.FileAssociations.UIState">
|
||||
<expand />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.simulationservice.service;
|
||||
import java.io.IOException;
|
||||
import java.lang.*;
|
||||
import com.simulationservice.service.CustomThread;
|
||||
import com.simulationservice.util.CustomThread;
|
||||
/**
|
||||
* 生成保障需求线程,用于对各个作战单元的资源消耗进行判断产生需求
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.simulationservice.service;
|
||||
import java.io.IOException;
|
||||
import java.lang.*;
|
||||
import com.simulationservice.service.CustomThread;
|
||||
import com.simulationservice.util.CustomThread;
|
||||
/**
|
||||
* 任务分配线程,用于处理保障任务使用
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.simulationservice.service;
|
||||
import java.io.IOException;
|
||||
import java.lang.*;
|
||||
import com.simulationservice.service.CustomThread;
|
||||
import com.simulationservice.util.CustomThread;
|
||||
/**
|
||||
* 保障任务线程,用于处理需求消耗生成的保障需求
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.text.ParseException;
|
|||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import com.simulationservice.service.CustomThread;
|
||||
import com.simulationservice.util.CustomThread;
|
||||
/**
|
||||
* 时间同步线程,用于处理想定的倒计时和想定时间结束
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.simulationservice.service;
|
||||
import java.io.IOException;
|
||||
import java.lang.*;
|
||||
import com.simulationservice.service.CustomThread;
|
||||
import com.simulationservice.util.CustomThread;
|
||||
/**
|
||||
* 作战分队物资消耗线程,用于各个作战单元的资源消耗
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.simulationservice.service;
|
||||
package com.simulationservice.util;
|
||||
import java.lang.*;
|
||||
/**
|
||||
* 需求消耗线程,用于各个作战单元的需求消耗
|
||||
|
@ -9,7 +9,7 @@ public abstract class CustomThread extends Thread {
|
|||
private boolean exit = false;
|
||||
private String scenarioId = ""; //想定Id
|
||||
private String roomId = ""; //房间号
|
||||
int max = 1000;
|
||||
public int max = 1000;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user