/** * Use this method to update a data point for reasons other than just data source update. * * @param newValue the value to set * @param source the source of the set. This can be a user object if the point was set from the * UI, or could be a program run by schedule or on event. */ @Override public void setPointValue(PointValueTime newValue, SetPointSource source) { if (source == null) savePointValue(newValue, source, true, true); else savePointValue(newValue, source, false, true); }
@Override public void updatePointValue(PointValueTime newValue, boolean async) { savePointValue(newValue, null, async, true); }
public void updatePointValue(PointValueTime newValue, boolean async, boolean saveToDatabase) { savePointValue(newValue, null, async, saveToDatabase); }
/** * This method should only be called by the data source. Other types of point setting should * include a set point source object so that the annotation can be logged. * * @param newValue */ @Override public void updatePointValue(PointValueTime newValue) { savePointValue(newValue, null, true, true); }