Skip to content

describe GSEControl #30

@JakobVogelsang

Description

@JakobVogelsang

As a user of scl-diff I would like to have the SCL element GSEControl described.

Requirements

  • return a GSEControlDescription
type IEDName = {
  /** IEDName attribute apRef*/
  apRef?: string;
  /** IEDName attribute ldInst*/
  ldInst?: string;
  /** IEDName attribute prefix*/
  prefix?: string;
  /** IEDName attribute lnClass*/
  lnClass?: string;
  /** IEDName attribute lnInst*/
  lnInst?: string;
  /** IEDName child text content */
  val: string;
};

interface ControlWithIEDNameDescription extends Control {
  iedName: IEDName;
  /** GSEControl attribute convRef defaulted to 0 */
  confRev: number;
}

export interface GSEControlDescription
  extends ControlWithIEDNameDescription {
  /** GSEControl attribute type defaulted to "GOOSE" */
  type: "GOOSE" | "GSSE";
  /** GSEControl attribute appId */
  appId: string;
  /** GSEControl attribute fixedOffs defaulted to false */
  fixedOffs: number;
  /** GSEControl attribute securityEnable defaulted to "None" */
  securityEnable: "None" | "Signature" | "SignatureAndEncryption";
  /**GSEControl child Protocol*/
  protocol?: {mustUnderstand: true, val: "R-GOOSE"}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions