public class MPRResult extends AbstractLightweightTestResult implements DataRecord, MultiplePartParametricTestResult, spry.model.equipment.TesterHeadSiteHolder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION |
partInsertion, recordNumber
Constructor and Description |
---|
MPRResult() |
MPRResult(MultipleParametricTest ref,
MPR mpr) |
MPRResult(PartInsertion p,
MultipleParametricTest ref,
int recordNumber,
byte testFlag,
byte parmFlag,
int detailOffset,
short detailLength,
MPRTable table,
TestConditionSet tc) |
Modifier and Type | Method and Description |
---|---|
static void |
addType() |
int |
compareTo(TestResult o) |
MPR |
copyIntoMpr(MPR mpr) |
java.lang.String |
getAlarm_id() |
java.lang.String |
getC_hlmfmt() |
java.lang.String |
getC_llmfmt() |
java.lang.String |
getC_resfmt() |
java.lang.String |
getDescription() |
short |
getHead_num() |
float |
getHi_limit() |
float |
getHi_spec() |
short |
getHlm_scal() |
float |
getIncr_in() |
java.lang.Object |
getKey(java.lang.String name) |
java.util.Iterator<java.lang.String> |
getKeyNames() |
short |
getLlm_scal() |
float |
getLo_limit() |
float |
getLo_spec() |
short |
getOpt_flag() |
DataHolder |
getParent(java.lang.String parentName) |
java.util.Iterator<java.lang.String> |
getParentNames() |
short |
getParm_flg() |
PartInsertion |
getPart() |
java.lang.String |
getRecordType() |
short |
getRes_scal() |
int |
getResultCount() |
float |
getResultN(int index) |
float[] |
getResults() |
java.lang.String |
getResultString() |
float |
getResultValue(int index) |
int |
getRslt_cnt() |
int |
getRtn_icnt() |
int[] |
getRtn_indx() |
int |
getRtn_indx(int index) |
float[] |
getRtn_rslt() |
float |
getRtn_rslt(int index) |
short[] |
getRtn_stat() |
short |
getRtn_stat(int index) |
short |
getSite_num() |
DataFile |
getSourceFile() |
float |
getStart_in() |
java.util.List<? extends DataHolder> |
getSubList(java.lang.String listName) |
java.util.List<java.lang.String> |
getSubListNames() |
short |
getTest_flg() |
long |
getTest_num() |
java.lang.String |
getTest_txt() |
Test |
getTest() |
TestConditionSet |
getTestConditionN(int index) |
java.lang.String |
getUnits_in() |
java.lang.String |
getUnits() |
java.lang.Object |
getValue(java.lang.String valueName) |
java.util.Iterator<java.lang.String> |
getValueNames() |
boolean |
isAboveHighLimit() |
boolean |
isAlarm() |
boolean |
isAlarmDetected() |
boolean |
isBelowLowLimit() |
boolean |
isCompleteResultNotValid() |
boolean |
isDriftError() |
boolean |
isFailed() |
boolean |
isFailedInvalid() |
boolean |
isOscillationDetected() |
boolean |
isPassedAlternateLimits() |
boolean |
isPassFailNotValid() |
boolean |
isReserved() |
boolean |
isResultEqualHighLimitPass() |
boolean |
isResultEqualLowLimitPass() |
boolean |
isResultNotReliable() |
boolean |
isResultNotValid() |
boolean |
isScaleError() |
boolean |
isTestAborted() |
boolean |
isTestFailed() |
boolean |
isTestFailedInvalid() |
boolean |
isTestNotExecuted() |
boolean |
isTimeout() |
boolean |
isTimeoutOccurred() |
void |
readRecord(java.nio.ByteBuffer bb) |
void |
setAboveHighLimit(boolean newValue) |
void |
setAlarm_id(java.lang.String newValue) |
void |
setAlarm(boolean newValue) |
void |
setBelowLowLimit(boolean newValue) |
void |
setC_hlmfmt(java.lang.String newValue) |
void |
setC_llmfmt(java.lang.String newValue) |
void |
setC_resfmt(java.lang.String newValue) |
void |
setDriftError(boolean newValue) |
void |
setHead_num(short newValue) |
void |
setHi_limit(float newValue) |
void |
setHi_spec(float newValue) |
void |
setHlm_scal(short newValue) |
void |
setIncr_in(float newValue) |
void |
setKey(java.lang.String name,
java.lang.String value) |
void |
setLlm_scal(short newValue) |
void |
setLo_limit(float newValue) |
void |
setLo_spec(float newValue) |
void |
setOpt_flag(short newValue) |
void |
setOscillationDetected(boolean newValue) |
void |
setParent(java.lang.String parentName,
DataHolder parent) |
void |
setParm_flg(short newValue) |
void |
setPart(PartInsertion p) |
void |
setPassedAlternateLimits(boolean newValue) |
void |
setPassFailNotValid(boolean newValue) |
void |
setRes_scal(short newValue) |
void |
setReserved(boolean newValue) |
void |
setResultCount(int newValue) |
void |
setResultEqualHighLimitPass(boolean newValue) |
void |
setResultEqualLowLimitPass(boolean newValue) |
void |
setResultN(int index,
float result) |
void |
setResultNotReliable(boolean newValue) |
void |
setResultNotValid(boolean newValue) |
void |
setResultString(java.lang.String resultString) |
void |
setResultString(java.lang.String resultString,
int testSite) |
void |
setResultValue(int index,
float newValue) |
void |
setRslt_cnt(int newValue) |
void |
setRtn_icnt(int newValue) |
void |
setRtn_indx(int[] newValue) |
void |
setRtn_indx(int index,
int newValue) |
void |
setRtn_rslt(float[] newValue) |
void |
setRtn_rslt(int index,
float newValue) |
void |
setRtn_stat(int index,
short newValue) |
void |
setRtn_stat(short[] newValue) |
void |
setScaleError(boolean newValue) |
void |
setSite_num(short newValue) |
void |
setSourceFile(DataFile newSource) |
void |
setStart_in(float newValue) |
void |
setTest_flg(short newValue) |
void |
setTest(Test test) |
void |
setTestAborted(boolean newValue) |
void |
setTestConditionN(int index,
TestConditionSet condition) |
void |
setTestFailed(boolean newValue) |
void |
setTestFailedInvalid(boolean newValue) |
void |
setTestNotExecuted(boolean newValue) |
void |
setTimeout(boolean newValue) |
void |
setUnits_in(java.lang.String newValue) |
void |
setUnits(java.lang.String newValue) |
void |
setValue(java.lang.String valueName,
java.lang.String value) |
java.lang.String |
toString() |
void |
writeRecord(SaveInfo saveInfo,
java.nio.ByteBuffer bb)
Writes this record into a ByteBuffer, using fieldReader
for platform-specific formatting
|
getRecordNumber, reAddTest, setRecordNumber, setTest_num, setTest_txt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRecordNumber, setRecordNumber
public static final java.lang.String DESCRIPTION
public MPRResult()
public MPRResult(MultipleParametricTest ref, MPR mpr)
public MPRResult(PartInsertion p, MultipleParametricTest ref, int recordNumber, byte testFlag, byte parmFlag, int detailOffset, short detailLength, MPRTable table, TestConditionSet tc)
public short getParm_flg()
public void setParm_flg(short newValue)
public short getTest_flg()
getTest_flg
in interface MultiplePartParametricTestResult
public void setTest_flg(short newValue)
public int getRtn_indx(int index)
index
- get the value for rtn_indx at indexpublic int[] getRtn_indx()
public void setRtn_indx(int index, int newValue)
public void setRtn_indx(int[] newValue)
public java.lang.String getTest_txt()
public short getRes_scal()
public void setRes_scal(short newValue)
public float getLo_limit()
public void setLo_limit(float newValue)
public float getIncr_in()
public void setIncr_in(float newValue)
public long getTest_num()
public short getLlm_scal()
public void setLlm_scal(short newValue)
public short getRtn_stat(int index)
index
- get the value for rtn_stat at indexpublic short[] getRtn_stat()
public void setRtn_stat(int index, short newValue)
public void setRtn_stat(short[] newValue)
public float getStart_in()
public void setStart_in(float newValue)
public short getOpt_flag()
public void setOpt_flag(short newValue)
public java.lang.String getC_llmfmt()
public void setC_llmfmt(java.lang.String newValue)
public short getHlm_scal()
public void setHlm_scal(short newValue)
public float getRtn_rslt(int index)
index
- get the value for rtn_rslt at indexpublic float[] getRtn_rslt()
public void setRtn_rslt(int index, float newValue)
public void setRtn_rslt(float[] newValue)
public float getResultValue(int index)
getResultValue
in interface MultiplePartParametricTestResult
public void setResultValue(int index, float newValue)
setResultValue
in interface MultiplePartParametricTestResult
public java.lang.String getUnits_in()
public void setUnits_in(java.lang.String newValue)
public java.lang.String getC_hlmfmt()
public void setC_hlmfmt(java.lang.String newValue)
public short getSite_num()
getSite_num
in interface spry.model.equipment.TesterHeadSiteHolder
public void setSite_num(short newValue)
setSite_num
in interface spry.model.equipment.TesterHeadSiteHolder
public java.lang.String getAlarm_id()
public void setAlarm_id(java.lang.String newValue)
public float getHi_spec()
public void setHi_spec(float newValue)
public int getRtn_icnt()
public void setRtn_icnt(int newValue)
public float getHi_limit()
public void setHi_limit(float newValue)
public float getLo_spec()
public void setLo_spec(float newValue)
public java.lang.String getC_resfmt()
public void setC_resfmt(java.lang.String newValue)
public short getHead_num()
getHead_num
in interface spry.model.equipment.TesterHeadSiteHolder
public void setHead_num(short newValue)
setHead_num
in interface spry.model.equipment.TesterHeadSiteHolder
public int getRslt_cnt()
public void setRslt_cnt(int newValue)
public int getResultCount()
getResultCount
in interface MultiplePartParametricTestResult
getResultCount
in interface TestResult
public void setResultCount(int newValue)
setResultCount
in interface TestResult
public java.lang.String getUnits()
public void setUnits(java.lang.String newValue)
public boolean isResultNotValid()
public void setResultNotValid(boolean newValue)
public boolean isAlarmDetected()
public boolean isTimeoutOccurred()
public boolean isCompleteResultNotValid()
isCompleteResultNotValid
in interface TestResult
public boolean isResultNotReliable()
public void setResultNotReliable(boolean newValue)
public boolean isReserved()
public void setReserved(boolean newValue)
public boolean isAlarm()
public void setAlarm(boolean newValue)
public boolean isTestNotExecuted()
isTestNotExecuted
in interface TestResult
public void setTestNotExecuted(boolean newValue)
public boolean isAboveHighLimit()
public void setAboveHighLimit(boolean newValue)
public boolean isResultEqualLowLimitPass()
public void setResultEqualLowLimitPass(boolean newValue)
public boolean isScaleError()
public void setScaleError(boolean newValue)
public boolean isTimeout()
public void setTimeout(boolean newValue)
public boolean isPassFailNotValid()
public void setPassFailNotValid(boolean newValue)
public boolean isFailed()
isFailed
in interface PassFailHolder
public boolean isFailedInvalid()
isFailedInvalid
in interface PassFailHolder
public boolean isTestFailedInvalid()
isTestFailedInvalid
in interface TestResult
public void setTestFailedInvalid(boolean newValue)
setTestFailedInvalid
in interface TestResult
newValue
- true if the test failed field is invalidpublic boolean isResultEqualHighLimitPass()
public void setResultEqualHighLimitPass(boolean newValue)
public boolean isPassedAlternateLimits()
public void setPassedAlternateLimits(boolean newValue)
public boolean isTestFailed()
isTestFailed
in interface TestResult
public void setTestFailed(boolean newValue)
setTestFailed
in interface TestResult
newValue
- true if the test failedpublic boolean isBelowLowLimit()
public void setBelowLowLimit(boolean newValue)
public boolean isTestAborted()
public void setTestAborted(boolean newValue)
public boolean isOscillationDetected()
public void setOscillationDetected(boolean newValue)
public boolean isDriftError()
public void setDriftError(boolean newValue)
public TestConditionSet getTestConditionN(int index)
getTestConditionN
in interface TestResult
public void setTestConditionN(int index, TestConditionSet condition)
setTestConditionN
in interface TestResult
public void readRecord(java.nio.ByteBuffer bb)
readRecord
in interface DataRecord
public void writeRecord(SaveInfo saveInfo, java.nio.ByteBuffer bb)
DataRecord
writeRecord
in interface DataRecord
saveInfo
- metadata about how the data should be savedbb
- output buffer that can be written into an output filepublic java.lang.String getDescription()
getDescription
in interface DataRecord
String
describing this type of recordpublic java.lang.String getRecordType()
getRecordType
in interface DataRecord
String
identifying what type of record this ispublic DataFile getSourceFile()
getSourceFile
in interface DataRecord
DataFile
from which this was readpublic void setSourceFile(DataFile newSource)
setSourceFile
in interface DataRecord
newSource
- The DataFile
from which this was readpublic Test getTest()
getTest
in interface TestResult
getTest
in class AbstractLightweightTestResult
public void setTest(Test test)
setTest
in interface TestResult
setTest
in class AbstractLightweightTestResult
test
- The test to set.public PartInsertion getPart()
getPart
in interface TestResult
public void setPart(PartInsertion p)
setPart
in interface TestResult
p
- The part to set.public static void addType()
public int compareTo(TestResult o)
compareTo
in interface java.lang.Comparable<TestResult>
public float getResultN(int index)
getResultN
in interface TestResult
public float[] getResults()
public java.lang.String getResultString()
getResultString
in interface TestResult
public void setResultN(int index, float result)
setResultN
in interface TestResult
public void setResultString(java.lang.String resultString)
setResultString
in interface TestResult
resultString
- a String representation of the test result valuepublic void setResultString(java.lang.String resultString, int testSite)
setResultString
in interface MultiplePartParametricTestResult
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Iterator<java.lang.String> getKeyNames()
getKeyNames
in interface DataHolder
public java.lang.Object getKey(java.lang.String name)
getKey
in interface DataHolder
public void setKey(java.lang.String name, java.lang.String value)
setKey
in interface DataHolder
public java.util.Iterator<java.lang.String> getValueNames()
getValueNames
in interface DataHolder
public java.lang.Object getValue(java.lang.String valueName)
getValue
in interface DataHolder
public void setValue(java.lang.String valueName, java.lang.String value)
setValue
in interface DataHolder
public java.util.Iterator<java.lang.String> getParentNames()
getParentNames
in interface DataHolder
public DataHolder getParent(java.lang.String parentName)
getParent
in interface DataHolder
public void setParent(java.lang.String parentName, DataHolder parent)
setParent
in interface DataHolder
public java.util.List<java.lang.String> getSubListNames()
getSubListNames
in interface DataHolder
public java.util.List<? extends DataHolder> getSubList(java.lang.String listName)
getSubList
in interface DataHolder