Commit e961c4c8 authored by duanruiming's avatar duanruiming

海信系统 [update]删除测试定时任务

parent edb74efe
package net.wanji.utc.hisense;
import net.wanji.utc.hisense.netty.TcpClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
......
......@@ -5,7 +5,6 @@ import net.wanji.utc.hisense.netty.pojo.CommandPojo;
import net.wanji.utc.hisense.netty.request.CommandRequestFactory;
import net.wanji.utc.hisense.netty.response.CommandResponseFactory;
import net.wanji.utc.hisense.pojo.xml.pojo.messagecontent.get.GetSchemeNoRequest;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
/**
......@@ -31,9 +30,4 @@ public class GetSchemeNoService implements CommandResponseFactory, CommandReques
return commandPojo.getMsg();
}
@Scheduled(initialDelay = 30 * 1000, fixedRate = 4000)
public void test(){
sendCommandRequest(1);
System.err.println("==============发送消息成功");
}
}
\ 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