Class FibreModule

java.lang.Object
  extended by FibreModule

 class FibreModule
extends java.lang.Object

The class FibreModule contains methods to perform various operations allowing access to all parameters of the fibre module, and it's associated fibres. It also provides methods to set parameters of the fibre module, and to methods to provide persistence of the data relating to the fibre module, through the use of disk files.


Field Summary
private  double bufferFactor
          Buffer factor around fibres applies a 10% buffer around all fibre dimensions
private  int ButtonLength
           
private  int ButtonWidth
           
private  int CircleRadius
           
private  int FIBRE_MAXIMUM_POSITION_ERROR
          The maximum allowable positioning error for any fibre.
private  int FIBRE_MINIMUM_POSITION_SEPARATION
           
private  int FibreLength
           
private  java.lang.String FibreModuleDataFileName
           
private  java.lang.String FibreModuleErrorDataFileName
           
private  java.lang.String FibreModuleName
           
private  Fibre[] Fibres
          The array of fibres in the fibre module
private  double FibreSize
           
private  java.lang.String LARGE_FIBRE_MODULE_CONFIGURATION_FILE
           
private  java.lang.String LARGE_FIBRE_MODULE_ERROR_FILE
           
private  int LoadRadius
           
private  int NoAcquisition
           
private  double NonRadialAngle
           
private  int NoPivots
           
private  NoticeBoard noticeBoard
           
private  int NoUnused
           
private  int ParkRadius
           
private  int PivotRadius
           
private  double scale0
          0th order term of plate scale
private  double scale1
          1st order term of plate scale
private  double scale2
          2nd order term of plate scale
private  java.lang.String SMALL_FIBRE_MODULE_CONFIGURATION_FILE
           
private  java.lang.String SMALL_FIBRE_MODULE_ERROR_FILE
           
private  int TubeWidth
           
private  java.lang.String WHT_LARGE_FIBRE_MODULE_CONFIGURATION_FILE
           
private  java.lang.String WHT_LARGE_FIBRE_MODULE_ERROR_FILE
           
private  java.lang.String WHT_PRIME_DISTORTION_FILE
           
private  java.lang.String WHT_SMALL_FIBRE_MODULE_CONFIGURATION_FILE
           
private  java.lang.String WHT_SMALL_FIBRE_MODULE_ERROR_FILE
           
private  java.lang.String WhtFibreModuleDataFileName
           
private  java.lang.String WhtFibreModuleErrorDataFileName
           
 
Constructor Summary
FibreModule()
          Constructor
 
Method Summary
private  void check()
          Check that all of the fibres in the fibre module are in valid positions
private  void closeFile(java.io.BufferedReader theFile)
           
private  java.awt.Point convert_xy(java.lang.String RA, java.lang.String Dec, java.lang.String Equinox, java.lang.String RA_centre, java.lang.String Dec_centre, java.lang.String LASidTime, java.lang.String SkyPA, java.lang.String UTDate, double scale0, double scale1, double scale2)
          Native method to RA and Dec coordinates to an AF2 XY cordinate
private  void copy(java.lang.String srcFilename, java.lang.String dstFilename)
          Copy a file
private  double extractDoubleFromInputLine(java.io.BufferedReader input)
           
private  java.lang.String extractFirstWordFromInputLine(java.io.BufferedReader input)
           
private  int extractIntFromInputLine(java.io.BufferedReader input)
           
private  java.lang.String extractStringFromInputLine(java.io.BufferedReader input)
           
private  double getBufferFactor()
          Get the buffer factor around the fibres
(package private)  int getButtonLength()
          Get the fibre button length
(package private)  int getButtonLengthBuffered()
          Get the fibre button length with a buffer applied
(package private)  int getButtonWidth()
          Get the fibre button width
(package private)  int getButtonWidthBuffered()
          Get the fibre button width with a buffer applied
private  int getCircleRadius()
          Get the circle radius of the fibre module
private  void getDistortionData(java.lang.String distortionDataFile)
          Get the field distortion data from the distortion file
(package private)  Fibre getFibre(int FibreNumber)
          Get a fibre by it's fibre number
(package private)  java.awt.Point getFibreCreepOffset(Fibre theFibre)
          Get the fibre creep error VC
(package private)  double getFibreDistance(Fibre fibre1, Fibre fibre2)
          Get the distance between 2 fibres
(package private)  int getFibreLength()
          Get the length of a fibre in the fibre module
