protected void notifyStateChange(int oldState,int newState){
  mState=newState;
  if (oldState != newState) {
    firePropertyChange("KnownState",Integer.valueOf(oldState),Integer.valueOf(newState));
  }
}

protected void notifyStateChange ( int oldState , int newState ) { mState = newState ; if ( oldState != newState ) { firePropertyChange ( "KnownState" , Integer . valueOf ( oldState ) , Integer . valueOf ( newState ) ) ; } }
change the stored state value and do notification , but don ' t change anything in the hardware
