Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

describe Server #35

Open
JakobVogelsang opened this issue Jul 30, 2023 · 0 comments
Open

describe Server #35

JakobVogelsang opened this issue Jul 30, 2023 · 0 comments

Comments

@JakobVogelsang
Copy link
Contributor

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[];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant