Skip to content

Commit

Permalink
Update primary package to use updated enum names
Browse files Browse the repository at this point in the history
  • Loading branch information
timyhac committed Jul 26, 2024
1 parent 862e4a4 commit ae941f4
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 108 deletions.
24 changes: 12 additions & 12 deletions src/libplctag/DebugLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ namespace libplctag
/// </summary>
public enum DebugLevel
{
/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_NONE"/>
None = DEBUG_LEVELS.PLCTAG_DEBUG_NONE,
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_NONE"/>
None = DEBUG_LEVEL.PLCTAG_DEBUG_NONE,

/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_ERROR"/>
Error = DEBUG_LEVELS.PLCTAG_DEBUG_ERROR,
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_ERROR"/>
Error = DEBUG_LEVEL.PLCTAG_DEBUG_ERROR,

/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_WARN"/>
Warn = DEBUG_LEVELS.PLCTAG_DEBUG_WARN,
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_WARN"/>
Warn = DEBUG_LEVEL.PLCTAG_DEBUG_WARN,

/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_INFO"/>
Info = DEBUG_LEVELS.PLCTAG_DEBUG_INFO,
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_INFO"/>
Info = DEBUG_LEVEL.PLCTAG_DEBUG_INFO,

/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_DETAIL"/>
Detail = DEBUG_LEVELS.PLCTAG_DEBUG_DETAIL,
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_DETAIL"/>
Detail = DEBUG_LEVEL.PLCTAG_DEBUG_DETAIL,

/// <inheritdoc cref="DEBUG_LEVELS.PLCTAG_DEBUG_SPEW"/>
Spew = DEBUG_LEVELS.PLCTAG_DEBUG_SPEW
/// <inheritdoc cref="DEBUG_LEVEL.PLCTAG_DEBUG_SPEW"/>
Spew = DEBUG_LEVEL.PLCTAG_DEBUG_SPEW
}
}
28 changes: 14 additions & 14 deletions src/libplctag/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ namespace libplctag
/// </summary>
public enum Event
{
/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_READ_STARTED"/>
ReadStarted = EVENT_CODES.PLCTAG_EVENT_READ_STARTED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_READ_STARTED"/>
ReadStarted = EVENT.PLCTAG_EVENT_READ_STARTED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_READ_COMPLETED"/>
ReadCompleted = EVENT_CODES.PLCTAG_EVENT_READ_COMPLETED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_READ_COMPLETED"/>
ReadCompleted = EVENT.PLCTAG_EVENT_READ_COMPLETED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_WRITE_STARTED"/>
WriteStarted = EVENT_CODES.PLCTAG_EVENT_WRITE_STARTED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_WRITE_STARTED"/>
WriteStarted = EVENT.PLCTAG_EVENT_WRITE_STARTED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_WRITE_COMPLETED"/>
WriteCompleted = EVENT_CODES.PLCTAG_EVENT_WRITE_COMPLETED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_WRITE_COMPLETED"/>
WriteCompleted = EVENT.PLCTAG_EVENT_WRITE_COMPLETED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_ABORTED"/>
Aborted = EVENT_CODES.PLCTAG_EVENT_ABORTED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_ABORTED"/>
Aborted = EVENT.PLCTAG_EVENT_ABORTED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_DESTROYED"/>
Destroyed = EVENT_CODES.PLCTAG_EVENT_DESTROYED,
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_DESTROYED"/>
Destroyed = EVENT.PLCTAG_EVENT_DESTROYED,

/// <inheritdoc cref="EVENT_CODES.PLCTAG_EVENT_CREATED"/>
Created = EVENT_CODES.PLCTAG_EVENT_CREATED
/// <inheritdoc cref="EVENT.PLCTAG_EVENT_CREATED"/>
Created = EVENT.PLCTAG_EVENT_CREATED
}
}
164 changes: 82 additions & 82 deletions src/libplctag/Status.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,127 +11,127 @@ namespace libplctag
{
public enum Status
{
/// <inheritdoc cref="STATUS_CODES.PLCTAG_STATUS_PENDING"/>
Pending = STATUS_CODES.PLCTAG_STATUS_PENDING,
/// <inheritdoc cref="STATUS.PLCTAG_STATUS_PENDING"/>
Pending = STATUS.PLCTAG_STATUS_PENDING,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_STATUS_OK"/>
Ok = STATUS_CODES.PLCTAG_STATUS_OK,
/// <inheritdoc cref="STATUS.PLCTAG_STATUS_OK"/>
Ok = STATUS.PLCTAG_STATUS_OK,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_ABORT"/>
ErrorAbort = STATUS_CODES.PLCTAG_ERR_ABORT,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_ABORT"/>
ErrorAbort = STATUS.PLCTAG_ERR_ABORT,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_CONFIG"/>
ErrorBadConfig = STATUS_CODES.PLCTAG_ERR_BAD_CONFIG,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_CONFIG"/>
ErrorBadConfig = STATUS.PLCTAG_ERR_BAD_CONFIG,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_CONNECTION"/>
ErrorBadConnection = STATUS_CODES.PLCTAG_ERR_BAD_CONNECTION,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_CONNECTION"/>
ErrorBadConnection = STATUS.PLCTAG_ERR_BAD_CONNECTION,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_DATA"/>
ErrorBadData = STATUS_CODES.PLCTAG_ERR_BAD_DATA,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_DATA"/>
ErrorBadData = STATUS.PLCTAG_ERR_BAD_DATA,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_DEVICE"/>
ErrorBadDevice = STATUS_CODES.PLCTAG_ERR_BAD_DEVICE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_DEVICE"/>
ErrorBadDevice = STATUS.PLCTAG_ERR_BAD_DEVICE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_GATEWAY"/>
ErrorBadGateway = STATUS_CODES.PLCTAG_ERR_BAD_GATEWAY,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_GATEWAY"/>
ErrorBadGateway = STATUS.PLCTAG_ERR_BAD_GATEWAY,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_PARAM"/>
ErrorBadParam = STATUS_CODES.PLCTAG_ERR_BAD_PARAM,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_PARAM"/>
ErrorBadParam = STATUS.PLCTAG_ERR_BAD_PARAM,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_REPLY"/>
ErrorBadReply = STATUS_CODES.PLCTAG_ERR_BAD_REPLY,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_REPLY"/>
ErrorBadReply = STATUS.PLCTAG_ERR_BAD_REPLY,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BAD_STATUS"/>
ErrorBadStatus = STATUS_CODES.PLCTAG_ERR_BAD_STATUS,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BAD_STATUS"/>
ErrorBadStatus = STATUS.PLCTAG_ERR_BAD_STATUS,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_CLOSE"/>
ErrorClose = STATUS_CODES.PLCTAG_ERR_CLOSE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_CLOSE"/>
ErrorClose = STATUS.PLCTAG_ERR_CLOSE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_CREATE"/>
ErrorCreate = STATUS_CODES.PLCTAG_ERR_CREATE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_CREATE"/>
ErrorCreate = STATUS.PLCTAG_ERR_CREATE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_DUPLICATE"/>
ErrorDuplicate = STATUS_CODES.PLCTAG_ERR_DUPLICATE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_DUPLICATE"/>
ErrorDuplicate = STATUS.PLCTAG_ERR_DUPLICATE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_ENCODE"/>
ErrorEncode = STATUS_CODES.PLCTAG_ERR_ENCODE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_ENCODE"/>
ErrorEncode = STATUS.PLCTAG_ERR_ENCODE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_MUTEX_DESTROY"/>
ErrorMutexDestroy = STATUS_CODES.PLCTAG_ERR_MUTEX_DESTROY,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_MUTEX_DESTROY"/>
ErrorMutexDestroy = STATUS.PLCTAG_ERR_MUTEX_DESTROY,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_MUTEX_INIT"/>
ErrorMutexInit = STATUS_CODES.PLCTAG_ERR_MUTEX_INIT,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_MUTEX_INIT"/>
ErrorMutexInit = STATUS.PLCTAG_ERR_MUTEX_INIT,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_MUTEX_LOCK"/>
ErrorMutexLock = STATUS_CODES.PLCTAG_ERR_MUTEX_LOCK,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_MUTEX_LOCK"/>
ErrorMutexLock = STATUS.PLCTAG_ERR_MUTEX_LOCK,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_MUTEX_UNLOCK"/>
ErrorMutexUnlock = STATUS_CODES.PLCTAG_ERR_MUTEX_UNLOCK,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_MUTEX_UNLOCK"/>
ErrorMutexUnlock = STATUS.PLCTAG_ERR_MUTEX_UNLOCK,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NOT_ALLOWED"/>
ErrorNotAllowed = STATUS_CODES.PLCTAG_ERR_NOT_ALLOWED,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NOT_ALLOWED"/>
ErrorNotAllowed = STATUS.PLCTAG_ERR_NOT_ALLOWED,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NOT_FOUND"/>
ErrorNotFound = STATUS_CODES.PLCTAG_ERR_NOT_FOUND,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NOT_FOUND"/>
ErrorNotFound = STATUS.PLCTAG_ERR_NOT_FOUND,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NOT_IMPLEMENTED"/>
ErrorNotImplemented = STATUS_CODES.PLCTAG_ERR_NOT_IMPLEMENTED,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NOT_IMPLEMENTED"/>
ErrorNotImplemented = STATUS.PLCTAG_ERR_NOT_IMPLEMENTED,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NO_DATA"/>
ErrorNoData = STATUS_CODES.PLCTAG_ERR_NO_DATA,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NO_DATA"/>
ErrorNoData = STATUS.PLCTAG_ERR_NO_DATA,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NO_MATCH"/>
ErrorNoMatch = STATUS_CODES.PLCTAG_ERR_NO_MATCH,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NO_MATCH"/>
ErrorNoMatch = STATUS.PLCTAG_ERR_NO_MATCH,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NO_MEM"/>
ErrorNoMem = STATUS_CODES.PLCTAG_ERR_NO_MEM,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NO_MEM"/>
ErrorNoMem = STATUS.PLCTAG_ERR_NO_MEM,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NO_RESOURCES"/>
ErrorNoResources = STATUS_CODES.PLCTAG_ERR_NO_RESOURCES,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NO_RESOURCES"/>
ErrorNoResources = STATUS.PLCTAG_ERR_NO_RESOURCES,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_NULL_PTR"/>
ErrorNullPtr = STATUS_CODES.PLCTAG_ERR_NULL_PTR,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_NULL_PTR"/>
ErrorNullPtr = STATUS.PLCTAG_ERR_NULL_PTR,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_OPEN"/>
ErrorOpen = STATUS_CODES.PLCTAG_ERR_OPEN,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_OPEN"/>
ErrorOpen = STATUS.PLCTAG_ERR_OPEN,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_OUT_OF_BOUNDS"/>
ErrorOutOfBounds = STATUS_CODES.PLCTAG_ERR_OUT_OF_BOUNDS,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_OUT_OF_BOUNDS"/>
ErrorOutOfBounds = STATUS.PLCTAG_ERR_OUT_OF_BOUNDS,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_READ"/>
ErrorRead = STATUS_CODES.PLCTAG_ERR_READ,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_READ"/>
ErrorRead = STATUS.PLCTAG_ERR_READ,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_REMOTE_ERR"/>
ErrorRemoteErr = STATUS_CODES.PLCTAG_ERR_REMOTE_ERR,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_REMOTE_ERR"/>
ErrorRemoteErr = STATUS.PLCTAG_ERR_REMOTE_ERR,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_THREAD_CREATE"/>
ErrorThreadCreate = STATUS_CODES.PLCTAG_ERR_THREAD_CREATE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_THREAD_CREATE"/>
ErrorThreadCreate = STATUS.PLCTAG_ERR_THREAD_CREATE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_THREAD_JOIN"/>
ErrorThreadJoin = STATUS_CODES.PLCTAG_ERR_THREAD_JOIN,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_THREAD_JOIN"/>
ErrorThreadJoin = STATUS.PLCTAG_ERR_THREAD_JOIN,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_TIMEOUT"/>
ErrorTimeout = STATUS_CODES.PLCTAG_ERR_TIMEOUT,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_TIMEOUT"/>
ErrorTimeout = STATUS.PLCTAG_ERR_TIMEOUT,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_TOO_LARGE"/>
ErrorTooLarge = STATUS_CODES.PLCTAG_ERR_TOO_LARGE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_TOO_LARGE"/>
ErrorTooLarge = STATUS.PLCTAG_ERR_TOO_LARGE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_TOO_SMALL"/>
ErrorTooSmall = STATUS_CODES.PLCTAG_ERR_TOO_SMALL,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_TOO_SMALL"/>
ErrorTooSmall = STATUS.PLCTAG_ERR_TOO_SMALL,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_UNSUPPORTED"/>
ErrorUnsupported = STATUS_CODES.PLCTAG_ERR_UNSUPPORTED,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_UNSUPPORTED"/>
ErrorUnsupported = STATUS.PLCTAG_ERR_UNSUPPORTED,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_WINSOCK"/>
ErrorWinsock = STATUS_CODES.PLCTAG_ERR_WINSOCK,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_WINSOCK"/>
ErrorWinsock = STATUS.PLCTAG_ERR_WINSOCK,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_WRITE"/>
ErrorWrite = STATUS_CODES.PLCTAG_ERR_WRITE,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_WRITE"/>
ErrorWrite = STATUS.PLCTAG_ERR_WRITE,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_PARTIAL"/>
ErrorPartial = STATUS_CODES.PLCTAG_ERR_PARTIAL,
/// <inheritdoc cref="STATUS.PLCTAG_ERR_PARTIAL"/>
ErrorPartial = STATUS.PLCTAG_ERR_PARTIAL,

/// <inheritdoc cref="STATUS_CODES.PLCTAG_ERR_BUSY"/>
ErrorBusy = STATUS_CODES.PLCTAG_ERR_BUSY
/// <inheritdoc cref="STATUS.PLCTAG_ERR_BUSY"/>
ErrorBusy = STATUS.PLCTAG_ERR_BUSY
}
}

0 comments on commit ae941f4

Please sign in to comment.