private  void getFibreModuleData(java.lang.String fibreDataFile)
          Get the fibre data file and extract the current fibre information.
private  void getFibreModuleErrorData(java.lang.String fibreErrorDataFile)
          Get the learnt values of putdown offset error and creep error from the fibre module's error table
private  java.awt.Point getFibreOffset(Fibre theFibre)
          Get the learnt fibre putdown error offset VE
(package private)  java.awt.Point getFibrePutdownError(Fibre theFibre)
           
(package private)  java.awt.Point getFibrePutdownOffset(Fibre theFibre)
          Get the required putdown offset for a fibre.
(package private)  java.awt.Point getFixedFibreFinOffset(int FibreNumber)
          Get the fixed offset between the fibre and the fin
(package private)  double getGuideFibreRmsError()
          Get the RMS positioning error of the guide fibres
private  int getLoadRadius()
          Get the load radius of the fibre module
(package private)  Fibre getLostFibre()
          Get a lost fibre
(package private)  java.lang.String getName()
          Get the name of the fibre module
(package private)  Fibre getNearestFibre(Fibre theFibre)
          Get the nearest fibre to a fibre
(package private)  Fibre getNearestFibre(java.awt.Point thePosition)
          Get the nearest fibre to a position
private  double getNonRadialAngle()
          Get the maximum non radial angle allowed for each fibre
(package private)  double getNonRadialAngleInArcmins()
          Get the maximum non radial angle allowed for each fibre
(package private)  int getNumberOfDisabledFibres()
          Get the number of disabled fibres in the fibre module
(package private)  int getNumberOfFiducialFibres()
          Get the number of fiducial fibres in the fibre module
(package private)  int getNumberOfObjectFibres()
          Get the number of object fibres in the fibre module
(package private)  int getNumberOfPivots()
          Get the number of pivots in the fibre module
(package private)  int getNumberOfUnsusedFibres()
          Get the number of unused fibres in the fibre module
private  int getParkRadius()
          Get the park radius of the fibre module
private  int getPivotRadius()
          Get the pivot radius of the fibre module
private  double getScale0()
          Get the 0th order term of plate scale
private  double getScale1()
          Get the 1st order term of plate scale
private  double getScale2()
          Get the 2nd order term of plate scale
(package private)  double getScienceFibreRmsError()
          Get the RMS positioning error of the science fibres
(package private)  int getTubeWidth()
          Get the fibre tube width
(package private)  int getTubeWidthBuffered()
          Get the fibre tube width with a buffer applied
private  boolean hasFibre(int theFibreNumber)
          Check whether a fibre exists
(package private)  boolean isCloseToAnotherFibre(Fibre thisFibre)
          Ask whether a fibre is too close to another fibre
(package private)  boolean isFibreLost()
          Determine if a fibre is currently lost
(package private)  boolean isFibreMovementRequired(Fibre theFibre, Fibre theTarget, int tolerance)
          Check whether movement of a fibre is required
private  boolean isLengthOK(Fibre thisFibre)
          Check that the length of the fibre is OK
(package private)  boolean isNotColliding(Fibre thisFibre)
          Check that a fibre does not collide with any other fibres in the module
(package private)  boolean isPositionOK(Fibre thisFibre)
          Check that the position of a fibre is valid
private  boolean isRadial(Fibre thisFibre)
          Check that the fibre is within it's radial angle tolerance
(package private)  boolean isWithinField(Fibre thisFibre)
          Check that the fibre is within the observable field
private  boolean isWithinLoadRing(Fibre thisFibre)
          Check that the fibre is within the load ring
private  java.io.BufferedReader openFile(java.lang.String filename)
           
private  java.lang.String rightAlign(long number, int FieldSize)
          Right align a number
private  void saveFibreModuleErrorData()
           
private  void saveFibreState(Fibre theFibre)
           
(package private)  void saveModuleState()
           
(package private)  void setCirclePosition(Fibre thisFibre)
           
(package private)  void setFibreCreepOffset(Fibre theFibre, java.awt.Point gripperOpenPosition, java.awt.Point gripperClosedPosition)
          Set the fibre's creep offset vector
(package private)  void setFibreErrorOffset(Fibre theFibre, java.awt.Point gripperClosedPosition, java.awt.Point robotPosition)
          Set the fibre's error offset vector
(package private)  void setFibrePosition(Fibre thisFibre, java.awt.Point thisPosition)
          Set the fibre's new position
