Commit 915e25d4 by huyi

新建检测进度的controller和存放进度常量的包

parent 125ee580
......@@ -3,6 +3,10 @@ package com.fhkj.oltinspection.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author 胡懿
* @see 用来做登录时的验证
*/
@RestController
@RequestMapping (value = "/index")
public class IndexController {
......
package com.fhkj.oltinspection.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author 胡懿
* @see 这个Controller用来作为观察者,包括进度条的观测、命令进度的观测
*/
@RestController
@RequestMapping (value = "/observer")
public class ObserverController {
}
\ No newline at end of file
package com.fhkj.oltinspection.observer;
/**
* @author 胡懿
* @see 这个类是用来存储命令相关的进度,例如:命令执行进度等
*/
public class CommandExecutionObserver {
/**
* @autor 胡懿
* @see 命令执行的进度
* @paramaterType Integer
*/
public static Integer CommandExecutionProgressPercentage;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment