zss
2024-12-10 8d4ad0d13ef71e22cc1036e2c6c00aafb20ed597
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.yuanchu.mom.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
 
@Data
public class TianXianData {
 
    @ExcelProperty(index = 0)
    private String no;
 
    @ExcelProperty(index = 1)
    private String code;
 
    @ExcelProperty(index = 2)
    private String port;
 
    @ExcelProperty(index = 3)
    private String name;
 
    @ExcelProperty(index = 4)
    private String angle;
 
    @ExcelProperty(index = 5)
    private String start;
 
    @ExcelProperty(index = 6)
    private String end;
 
    @ExcelProperty(index = 7)
    private String ask;
 
    @ExcelProperty(index = 8)
    private String value;
 
    @ExcelProperty(index = 9)
    private String result;
 
    public String frequency() {
        return (int)Double.parseDouble(start) + "-" + (int)Double.parseDouble(end) + "MHz";
    }
}