Examples of DNPConfig


Examples of br.org.scadabr.dnp34j.master.session.config.DNPConfig

  public static void main(String[] args) throws Exception {
    // DNPConfig config = new DNPConfig(new EthernetParameters(
    // "150.162.165.190", 20000), 3, 4);

    DNPConfig config = new DNPConfig(new SerialParameters("COM2", 9600), 3,
        4);
    user = new DNPUser(config);

    user.init();
    // 69775326259457
View Full Code Here

Examples of br.org.scadabr.dnp34j.master.session.config.DNPConfig

  private DNPConfig configuration;
  private int staticPollFrequence = 30;

  public void initEthernet(EthernetParameters parameters, int masterAddress,
      int slaveAddress, int staticPollFrequence) throws Exception {
    configuration = new DNPConfig(parameters, masterAddress, slaveAddress);
    this.staticPollFrequence = staticPollFrequence;
    init(configuration);
  }
View Full Code Here

Examples of br.org.scadabr.dnp34j.master.session.config.DNPConfig

    init(configuration);
  }

  public void initSerial(SerialParameters parameters, int masterAddress,
      int slaveAddress, int staticPollFrequence) throws Exception {
    configuration = new DNPConfig(parameters, masterAddress, slaveAddress);
    this.staticPollFrequence = staticPollFrequence;
    init(configuration);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.