(package private)  void setFibrePosition(TargetFibre theTargetFibre, Configuration thisConfiguration)
          Set a target fibre's position for a configuration
(package private)  void setFibrePosition(TargetFibre theTargetFibre, java.awt.Point thisPosition)
          Set the target fibre's position
(package private)  void setFibrePutdownError(Fibre theFibre, java.awt.Point theFibrePosition, java.awt.Point theRobotPosition)
           
(package private)  void setLoadRingPosition()
          Set the position of all of the fibres in the fibre module to the position of the load ring
(package private)  void setLoadRingPosition(Fibre thisFibre)
          Set the position of a fibre to the position of the load ring
(package private)  void setParkPosition(Fibre thisFibre)
           
(package private)  void setPositionNoMove(Fibre thisFibre)
           
private  void synchroniseFiles(java.lang.String fileName1, java.lang.String fileName2)
          Synchronise two copies of a file Copy the newer file to the older file
 java.lang.String toString()
          Returns a string representation of the object
(package private)  void updateNoticeBoard()
          Update the parameter noticeboard with the fibre module details
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SMALL_FIBRE_MODULE_CONFIGURATION_FILE

private final java.lang.String SMALL_FIBRE_MODULE_CONFIGURATION_FILE

SMALL_FIBRE_MODULE_ERROR_FILE

private final java.lang.String SMALL_FIBRE_MODULE_ERROR_FILE

LARGE_FIBRE_MODULE_CONFIGURATION_FILE

private final java.lang.String LARGE_FIBRE_MODULE_CONFIGURATION_FILE

LARGE_FIBRE_MODULE_ERROR_FILE

private final java.lang.String LARGE_FIBRE_MODULE_ERROR_FILE

WHT_SMALL_FIBRE_MODULE_CONFIGURATION_FILE

private final java.lang.String WHT_SMALL_FIBRE_MODULE_CONFIGURATION_FILE
See Also:
Constant Field Values

WHT_SMALL_FIBRE_MODULE_ERROR_FILE

private final java.lang.String WHT_SMALL_FIBRE_MODULE_ERROR_FILE
See Also:
Constant Field Values

WHT_LARGE_FIBRE_MODULE_CONFIGURATION_FILE

private final java.lang.String WHT_LARGE_FIBRE_MODULE_CONFIGURATION_FILE
See Also:
Constant Field Values

WHT_LARGE_FIBRE_MODULE_ERROR_FILE

private final java.lang.String WHT_LARGE_FIBRE_MODULE_ERROR_FILE
See Also:
Constant Field Values

WHT_PRIME_DISTORTION_FILE

private final java.lang.String WHT_PRIME_DISTORTION_FILE
See Also:
Constant Field Values

FIBRE_MAXIMUM_POSITION_ERROR

private final int FIBRE_MAXIMUM_POSITION_ERROR
The maximum allowable positioning error for any fibre.

See Also:
Constant Field Values

FIBRE_MINIMUM_POSITION_SEPARATION

private final int FIBRE_MINIMUM_POSITION_SEPARATION
See Also:
Constant Field Values

bufferFactor

private final double bufferFactor
Buffer factor around fibres applies a 10% buffer around all fibre dimensions

See Also:
Constant Field Values

FibreModuleName

private java.lang.String FibreModuleName

FibreModuleDataFileName

private java.lang.String FibreModuleDataFileName

FibreModuleErrorDataFileName

private java.lang.String FibreModuleErrorDataFileName

WhtFibreModuleDataFileName

private java.lang.String WhtFibreModuleDataFileName

WhtFibreModuleErrorDataFileName

private java.lang.String WhtFibreModuleErrorDataFileName

NoPivots

private int NoPivots

NoAcquisition

private int NoAcquisition

NoUnused

private int NoUnused

NonRadialAngle

private double NonRadialAngle

FibreLength

private int FibreLength

TubeWidth

private int TubeWidth

ButtonWidth

private int ButtonWidth

ButtonLength

private int ButtonLength

FibreSize

private double FibreSize

PivotRadius

private int PivotRadius

ParkRadius

private int ParkRadius

LoadRadius

private int LoadRadius

CircleRadius

private final int CircleRadius
See Also:
Constant Field Values

scale0

private double scale0
0th order term of plate scale


scale1

private double scale1
1st order term of plate scale


scale2

private double scale2
2nd order term of plate scale


noticeBoard

private NoticeBoard noticeBoard

Fibres

private Fibre[] Fibres
The array of fibres in the fibre module

Constructor Detail

FibreModule

FibreModule()
Constructor

Method Detail

convert_xy

private java.awt.Point convert_xy(java.lang.String RA,
                                  java.lang.String Dec,
                                  java.lang.String Equinox,
                                  java.lang.String RA_centre,
                                  java.lang.String Dec_centre,
                                  java.lang.String LASidTime,
                                  java.lang.String SkyPA,
                                  java.lang.String UTDate,
                                  double scale0,
                                  double scale1,
                                  double scale2)
Native method to RA and Dec coordinates to an AF2 XY cordinate

Parameters:
RA - The RA of the object
Dec - The Dec of the object
Equinox - The Equinox
RA_centre - The RA centre of the field
Dec_centre - The Dec centre of the field
LASidTime - The sidereal time
SkyPA - The Sky PA
UTDate - The UT date
scale0 - 0th order term of plate scale
scale1 - 1st order term of plate scale
scale2 - 2nd order term of plate scale
Returns:
The point representing the AF2 XY coordinates of the object

check

private void check()
Check that all of the fibres in the fibre module are in valid positions


getDistortionData

private void getDistortionData(java.lang.String distortionDataFile)
Get the field distortion data from the distortion file

Parameters:
distortionDataFile - The name of the distortion file

getFibreModuleData

private void getFibreModuleData(java.lang.String fibreDataFile)
Get the fibre data file and extract the current fibre information.

Parameters:
fibreDataFile - The name of the fibre module data file (xxxxx_fibres.dat)

getFibreModuleErrorData

private void getFibreModuleErrorData(java.lang.String fibreErrorDataFile)
Get the learnt values of putdown offset error and creep error from the fibre module's error table

Parameters:
fibreErrorDataFile - The path to the fibre module's error table file

getName

java.lang.String getName()
Get the name of the fibre module

Returns:
the name of the fibre module

getScale0

private double getScale0()
Get the 0th order term of plate scale

Returns:
the 0th order term of plate scale

getScale1

private double getScale1()
Get the 1st order term of plate scale

Returns:
the 1st order term of plate scale

getScale2

private double getScale2()
Get the 2nd order term of plate scale

Returns:
the 2nd order term of plate scale

getLoadRadius

private int getLoadRadius()
Get the load radius of the fibre module

Returns:
the load radius of the fibre module

getParkRadius

private int getParkRadius()
Get the park radius of the fibre module

Returns:
the park radius of the fibre module

getPivotRadius

private int getPivotRadius()
Get the pivot radius of the fibre module

Returns:
the pivot radius of the fibre module

getCircleRadius

private int getCircleRadius()
Get the circle radius of the fibre module

Returns:
the circle radius of the fibre module

getNonRadialAngle

private double getNonRadialAngle()
Get the maximum non radial angle allowed for each fibre

Returns:
The maximum non radial angle allowed for each fibre (in degrees)

getNonRadialAngleInArcmins

double getNonRadialAngleInArcmins()
Get the maximum non radial angle allowed for each fibre

Returns:
The maximum non radial angle allowed for each fibre (in arcmins)

getFibreLength

int getFibreLength()
Get the length of a fibre in the fibre module

Returns:
the length of a fibre in the fibre module

getBufferFactor

private double getBufferFactor()
Get the buffer factor around the fibres

Returns:
the buffer factor around the fibres

getButtonWidth

int getButtonWidth()
Get the fibre button width

Returns:
the fibre button width

getButtonLength

int getButtonLength()
Get the fibre button length

Returns:
the fibre button length

getTubeWidth

int getTubeWidth()
Get the fibre tube width

Returns:
the fibre tube width

getButtonWidthBuffered

int getButtonWidthBuffered()
Get the fibre button width with a buffer applied

Returns:
the fibre button width with a buffer applied

getButtonLengthBuffered

int getButtonLengthBuffered()
Get the fibre button length with a buffer applied

Returns:
the fibre button length with a buffer applied

getTubeWidthBuffered

int getTubeWidthBuffered()
Get the fibre tube width with a buffer applied

Returns:
the fibre tube width with a buffer applied

getNumberOfPivots

int getNumberOfPivots()
Get the number of pivots in the fibre module

Returns:
the number of pivots in the fibre module

getNumberOfUnsusedFibres

int getNumberOfUnsusedFibres()
Get the number of unused fibres in the fibre module

Returns:
the number of unused fibres in the fibre module

getNumberOfFiducialFibres

int getNumberOfFiducialFibres()
Get the number of fiducial fibres in the fibre module

Returns:
the number of fiducial fibres in the fibre module

getNumberOfObjectFibres

int getNumberOfObjectFibres()
Get the number of object fibres in the fibre module

Returns:
the number of object fibres in the fibre module

getNumberOfDisabledFibres

int getNumberOfDisabledFibres()
Get the number of disabled fibres in the fibre module

Returns:
the number of disabled fibres in the fibre module

getFibre

Fibre getFibre(int FibreNumber)
Get a fibre by it's fibre number

Parameters:
FibreNumber - The number of the fibre
Returns:
The fibre

getLostFibre

Fibre getLostFibre()
Get a lost fibre

Returns:
The lost fibre

getNearestFibre

Fibre getNearestFibre(java.awt.Point thePosition)
Get the nearest fibre to a position

Parameters:
thePosition - The position
Returns:
The nearest fibre to the position

getNearestFibre

Fibre getNearestFibre(Fibre theFibre)
Get the nearest fibre to a fibre

Parameters:
theFibre - The fibre
Returns:
The nearest fibre

getFixedFibreFinOffset

java.awt.Point getFixedFibreFinOffset(int FibreNumber)
Get the fixed offset between the fibre and the fin

Parameters:
FibreNumber - The number of the fibre
Returns:
The fixed offset between the fin and the fibre

getFibrePutdownOffset

java.awt.Point getFibrePutdownOffset(Fibre theFibre)
Get the required putdown offset for a fibre. This is the negative vector sum of the fibre error offset, and the creep offset

Parameters:
theFibre - The fibre
Returns:
The required putdown offset

getFibreOffset

private java.awt.Point getFibreOffset(Fibre theFibre)
Get the learnt fibre putdown error offset VE

Parameters:
theFibre - The fibre
Returns:
The learnt putdown error for the fibre

getFibreCreepOffset

java.awt.Point getFibreCreepOffset(Fibre theFibre)
Get the fibre creep error VC

Parameters:
theFibre - The fibre
Returns:
The fibre's creep error

setFibreCreepOffset

void setFibreCreepOffset(Fibre theFibre,
                         java.awt.Point gripperOpenPosition,
                         java.awt.Point gripperClosedPosition)
Set the fibre's creep offset vector

Parameters:
theFibre - The fibre
gripperOpenPosition - The position of the fibre with the gripper open
gripperClosedPosition - The position of the fibre with the gripper closed

setFibreErrorOffset

void setFibreErrorOffset(Fibre theFibre,
                         java.awt.Point gripperClosedPosition,
                         java.awt.Point robotPosition)
Set the fibre's error offset vector

Parameters:
theFibre - The fibre
gripperClosedPosition - The position of the fibre with the gripper closed
robotPosition - The position of the robot

setFibrePutdownError

void setFibrePutdownError(Fibre theFibre,
                          java.awt.Point theFibrePosition,
                          java.awt.Point theRobotPosition)

getFibrePutdownError

java.awt.Point getFibrePutdownError(Fibre theFibre)

getFibreDistance

double getFibreDistance(Fibre fibre1,
                        Fibre fibre2)
Get the distance between 2 fibres

Parameters:
fibre1 - Fibre 1
fibre2 - Fibre 2
Returns:
The distance between the fibres

getScienceFibreRmsError

double getScienceFibreRmsError()
Get the RMS positioning error of the science fibres

Returns:
The RMS positioning error of the science fibres

getGuideFibreRmsError

double getGuideFibreRmsError()
Get the RMS positioning error of the guide fibres

Returns:
The RMS positioning error of the guide fibres

isFibreMovementRequired

boolean isFibreMovementRequired(Fibre theFibre,
                                Fibre theTarget,
                                int tolerance)
Check whether movement of a fibre is required

Parameters:
theFibre - The fibre to be moved
theTarget - The target for the fibre
tolerance - The required tolerance in microns
Returns:
Whether a fibre movement is required

isPositionOK

boolean isPositionOK(Fibre thisFibre)
Check that the position of a fibre is valid

Parameters:
thisFibre - The fibre to be checked
Returns:
Whether the position of a fibre is valid

isNotColliding

boolean isNotColliding(Fibre thisFibre)
Check that a fibre does not collide with any other fibres in the module

