Package jmri.jmrix.bachrus
Class SpeedoConsoleFrame
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
jmri.util.JmriJFrame
jmri.jmrix.bachrus.SpeedoConsoleFrame
- All Implemented Interfaces:
ComponentListener,WindowListener,ImageObserver,MenuContainer,PropertyChangeListener,Serializable,EventListener,Accessible,RootPaneContainer,WindowConstants,BeanInterface,SpeedoListener,ModifiedFlag,ProgListener,ThrottleListener,WindowInterface
public class SpeedoConsoleFrame
extends JmriJFrame
implements SpeedoListener, ThrottleListener, ProgListener, PropertyChangeListener
Frame for Speedo Console for Bachrus running stand reader interface
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumTODO: Complete the help fileprotected static enumprotected static enumprotected static enumNested classes/interfaces inherited from class jmri.util.JmriJFrame
JmriJFrame.ScreenDimensionsNested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrameNested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrameNested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.TypeNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyNested classes/interfaces inherited from interface jmri.ThrottleListener
ThrottleListener.DecisionTypeNested classes/interfaces inherited from interface jmri.util.swing.WindowInterface
WindowInterface.Hint -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected JSpinnerprotected JLabelprotected SpinnerNumberModelprotected floatprotected static final intprotected JRadioButtonprotected JRadioButtonprotected ButtonGroupprotected JLabelprotected JCheckBoxprotected JButtonprotected JSpinnerprotected JLabelprotected JLabelprotected JSpinnerprotected JLabelprotected JLabelprotected JCheckBoxprotected JLabelprotected JSpinnerprotected SpinnerNumberModelprotected JLabelprotected JLabelprotected JSpinnerprotected SpinnerNumberModelprotected JLabelprotected JRadioButtonprotected floatprotected static final intprotected CommandStationprotected floatprotected floatprotected intprotected JTextFieldprotected JLabel(package private) Stringprotected intprotected JSpinnerprotected JLabelprotected SpinnerNumberModelprotected static final intprotected JRadioButton(package private) Stringprotected JCheckBoxprotected JCheckBoxprotected SpeedoConsoleFrame.DisplayTypeprotected static final intprotected JPanelprotected ButtonGroup(package private) Timerprotected JButtonprotected static final int(package private) Timer(package private) static final int[]protected floatprotected SpinnerNumberModelprotected floatprotected JRadioButtonprotected JButtonprotected JRadioButtonprotected JRadioButtonprotected float(package private) UserPreferencesManagerprotected JButtonprotected JTextFieldprotected SpeedoConsoleFrame.ProfileDirection(package private) GraphPaneprotected floatprotected SpeedoConsoleFrame.ProfileStateprotected int(package private) Timerprotected Programmerprotected static final intprotected SpeedoConsoleFrame.ProgStateprotected intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected intprotected JButtonprotected JLabelprotected JButton(package private) Timerprotected JButtonprotected RosterEntryprotected floatprotected JLabelprotected float[]protected String[]protected float(package private) Stringprotected intprotected JButtonprotected static final intprotected ButtonGroupprotected SpeedMatcherprotected SpeedoDialprotected JRadioButtonprotected JLabelprotected JLabelprotected JLabelprotected JLabelprotected ButtonGroupprotected JLabelprotected JLabelprotected JCheckBoxprotected JButtonprotected JCheckBoxprotected JLabelprotected JSpinnerprotected SpinnerNumberModelprotected JLabelprotected JLabelprotected JSpinnerprotected SpinnerNumberModelprotected JLabelprotected JRadioButtonprotected JTextField(package private) Stringprotected DccSpeedProfileprotected DccSpeedProfileprotected DccSpeedProfileprotected JButtonprotected SpinnerNumberModelprotected JLabelprotected JButtonprotected float(package private) SpeedoTrafficControllerprotected DccThrottleprotected static final intprotected floatprotected booleanprotected JCheckBoxprotected JButtonFields inherited from class jmri.util.JmriJFrame
allowInFrameServlet, properties, reuseFrameSavedPosition, reuseFrameSavedSized, windowInterfaceFields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabledFields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORFields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface jmri.ProgListener
CommError, ConfirmFailed, FailedTimeout, NoAck, NoLocoDetected, NotImplemented, OK, ProgrammerBusy, ProgrammingShort, SequenceError, UnknownError, UserAbortedFields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the SpeedoConsoleFrame -
Method Summary
Modifier and TypeMethodDescriptionprotected voidavClr()Clears the average speed calculationprotected voidavFn(float speed) Calculates the average speed using a filterprotected voidCalculates the scale speed in KPHprotected voidCheck if custom scale selected and enable the custom scale entry field.protected voidInternal routine to update the target speed for displayvoiddispose()Override for the JmriJFrame's dispose functionprotected voidInternal routine to update the displayed speedprotected voidValidate the users custom scale entry.voidOverride for the JmriJFrame's initComponents functionvoidnotifyDecisionRequired(LocoAddress address, ThrottleListener.DecisionType question) Called when we must decide to steal the throttle for the requested address.voidnotifyFailedThrottleRequest(LocoAddress address, String reason) Called when a throttle could not be obtainedvoidCalled when a throttle is foundprotected voidProfile timer timeout handlervoidprogrammingOpReply(int value, int status) Called when the programmer (ops mode or service mode) has completed its operationvoidprotected voidStarts reading the address (CVs 29 then 1 (short) or 17 and 18 (long)) using the service mode programmerprotected voidStarts reading the momentum CVs (CV 3 and 4) using the global programmervoidreply(SpeedoReply l) Handle "replies" from the hardware.protected voidInternal routine to reset the speed on a timeout.protected voidsetDial()Set the speed to be displayed as a dial or numericprotected voidStarts writing the momentum CVs (CV 3 and 4) using the global programmervoidsetRosterEntry(RosterEntry entry) Set the RosterEntry for this throttle.protected voidsetUnits()Set the displays to mile per hour or kilometers per hourprotected voidDisplays the speed in the SpeedoConsoleFrame's digital/analog speedometerprotected voidStarts the timer used to update the speedometer display speed.protected voidStarts the timer used to update the speedometer display speed at a faster rate.protected voidStart the speed profiling processprotected voidStarts reading a CV using the service mode programmerprotected voidStarts the speedo hardware reply timer.protected voidstartWrite(String cv, int value) STarts writing a CV using the global programmerprotected voidStops the profiling and speed matching processes.protected voidStops profile and speed match timersprotected voidSwitches the filter used for averaging speed based on the measured speedprotected voidTimeout requesting a throttle.protected voidtidyUp()Resets profiling and speed matching timers and other pertinent values and releases the throttle and ops mode programmerprotected Stringtitle()Grabs the title for the SpeedoConsoleFrameprotected voidCalled when the track power button is clicked to turn on or off track power Allows user to power up and give time for sound decoder startup sequence before running a profileMethods inherited from class jmri.util.JmriJFrame
addHelpMenu, componentHidden, componentMoved, componentResized, componentShown, generateWindowRef, getAllowInFrameServlet, getEscapeKeyAction, getEscapeKeyClosesWindow, getFrame, getFrame, getFrameList, getFrameList, getIndexedProperty, getMaximumSize, getModifiedFlag, getPreferredSize, getProperty, getPropertyNames, getSavePosition, getSaveSize, getScreenDimensions, getWindowFrameRef, getWindowInterface, handleModified, hasIndexedProperty, hasProperty, makePrivateWindow, makePublicWindow, markWindowModified, multipleInstances, pack, setAllowInFrameServlet, setEscapeKeyAction, setEscapeKeyClosesWindow, setFrameLocation, setIndexedProperty, setModifiedFlag, setProperty, setSavePosition, setSaveSize, setShutDownTask, setWindowInterface, show, show, storeValues, undecorate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedMethods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateMethods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedMethods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.awt.MenuContainer
getFont, postEvent
-
Field Details
-
scaleLabel
-
customScaleLabel
-
customScaleField
-
customScale
-
speedTextField
-
displayCards
-
speedGroup
-
mphButton
-
kphButton
-
displayGroup
-
numButton
-
dialButton
-
speedoDialDisplay
-
dirFwdButton
-
dirRevButton
-
toggleGridButton
-
statusLabel
-
readerLabel
-
DEFAULT_SCALE
- See Also:
-
selectedScale
-
series
-
sampleSpeed
-
targetSpeed
-
currentSpeed
-
incSpeed
-
oldSpeed
-
acc
-
avSpeed
-
range
-
circ
-
count
-
freq
-
DISPLAY_UPDATE
- See Also:
-
FAST_DISPLAY_RATIO
- See Also:
-
RANGE1LO
- See Also:
-
RANGE1HI
- See Also:
-
RANGE2LO
- See Also:
-
RANGE2HI
- See Also:
-
RANGE3LO
- See Also:
-
RANGE3HI
- See Also:
-
RANGE4LO
- See Also:
-
RANGE4HI
- See Also:
-
FILTER_LENGTH
-
selectedScalePref
-
customScalePref
-
speedUnitsKphPref
-
dialTypePref
-
prefs
-
tc
-
scaleStrings
-
scales
-
scaleList
-
display
-
dccServices
-
BASIC
- See Also:
-
PROG
- See Also:
-
COMMAND
- See Also:
-
THROTTLE
- See Also:
-
timerRunning
-
progState
-
throttleIncrement
-
prog
-
commandStation
-
readAddressButton
-
rosterEntry
-
readAddress
-
accelerationSM
-
decelerationSM
-
accelerationLabel
-
accelerationField
-
decelerationLabel
-
decelerationField
-
readMomentumButton
-
setMomentumButton
-
trackPowerButton
-
startProfileButton
-
stopProfileButton
-
exportProfileButton
-
printProfileButton
-
resetGraphButton
-
loadProfileButton
-
printTitleText
-
profileGraphPane
-
spFwd
-
spRev
-
spRef
-
profileDir
-
throttle
-
profileStep
-
profileSpeed
-
profileState
-
basicSpeedMatchInfo
-
basicSpeedMatcherTypeGroup
-
basicSimpleCVSpeedMatchButton
-
basicSpeedTableSpeedMatchButton
-
basicESUSpeedMatchButton
-
basicSpeedMatchWarmUpForwardSecondsSM
-
basicSpeedMatchWarmUpReverseSecondsSM
-
basicSpeedMatchReverseCheckbox
-
basicSpeedMatchWarmUpCheckBox
-
basicSpeedMatchWarmUpForwardLabel
-
basicSpeedMatchWarmUpForwardSeconds
-
basicSpeedMatchWarmUpForwardUnit
-
basicSpeedMatchWarmUpReverseLabel
-
basicSpeedMatchWarmUpReverseSeconds
-
basicSpeedMatchWarmUpReverseUnit
-
basicSpeedMatchTargetStartSpeedLabel
-
startSpeedSM
-
basicSpeedMatchTargetStartSpeedField
-
basicSpeedMatchTargetStartSpeedUnit
-
basicSpeedMatchTargetHighSpeedLabel
-
highSpeedSM
-
basicSpeedMatchTargetHighSpeedField
-
basicSpeedMatchTargetHighSpeedUnit
-
basicSpeedMatchStartStopButton
-
speedStepScaleSpeedMatchInfo
-
speedStepScaleSpeedMatcherTypeGroup
-
speedStepScaleSpeedTableSpeedMatchButton
-
speedStepScaleESUSpeedMatchButton
-
speedStepScaleSpeedMatchWarmUpForwardSecondsSM
-
speedStepScaleSpeedMatchWarmUpReverseSecondsSM
-
speedStepScaleSpeedMatchReverseCheckbox
-
speedStepScaleSpeedMatchWarmUpCheckBox
-
speedStepScaleSpeedMatchWarmUpForwardLabel
-
speedStepScaleSpeedMatchWarmUpForwardSeconds
-
speedStepScaleSpeedMatchWarmUpForwardUnit
-
speedStepScaleSpeedMatchWarmUpReverseLabel
-
speedStepScaleSpeedMatchWarmUpReverseSeconds
-
speedStepScaleSpeedMatchWarmUpReverseUnit
-
speedStepScaleMaxSpeedTargetLabel
-
speedStepScaleSpeedMatchMaxSpeedUnit
-
speedStepScaleSpeedMatchStartStopButton
-
speedStepScaleMaxSpeedActualLabel
-
speedStepScaleMaxSpeedActualField
-
speedStepScaleMaxSpeedActualUnit
-
speedMatcher
-
SPEED_TEST_SCALE_FACTOR
- See Also:
-
profileTimer
-
replyTimer
-
displayTimer
-
fastDisplayTimer
-
-
Constructor Details
-
SpeedoConsoleFrame
Constructor for the SpeedoConsoleFrame- Parameters:
memo- the memo for the connection the Speedo is using
-
-
Method Details
-
title
Grabs the title for the SpeedoConsoleFrame- Returns:
- the frame's title
-
dispose
Override for the JmriJFrame's dispose function- Specified by:
disposein interfaceWindowInterface- Overrides:
disposein classJmriJFrame
-
initComponents
Override for the JmriJFrame's initComponents function- Overrides:
initComponentsin classJmriJFrame
-
reply
Handle "replies" from the hardware. In fact, all the hardware does is send a constant stream of unsolicited speed updates.- Specified by:
replyin interfaceSpeedoListener- Parameters:
l- the reply to handle
-
calcSpeed
Calculates the scale speed in KPH -
avFn
Calculates the average speed using a filter- Parameters:
speed- the speed of the latest interation
-
avClr
Clears the average speed calculation -
switchRange
Switches the filter used for averaging speed based on the measured speed -
showSpeed
Displays the speed in the SpeedoConsoleFrame's digital/analog speedometer -
checkCustomScale
Check if custom scale selected and enable the custom scale entry field. -
setDial
Set the speed to be displayed as a dial or numeric -
setUnits
Set the displays to mile per hour or kilometers per hour -
getCustomScale
Validate the users custom scale entry. -
setRosterEntry
Set the RosterEntry for this throttle.- Parameters:
entry- roster entry selected for throttle
-
propertyChange
Handles property changes from the power manager.
- Specified by:
propertyChangein interfacePropertyChangeListener
-
trackPower
Called when the track power button is clicked to turn on or off track power Allows user to power up and give time for sound decoder startup sequence before running a profile -
startProfile
Start the speed profiling process -
profileTimeout
Profile timer timeout handler -
tidyUp
Resets profiling and speed matching timers and other pertinent values and releases the throttle and ops mode programmerCalled both when profiling or speed matching finish successfully or error out
-
stopProfileAndSpeedMatch
Stops the profiling and speed matching processes. Called by pressing either the stop profile or stop speed matching buttons. -
stopTimers
Stops profile and speed match timers -
notifyThrottleFound
Called when a throttle is found- Specified by:
notifyThrottleFoundin interfaceThrottleListener- Parameters:
t- the requested DccThrottle
-
notifyFailedThrottleRequest
Called when a throttle could not be obtained- Specified by:
notifyFailedThrottleRequestin interfaceThrottleListener- Parameters:
address- the requested addressreason- the reason the throttle could not be obtained
-
notifyDecisionRequired
Called when we must decide to steal the throttle for the requested address. Since this is a an automatically stealing implementation, the throttle will be automatically stolen.- Specified by:
notifyDecisionRequiredin interfaceThrottleListener- Parameters:
address- The LocoAddress that needs the decision.question- The question being asked, steal / cancel, share / cancel, steal / share / cancel
-
startReplyTimer
Starts the speedo hardware reply timer. Once we receive a speedoReply we expect them regularly, at least once every 4 seconds. -
startDisplayTimer
Starts the timer used to update the speedometer display speed. -
startFastDisplayTimer
Starts the timer used to update the speedometer display speed at a faster rate. -
replyTimeout
Internal routine to reset the speed on a timeout. -
displayTimeout
Internal routine to update the target speed for display -
fastDisplayTimeout
Internal routine to update the displayed speed -
throttleTimeout
Timeout requesting a throttle. -
readAddress
Starts reading the address (CVs 29 then 1 (short) or 17 and 18 (long)) using the service mode programmer -
readMomentum
Starts reading the momentum CVs (CV 3 and 4) using the global programmer -
setMomentum
Starts writing the momentum CVs (CV 3 and 4) using the global programmer -
startRead
Starts reading a CV using the service mode programmer- Parameters:
cv- the CV
-
startWrite
STarts writing a CV using the global programmer- Parameters:
cv- the CVvalue- the value to write to the CV
-
programmingOpReply
Called when the programmer (ops mode or service mode) has completed its operation- Specified by:
programmingOpReplyin interfaceProgListener- Parameters:
value- Value from a read operation, or value written on a writestatus- Denotes the completion code. Note that this is a bitwise combination of the various states codes defined in this interface. (see ProgListener.java for possible values)
-