Skip to content

Commit

Permalink
Update API to version 2.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jandusold committed Nov 13, 2024
1 parent 378bc98 commit bcea9e0
Show file tree
Hide file tree
Showing 41 changed files with 497 additions and 309 deletions.
4 changes: 2 additions & 2 deletions src/app/shared/public-api/enums/argument-type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum ArgumentType {
InputArgument= 0,
OutputArgument= 1
InputArgument = 0,
OutputArgument = 1
}
6 changes: 3 additions & 3 deletions src/app/shared/public-api/enums/browse-or-all.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export enum BrowseOrAll {
ALL = 0,
BROWSE,
CANCEL,
ALL = 0,
BROWSE,
CANCEL
}
42 changes: 21 additions & 21 deletions src/app/shared/public-api/enums/mapping-state.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
export enum MappingState {
Undefined = 0,
NotMapped = 1,
CorrectMapped = 2,
Conflict = 4,
ConflictAccessLevel = 8,
ManualMapped = 16,
ValueDefined = 32,
NoMappingNeeded = 64,
ChildrenNotMapped = 128,
ChildrenCorrectMapped = 256,
ChildrenConflict = 512,
ChildrenConflictAccessLevel = 1024,
ChildrenManualMapped = 2048,
ChildrenValueDefined = 4096,
AlarmInstanceMapped = 8192,
ChildrenAlarmInstanceMapped = 16384,
AlarmTypeMapped = 32768,
ChildrenAlarmTypeMapped = 65536,
Information = 131072,
ChildrenInformation = 262144,
All = 524287,
Undefined = 0,
NotMapped = 1,
CorrectMapped = 2,
Conflict = 4,
ConflictAccessLevel = 8,
ManualMapped = 16,
ValueDefined = 32,
NoMappingNeeded = 64,
ChildrenNotMapped = 128,
ChildrenCorrectMapped = 256,
ChildrenConflict = 512,
ChildrenConflictAccessLevel = 1024,
ChildrenManualMapped = 2048,
ChildrenValueDefined = 4096,
AlarmInstanceMapped = 8192,
ChildrenAlarmInstanceMapped = 16384,
AlarmTypeMapped = 32768,
ChildrenAlarmTypeMapped = 65536,
Information = 131072,
ChildrenInformation = 262144,
All = 524287
}
11 changes: 6 additions & 5 deletions src/app/shared/public-api/enums/modelling-rules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export enum ModellingRules {
NoModellingRule = 0,
Optional = 1,
Mandatory = 2,
OptionalPlaceholder = 3,
MandatoryPlaceholder = 4,
NoModellingRule = 0,
Optional = 1,
Mandatory = 2,
OptionalPlaceholder = 3,
MandatoryPlaceholder = 4,
ExposesItsArray
}
8 changes: 4 additions & 4 deletions src/app/shared/public-api/enums/namespace-change-type.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export enum NamespaceChangeType {
DELETE_NAMESPACE,
NEW_NAMESPACE,
NEW_NODE,
DELETE_NODE,
DELETE_NAMESPACE,
NEW_NAMESPACE,
NEW_NODE,
DELETE_NODE
}
18 changes: 9 additions & 9 deletions src/app/shared/public-api/enums/node-classes.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export enum NodeClass {
Unspecified = 0,
Object = 1,
Variable = 2,
Method = 4,
ObjectType = 8,
VariableType = 16,
ReferenceType = 32,
DataType = 64,
View = 128,
Unspecified = 0,
Object = 1,
Variable = 2,
Method = 4,
ObjectType = 8,
VariableType = 16,
ReferenceType = 32,
DataType = 64,
View = 128
}
2 changes: 1 addition & 1 deletion src/app/shared/public-api/enums/plugin-event-type.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export enum PluginEventType {
REQUEST_API,
REQUEST_API
}
4 changes: 2 additions & 2 deletions src/app/shared/public-api/enums/publisher-ids.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum PublisherId {
Multicast = 1,
Unicast = 2,
Multicast = 1,
Unicast = 2
}
8 changes: 4 additions & 4 deletions src/app/shared/public-api/enums/security-mode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export enum SecurityMode {
INVALID,
NONE,
SIGN,
SIGNANDENCRYPT,
INVALID,
NONE,
SIGN,
SIGNANDENCRYPT
}
12 changes: 6 additions & 6 deletions src/app/shared/public-api/enums/supported-file-format.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export enum SupportedFileFormat {
AML,
XML,
TTL,
PEM,
DER,
ALL,
AML,
XML,
TTL,
PEM,
DER,
ALL
}
5 changes: 5 additions & 0 deletions src/app/shared/public-api/interfaces/add-enumeration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import {IAddNodeParameter} from "./add-node-parameter.interface";