Parameters:
thisFibre - The fibre to be checked
Returns:
Result of fibre collision check

isCloseToAnotherFibre

boolean isCloseToAnotherFibre(Fibre thisFibre)
Ask whether a fibre is too close to another fibre

Parameters:
thisFibre - The fibre
Returns:
Boolean to indicate whether the fibre is too close to another fibre

isRadial

private boolean isRadial(Fibre thisFibre)
Check that the fibre is within it's radial angle tolerance

Parameters:
thisFibre - The fibre to be checked
Returns:
Value to indicate whether the fibre is within it's radial angle tolerance

isFibreLost

boolean isFibreLost()
Determine if a fibre is currently lost

Returns:
Boolean to indicate whether a fibre is lost

hasFibre

private boolean hasFibre(int theFibreNumber)
Check whether a fibre exists

Parameters:
theFibreNumber - The number of the fibre
Returns:
Whether the fibre exists

isLengthOK

private boolean isLengthOK(Fibre thisFibre)
Check that the length of the fibre is OK

Parameters:
thisFibre - The fibre to be checked
Returns:
Value to indicate whether the length of the fibre is OK

isWithinLoadRing

private boolean isWithinLoadRing(Fibre thisFibre)
Check that the fibre is within the load ring

Parameters:
thisFibre - The fibre to be checked
Returns:
Value to indicate whether the fibre is within the load ring

isWithinField

boolean isWithinField(Fibre thisFibre)
Check that the fibre is within the observable field

Parameters:
thisFibre - The fibre to be checked
Returns:
Value to indicate whether the fibre is within the observable field

setFibrePosition

void setFibrePosition(Fibre thisFibre,
                      java.awt.Point thisPosition)
Set the fibre's new position

Parameters:
thisFibre - The fibre
thisPosition - The fibre's position

setFibrePosition

void setFibrePosition(TargetFibre theTargetFibre,
                      java.awt.Point thisPosition)
Set the target fibre's position

Parameters:
theTargetFibre - The target fibre
thisPosition - The target fibre's position

setFibrePosition

void setFibrePosition(TargetFibre theTargetFibre,
                      Configuration thisConfiguration)
Set a target fibre's position for a configuration

Parameters:
theTargetFibre - The target fibre
thisConfiguration - The configuration

setLoadRingPosition

void setLoadRingPosition(Fibre thisFibre)
Set the position of a fibre to the position of the load ring

Parameters:
thisFibre - The fibre to be marked as positioned in the load ring

setLoadRingPosition

void setLoadRingPosition()
Set the position of all of the fibres in the fibre module to the position of the load ring


setParkPosition

void setParkPosition(Fibre thisFibre)

setCirclePosition

void setCirclePosition(Fibre thisFibre)

setPositionNoMove

void setPositionNoMove(Fibre thisFibre)

extractDoubleFromInputLine

private double extractDoubleFromInputLine(java.io.BufferedReader input)

extractIntFromInputLine

private int extractIntFromInputLine(java.io.BufferedReader input)

extractFirstWordFromInputLine

private java.lang.String extractFirstWordFromInputLine(java.io.BufferedReader input)

extractStringFromInputLine

private java.lang.String extractStringFromInputLine(java.io.BufferedReader input)

openFile

private java.io.BufferedReader openFile(java.lang.String filename)

closeFile

private void closeFile(java.io.BufferedReader theFile)

saveModuleState

void saveModuleState()

updateNoticeBoard

void updateNoticeBoard()
Update the parameter noticeboard with the fibre module details


saveFibreState

private void saveFibreState(Fibre theFibre)

saveFibreModuleErrorData

private void saveFibreModuleErrorData()

rightAlign

private java.lang.String rightAlign(long number,
                                    int FieldSize)
Right align a number

Parameters:
number - The number to be right aligned
FieldSize - The size of the string field
Returns:
The right aligned number

copy

private void copy(java.lang.String srcFilename,
                  java.lang.String dstFilename)
Copy a file

Parameters:
srcFilename - The src file name
dstFilename - The destination file name

synchroniseFiles

private void synchroniseFiles(java.lang.String fileName1,
                              java.lang.String fileName2)
Synchronise two copies of a file Copy the newer file to the older file

Parameters:
fileName1 - Name of file1
fileName2 - Name of file2

toString

public java.lang.String toString()
Returns a string representation of the object

Overrides:
toString in class java.lang.Object
Returns:
The string representation of the object