#
Junjie
2025-11-19 51e6bfb6eba707a54f18adc7b7818f48bc498289
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
package com.zy.core.network.real;
 
import HslCommunication.Profinet.Siemens.SiemensS7Net;
import com.zy.asrs.entity.DeviceConfig;
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.RgvCommand;
import com.zy.core.network.api.ZyRgvConnectApi;
import com.zy.core.network.entity.ZyRgvStatusEntity;
 
public class ZyRgvRealConnect implements ZyRgvConnectApi {
    private final SiemensS7Net siemensNet;
    private final DeviceConfig deviceConfig;
 
    public ZyRgvRealConnect(SiemensS7Net siemensNet, DeviceConfig deviceConfig) {
        this.siemensNet = siemensNet;
        this.deviceConfig = deviceConfig;
    }
 
    @Override
    public boolean connect() {
        return true;
    }
 
    @Override
    public boolean disconnect() {
        return true;
    }
 
    @Override
    public ZyRgvStatusEntity getStatus() {
        return null;
    }
 
    @Override
    public CommandResponse sendCommand(RgvCommand command) {
        return new CommandResponse(false, "not implemented");
    }
}