Package tcg.scada.cos

Examples of tcg.scada.cos.CosInvalidEventContextException


  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // pass it to the context
    ctx.loadEvents(eventList);
  }
View Full Code Here


  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // pass it to the context
    ctx.setDatapoint(keyId);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // pass it to the context
    ctx.setDatapoint(datapoint);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // pass it to the context
    ctx.setEquipment(keyId);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // pass it to the context
    ctx.setEquipment(equipment);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // write the event
    write_event(ctx, 0, calendar_.getTime(), message, message);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // write the event
    write_event(ctx, 0, calendar_.getTime(), message, messageLocal);
  }
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // build the message
    String message = ctx.buildMessage(eventId, null);
    String messageLocal = ctx.buildLocalMessage(eventId, null);
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // build the message
    String message = ctx.buildMessage(eventId, params);
    String messageLocal = ctx.buildLocalMessage(eventId, params);
View Full Code Here

  {
    // get the context
    EventContext ctx = contexts_.get(ctxId);
    if (ctx == null)
    {
      throw new CosInvalidEventContextException();
    }

    // build the message
    String message = ctx.buildMessage(eventId, params);
    String messageLocal = ctx.buildLocalMessage(eventId, paramsLocal);
View Full Code Here

TOP

Related Classes of tcg.scada.cos.CosInvalidEventContextException

Copyright © 2018 www.massapicom. 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.