1.解决谐波高级算法远程调用bug
2.新增redis,切库方法
This commit is contained in:
@@ -9,7 +9,9 @@ import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
|
||||
@FeignClient(value = ServerInfo.ADVANCE_BOOT,path = "/waveAnalysis",fallbackFactory = EventWaveAnalysisFeignClientFallbackFactory.class,contextId = "waveAnalysis")
|
||||
@FeignClient(value = ServerInfo.ADVANCE_BOOT,path = "/waveAnalysis",
|
||||
fallbackFactory = EventWaveAnalysisFeignClientFallbackFactory.class,
|
||||
contextId = "waveAnalysis" )
|
||||
public interface EventWaveAnalysisFeignClient {
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
package com.njcn.advance.pojo.dto.waveAnalysis;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.sun.jna.Structure;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -44,6 +47,7 @@ import java.util.List;
|
||||
* angle_diff_cn C相相位负跳变
|
||||
* bph_max_value 不平衡度(单位%)
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class BackData extends Structure {
|
||||
public int qvvr_cata_cause[] = new int[256];
|
||||
public int qvvr_phasetype[] = new int[256];
|
||||
@@ -75,10 +79,14 @@ public class BackData extends Structure {
|
||||
public float angle_diff_cn[] = new float[256];
|
||||
public float bph_max_value[] = new float[256];
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public static class ByReference extends BackData implements Structure.ByReference {
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public static class ByValue extends BackData implements Structure.ByValue {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.njcn.advance.pojo.dto.waveAnalysis;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author njcn
|
||||
@@ -10,6 +11,7 @@ import lombok.Data;
|
||||
* @处理返回的结果
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class EntityAdvancedData {
|
||||
public float smp_a[];
|
||||
public float smp_b[];
|
||||
|
||||
Reference in New Issue
Block a user