示例#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);
 }
示例#2
0
 @Override
 public void updatePointValue(PointValueTime newValue, boolean async) {
   savePointValue(newValue, null, async, true);
 }
示例#3
0
 public void updatePointValue(PointValueTime newValue, boolean async, boolean saveToDatabase) {
   savePointValue(newValue, null, async, saveToDatabase);
 }
示例#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);
 }