Class SumDiffPenDatasource
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractCalculatedPenDatasource
com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasource
com.inductiveautomation.factorypmi.application.components.chart.easychart.SumDiffPenDatasource
- All Implemented Interfaces:
- IPenDatasource,- EventListener,- ChangeListener
Filename - SumPensDatasource Author: Perry Arellano-Jones Year: 2014
 
This datasource adds or subtracts the value of two pens and returns a dataset of the result. It requires two pens to be specified, a 'driving' Pen and a 'secondary' pen. Results are derived by adding to or subtracting from to the driving Pen. Utilizes the PenAttribute#FUNCTION_PARAM to determine whether summation or negation is done on the driving pen.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasourcereferencedPens
- 
Method SummaryMethods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasourcestateChangedMethods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractCalculatedPenDatasourceaddPen, getDataset, getMillisRange, getNumDatapoints, isZoomTracking, setDataset, setDatasetLater, shutdown, startup, warn
- 
Field Details- 
SUM- See Also:
 
- 
DIFF- See Also:
 
 
- 
- 
Method Details- 
createDatasetDescription copied from class:AbstractFunctionPenDatasourceCalled when the dataset needs to be re-calculated- Specified by:
- createDatasetin class- AbstractFunctionPenDatasource
 
- 
initRefsDescription copied from interface:IPenDatasourceGives the datasource a chance to install references to other pens- Specified by:
- initRefsin interface- IPenDatasource
- Overrides:
- initRefsin class- AbstractFunctionPenDatasource
 
 
-