Skip to content

Commit

Permalink
remove obsolete WriteMask
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Jun 4, 2023
1 parent 7f34b48 commit 8ffcb1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
1 change: 0 additions & 1 deletion packages/node-opcua-data-model/source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ export * from "./node_class_mask";
export * from "./result_mask";
export * from "./BrowseDirection";
export * from "./data_encoding";
export * from "./write_mask";
export * from "./permission_flag";
38 changes: 1 addition & 37 deletions packages/node-opcua-data-model/source/write_mask.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1 @@
/**
* @module node-opcua-data-model
*/

// tslint:disable:no-bitwise
export enum WriteMask {
AccessLevel = 1 << 0, // Indicates if the AccessLevel Attribute is writable.
ArrayDimensions = 1 << 1, // Indicates if the ArrayDimensions Attribute is writable.
BrowseName = 1 << 2, // Indicates if the BrowseName Attribute is writable.
ContainsNoLoops = 1 << 3, // Indicates if the ContainsNoLoops Attribute is writable.
DataType = 1 << 4, // Indicates if the DataType Attribute is writable.
Description = 1 << 5, // Indicates if the Description Attribute is writable.
DisplayName = 1 << 6, // Indicates if the DisplayName Attribute is writable.
EventNotifier = 1 << 7, // Indicates if the EventNotifier Attribute is writable.
Executable = 1 << 8, // Indicates if the Executable Attribute is writable.
Historizing = 1 << 9, // Indicates if the Historizing Attribute is writable.
InverseName = 1 << 10, // Indicates if the InverseName Attribute is writable.
IsAbstract = 1 << 11, // Indicates if the IsAbstract Attribute is writable.
MinimumSamplingInterval = 1 << 12, // Indicates if the MinimumSamplingInterval Attribute is writable.
NodeClass = 1 << 13, // Indicates if the NodeClass Attribute is writable.
NodeId = 1 << 14, // Indicates if the NodeId Attribute is writable.
Symmetric = 1 << 15, // Indicates if the Symmetric Attribute is writable.
UserAccessLevel = 1 << 16, // Indicates if the UserAccessLevel Attribute is writable.
UserExecutable = 1 << 17, // Indicates if the UserExecutable Attribute is writable.
UserWriteMask = 1 << 18, // Indicates if the UserWriteMask Attribute is writable.
ValueRank = 1 << 19, // Indicates if the ValueRank Attribute is writable.
WriteMask = 1 << 20, // Indicates if the WriteMask Attribute is writable.
ValueForVariableType = 1 << 21, // Indicates if the Value Attribute is writable for a VariableType.
DataTypeDefinition = 1 << 22, /// Indicates if the DataTypeDefinition Attribute is writable.
RolePermissions = 1 << 23, // Indicates if the RolePermissions Attribute is writable.
AccessRestrictions = 1 << 24, // Indicates if the AccessRestrictions Attribute is writable.
AccessLevelEx = 1 << 25 // Indicates if the AccessLevelEx Attribute is writable.
// It does not apply for
// Variables since this is handled by the AccessLevel and UserAccessLevel
// Attributes for the Variable. For Variables this bit shall be set to 0.
// Reserved 22:31 Reserved for future use. Shall always be zero.
}
// deprecated
1 change: 0 additions & 1 deletion packages/node-opcua/source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export {
NodeClassMask,
AttributeIds,
BrowseDirection,
WriteMask,
DiagnosticInfo
} from "node-opcua-data-model";

Expand Down

0 comments on commit 8ffcb1c

Please sign in to comment.