Blame |
Last modification |
View Log
| RSS feed
package dongfang.mkt.frames;
public class ChangeParameterSetResponseFrame
extends ResponseFrame
{
// public static final char ID = RESPONSE_IDS.CHANGEPARAMETERSET.getId();
private int parameterSetNumber
;
public ChangeParameterSetResponseFrame
(int address
) {
super(address
);
}
@
Override
public boolean isResponseTo
(RequestFrame r
) {
return r
instanceof ChangeParameterSetRequestFrame
&& ((ChangeParameterSetRequestFrame
)r
).
getParameterSetNumber() == parameterSetNumber
;
}
public int getParameterSetNumber
() {
return parameterSetNumber
;
}
public void setParameterSetNumber
(int parameterSetNumber
) {
this.
parameterSetNumber = parameterSetNumber
;
}
}