super.writeValueTo(val, content);
getReadCurrentStateQuery().setObsolete();
}
};
changePhaseIndexQuery = new ChangeIntegerQ(dis, dos, SET_CMD, id,
Constants.TL_CURRENT_PHASE) {
@Override
protected void writeValueTo(Integer val, Storage content) {
super.writeValueTo(val, content);
getReadCurrentPhaseQuery().setObsolete();
getReadCurrentStateQuery().setObsolete();
}
};
changeProgramQuery = new ChangeStringQ(dis, dos, SET_CMD, id,
Constants.TL_PROGRAM) {
@Override
protected void writeValueTo(String val, Storage content) {
super.writeValueTo(val, content);
getReadCurrentPhaseQuery().setObsolete();
getReadCurrentStateQuery().setObsolete();
getReadCurrentProgramQuery().setObsolete();
}
};
changePhaseDurationQuery = new ChangeIntegerQ(dis, dos, SET_CMD, id,
Constants.TL_PHASE_DURATION) {
@Override
protected void writeValueTo(Integer val, Storage content) {
super.writeValueTo(val, content);
getReadCurrentPhaseDurationQuery().setObsolete();