export interface IAddEnumeration extends IAddNodeParameter {
valueType: boolean;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export interface IAddStructurItemParameter {
name: string;
dataType: string;
isOptional: boolean;
valueRank: number;
allowSubTypes: boolean;
description?: string;
maxStringLength?: string;
arrayDimensions?: string;
name: string;
dataType: string;
isOptional: boolean;
valueRank: number;
allowSubTypes: boolean;
description?: string;
maxStringLength?: string;
arrayDimensions?: string;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AttributeId } from "../enums/attribute-ids";

export interface IBaseAttributeData {
attributeId: AttributeId;
name: string;
value: any;
attributeId: AttributeId;
name: string;
value: any;
}
16 changes: 8 additions & 8 deletions src/app/shared/public-api/interfaces/browse-result.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { IExpandedNodeId } from "../opcua-types/interfaces/expanded-node-id.inte
import { IReferenceDescription } from "../opcua-types/interfaces/reference-description.interface";

export declare interface IBrowseResult {
possibleFields: string[];
dataTypeNodeId: IExpandedNodeId;
encodingDefaultBinary: IExpandedNodeId;
encodingDefaultXml: IExpandedNodeId;
encodingDefaultJson: IExpandedNodeId;
statusCode: any;
continuationPoint: any;
references: IReferenceDescription[] | null;
possibleFields: string[];
dataTypeNodeId: IExpandedNodeId;
encodingDefaultBinary: IExpandedNodeId;
encodingDefaultXml: IExpandedNodeId;
encodingDefaultJson: IExpandedNodeId;
statusCode: any;
continuationPoint: any;
references: IReferenceDescription[] | null;
}
22 changes: 11 additions & 11 deletions src/app/shared/public-api/interfaces/connect-params.interface.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export interface IConnectParams {
address: string;
allowExpiredTokens: boolean;
applicationName: string;
certificateKeyPathClient: string;
certificatePathClient: string;
overrideEndpointUrl: string;
securityMode: number;
securityPolicy: string;
session: string;
password?: string;
username?: string;
address: string;
allowExpiredTokens: boolean;
applicationName: string;
certificateKeyPathClient: string;
certificatePathClient: string;
overrideEndpointUrl: string;
securityMode: number;
securityPolicy: string;
session: string;
password?: string;
username?: string;
}
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
export interface IEndpointCertificate {
issuerCommonName: string;
issuerCountryName: string;
issuerLocalityName: string;
issuerOrganizationName: string;
issuerOrganizationUnit: string;
issuerStateOrProvinceName: string;
issuerCommonName: string;
issuerCountryName: string;
issuerLocalityName: string;
issuerOrganizationName: string;
issuerOrganizationUnit: string;
issuerStateOrProvinceName: string;

subjectCommonName: string;
subjectCountryName: string;
subjectLocalityName: string;
subjectOrganizationName: string;
subjectOrganizationUnit: string;
subjectStateOrProvinceName: string;
subjectCommonName: string;
subjectCountryName: string;
subjectLocalityName: string;
subjectOrganizationName: string;
subjectOrganizationUnit: string;
subjectStateOrProvinceName: string;

notAfter: string;
notBefore: string;
notAfter: string;
notBefore: string;

applicationUri: string;
ip: string;
domainName: string;
applicationUri: string;
ip: string;
domainName: string;

serial: string;
originalServerCertificate: string;
serverCertificateBuffer: Uint8Array;
serial: string;
originalServerCertificate: string;
serverCertificateBuffer: Uint8Array;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface IEndpointIdentityToken {
policyId: string;
tokenType: string;
securityPolicyUri: string;
issuedTokenType: string;
issuerEndpointUrl: string;
policyId: string;
tokenType: string;
securityPolicyUri: string;
issuedTokenType: string;
issuerEndpointUrl: string;
}
18 changes: 9 additions & 9 deletions src/app/shared/public-api/interfaces/endpoint.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { IEndpointCertificate } from "./endpoint-certificate.interface";
import { SecurityMode } from "../enums/security-mode";

export interface IEndpoint {
applicationName: string;
endpointUrl: string;
serverCertificate: IEndpointCertificate;
securityMode: SecurityMode;
securityPolicyUri: string;
transportProfileUri: string;
securityLevel: number;
userIdentityTokens: IEndpointIdentityToken[];
applicationUri: string;
applicationName: string;
endpointUrl: string;
serverCertificate: IEndpointCertificate;
securityMode: SecurityMode;
securityPolicyUri: string;
transportProfileUri: string;
securityLevel: number;
userIdentityTokens: IEndpointIdentityToken[];
applicationUri: string;
}
4 changes: 2 additions & 2 deletions src/app/shared/public-api/interfaces/import-file.interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface IImportFile {
path: string;
data: string;
path: string;
data: string;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ILocalizedText } from "../opcua-types/interfaces/localized-text.interface";

export interface IMethodArguments {
name: string;
valueRank: number;
dataType: string;
arrayDimensions?: number[];
description?: ILocalizedText;
name: string;
valueRank: number;
dataType: string;
arrayDimensions?: number[];
description?: ILocalizedText;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NamespaceChangeType } from "../enums/namespace-change-type";

export interface INamespaceChange {
type: NamespaceChangeType;
message: string;
type: NamespaceChangeType;
message: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DataType } from "../opcua-types/enums/data-type";
import { VariantArrayType } from "../opcua-types/enums/variant-array-type";

export interface IOnlineMethodArguments {
dataType: DataType;
arrayType: VariantArrayType;
value: any;
dataType: DataType;
arrayType: VariantArrayType;
value: any;
}
Loading

0 comments on commit bcea9e0

Please sign in to comment.