package dongfang.mkt.frames;
import java.io.IOException;
import dongfang.mkt.RequestFrameVisitor;
public class WriteParamSetRequestFrame
extends RequestFrame
{
private char[] name
;
private int[] data
;
private int configurationSetNumber
;
private int configurationVersionNumber
;
public WriteParamSetRequestFrame
(int configurationVersionNumber,
char[] name,
int[] data
) {
super(FC_ADDRESS
);
this.
configurationVersionNumber = configurationVersionNumber
;
this.
name = name
;
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
;
}
public char[] getName
() {
return name
;
}
}