Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.yc.rtu.netcustommaster.systemInfo.dto.response;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class SpeedTestCliResponseDto {
private String ping;
private String download;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

import com.yc.rtu.netcustommaster.systemInfo.dto.response.SpeedTestCliResponseDto;
import com.yc.rtu.netcustommaster.systemInfo.dto.response.SystemInfoResponseDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import static com.yc.rtu.netcustommaster.util.CommandExecutor.executeCommand;

@Slf4j
@Service
public class SystemInfoService {

Expand All @@ -30,6 +32,7 @@ public SpeedTestCliResponseDto getSpeedTestCli() {
dto.setUpload(line.split(": ")[1]);
}
}
log.info("dto : {}", dto);
return dto;
}

Expand Down