Examples of DataInfo


Examples of simtools.data.DataInfo

   */
  public RandomDataSourceCollection() {

    // Create a first source called "time", useful to make XY plots.
    // See addSource() for comments
    createDataSource(new DataInfo("time","time","the time","s"), ValueProvider.DoubleProvider);

    // Wrap a buffer around it so we see past values too
    try {
      bufferize(0, new DelayedBuffer(ValueProvider.DoubleProvider, 100));
    } catch (UnsupportedOperation e) {
View Full Code Here

Examples of simtools.data.DataInfo

  /** Adds a new data source to the collection
   */
  public void addSource() {
   
    // Specify the data information
    DataInfo di = new DataInfo(
      "Random source "+size(), // Label of the data source : what is displayed
      "random"+size()// Id of the data source : must be unique. Also used by the source providers (see the random plugin)
      "random values", // A comment, optional
      "unit" // this data source unit, optional
    );
View Full Code Here

Examples of simtools.data.DataInfo

  /**
   * Returns information about the collection itself
   */
  public DataInfo getInformation() {
    return new DataInfo(
      "Random Collection",    // The name of this data source collection, as appears in the source pane
      "RandomCollection"   // A unique ID. This example supposes there is only one instance of this object
    );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.