package dongfang.mkt.frames;
import java.io.IOException;
import dongfang.mkt.RequestFrameVisitor;
public class UniversalWriteParamSetRequestFrame
extends RequestFrame
{
private int[] data
;
private int configurationSetNumber
;
private int configurationVersionNumber
;
public UniversalWriteParamSetRequestFrame
(int configurationVersionNumber,
int[] data
) {
super(FC_ADDRESS
);
this.
configurationVersionNumber = configurationVersionNumber
;
this.
data = data
;
}
@
Override
public void accept
(RequestFrameVisitor o
) throws IOException {
o.
visit(this);
}
public int getConfigurationSetNumber
() {
return configurationSetNumber
;
}
public void setConfigurationSetNumber
(int n
) {
this.
configurationSetNumber = n
;
}
public int getConfigurationVersionNumber
() {
return configurationVersionNumber
;
}
public int getDataLength
() {
return data.
length;
}
public int[] getData
() {
return data
;
}
}