fix: 修改测试Surf

main
wangsir 5 months ago
parent 4c801bd27b
commit 689456f5c1

@ -1,5 +1,6 @@
package com.cuit.solarenergy; package com.cuit.solarenergy;
import com.cuit.mete.musicutil.SurfEleInterface;
import com.cuit.solarenergy.service.DataImportService; import com.cuit.solarenergy.service.DataImportService;
import com.cuit.solarenergy.service.GeoServerPubService; import com.cuit.solarenergy.service.GeoServerPubService;
import com.cuit.solarenergy.service.radi_chn_mul_horService; import com.cuit.solarenergy.service.radi_chn_mul_horService;
@ -241,8 +242,8 @@ class SolarenergyApplicationTests {
public void testMusic1() throws FileNotFoundException, MusicConfigException { public void testMusic1() throws FileNotFoundException, MusicConfigException {
try { try {
//1、接口实例化 //1、接口实例化
RadifEleInterface radifEleInterface = new RadifEleInterface(); SurfEleInterface surfEleInterface = new SurfEleInterface();
radifEleInterface.setUserConfig("10.194.90.120","80","BCCD_BFNA_NCGFZX", "NCgongfu123!"); surfEleInterface.setUserConfig("10.194.90.120","80","BCCD_BFNA_NCGFZX", "NCgongfu123!");
log.debug("1---接口初始化成功"); log.debug("1---接口初始化成功");
//2、接口参数实例化 //2、接口参数实例化
//需要传数据数据代码 //需要传数据数据代码
@ -304,7 +305,7 @@ class SolarenergyApplicationTests {
log.debug("3---设置时间及区号"); log.debug("3---设置时间及区号");
//开始查询 //开始查询
String dataByMusic = radifEleInterface.queryDataByMusic(musicQueryParameters); String dataByMusic = surfEleInterface.queryDataByMusic(musicQueryParameters);
System.out.println("11111111111111"); System.out.println("11111111111111");

Loading…
Cancel
Save