Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 @Override
 public void updatePointValue(PointValueTime newValue, boolean async) {
   savePointValue(newValue, null, async, true);
 }
Exemplo n.º 3
0
 public void updatePointValue(PointValueTime newValue, boolean async, boolean saveToDatabase) {
   savePointValue(newValue, null, async, saveToDatabase);
 }
Exemplo n.º 4
0
 /**
  * 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);
 }