Skip to content

describe Server #35

@JakobVogelsang

Description

@JakobVogelsang

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

** Requirements **

  • return a Server
type Authentication = {
   /** Authentication attribute none defaulted to true */
   none: boolean;
   /** Authentication attribute password defaulted to false */
   password: boolean;
   /** Authentication attribute weak defaulted to false */
   weak: boolean;
   /** Authentication attribute strong defaulted to false */
   strong: boolean;
   /** Authentication attribute certificate defaulted to false */
   certificate: boolean;
}

type Association = {
   desc?: string;
   iedName: string;
   ldInst: string;
   prefix?: string;
   lnClass: string;
   lnInst: string;
   kind: "pre-established" | "predefined";
   associationId?: string;
}

export ServerDescription extends NamingDescription {
   /** Server attribute timeout defaulted 30 */
   timeout: number
   /** Server child Authentication */
   authentication?: Authentication;
   /** Server children LDevice */
   lDevices: Record<string, LDeviceDescription>;
    /** Server children Association */
   associations: Association[];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions