package dongfang.mkt.frames;
import java.io.IOException;
import dongfang.mkt.RequestFrameVisitor;
public class WriteIMUConfigurationRequestFrame
extends RequestFrame
{
private int[] data
;
private int configurationVersionNumber
;
public WriteIMUConfigurationRequestFrame
(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 getConfigurationVersionNumber
() {
return configurationVersionNumber
;
}
public int getDataLength
() {
return data.
length;
}
public int[] getData
() {
return data
;
}
}