Package tcg.scada.cos

Examples of tcg.scada.cos.CosDpServerException


  public int cosGetAllEquipments(CosStringSeqHolder equipments,
      CosHandleSeqHolder keyIds) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variables
View Full Code Here


      CosHandleSeqHolder keyIds, CosEquipmentStateSeqHolder states)
      throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    long curtime = Calendar.getInstance().getTimeInMillis();
View Full Code Here

  public synchronized int cosSetEquipmentNotes(int[] keyIds, String[] notes,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

      String[] notes, CosDpErrorSeqHolder errors)
      throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

  public int cosGetEquipmentNotes(int[] keyIds, CosStringSeqHolder notes,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

      CosStringSeqHolder notes, CosDpErrorSeqHolder errors)
      throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

  public synchronized int cosRemoveEquipmentNotes(int[] keyIds,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

  public synchronized int cosRemoveEquipmentNotes2(String[] equipments,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

  public synchronized int cosSetEquipmentTag(int[] keyIds,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

  public synchronized int cosSetEquipmentTag2(String[] equipments,
      CosDpErrorSeqHolder errors) throws CosDpServerException
  {
    if (state_ != CosProcessStatusEnum.StatRunningControl)
    {
      throw new CosDpServerException(
          CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
          "Not In Control!");
    }

    // return variable
View Full Code Here

TOP

Related Classes of tcg.scada.cos.CosDpServerException

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.