Class ModbusDataC
java.lang.Object
test.de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusDataC
Some Modbus machine data for testing.
- Author:
- Christian Nikolajew
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGetter for mDouble.floatgetFloat()Getter for mFloat.intGetter for month.longgetLong()Getter for mLong.shortgetShort()Getter for mShort.voidsetDouble(double aDouble) Setter for mDouble.voidsetFloat(float aFloat) Setter for mFloat.voidsetInteger(int aInteger) Setter for mInteger.voidsetLong(long aLong) Setter for mLong.voidsetShort(short aShort) Setter for mShort.
-
Field Details
-
mShort
private short mShort -
mInteger
private int mInteger -
mFloat
private float mFloat -
mLong
private long mLong -
mDouble
private double mDouble
-
-
Constructor Details
-
ModbusDataC
public ModbusDataC()Constructor.
-
-
Method Details
-
setShort
public void setShort(short aShort) Setter for mShort.- Parameters:
aShort- the short to set
-
setInteger
public void setInteger(int aInteger) Setter for mInteger.- Parameters:
aInteger- the integer to set
-
setFloat
public void setFloat(float aFloat) Setter for mFloat.- Parameters:
aFloat- the float to set
-
setLong
public void setLong(long aLong) Setter for mLong.- Parameters:
aLong- the long to set
-
setDouble
public void setDouble(double aDouble) Setter for mDouble.- Parameters:
aDouble- the double to set
-
getShort
public short getShort()Getter for mShort.- Returns:
- the value of mShort
-
getInteger
public int getInteger()Getter for month.- Returns:
- the value of mInteger
-
getFloat
public float getFloat()Getter for mFloat.- Returns:
- the value of mFloat
-
getLong
public long getLong()Getter for mLong.- Returns:
- the value of mLong
-
getDouble
public double getDouble()Getter for mDouble.- Returns:
- the value of mDouble
-