enip-ts
Version:
Typescript implementation of the Ethernet/IP™ protocol.
27 lines (26 loc) • 791 B
TypeScript
/// <reference types="node" />
export declare enum EPathLogicalTypes {
ClassID = 0,
InstanceID = 4,
MemberID = 8,
ConnPoint = 12,
AttributeID = 16,
Special = 20,
ServiceID = 24
}
export declare class EPathLogical {
/**
* Builds Single Logical Segment Buffer
* @param type Valid Logical Segment Type
* @param address Logical Segment Address
* @param padded Padded or Packed EPATH format, default to `true`
* @returns Built buffer
*/
static build(type: number, address: number, padded?: boolean): Buffer;
/**
* Determines the Validity of the Type Code
* @param type Logical Segment Type Code
* @returns Validity of Type Code
*/
static validateLogicalType(type: number): type is EPathLogicalTypes;
}