lxw
2023-05-16 cbbf67dd9e9b1339a7251035b90c6032a9f5de54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.whyc.service;
 
import com.whyc.charge.Fbs5100ChargeData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
@Service
public class Fbs5100ChargeDataService {
    @Autowired(required = false)
    private Fbs5100ChargeData data;
 
    //充电数据
    public Fbs5100ChargeData readFileData(String filePath) {
        data.parseFileData(filePath);
        return data;
    }
}