Redler Technologies Inc.

MotionPacketHelper Class

Helper class to motion packets

Definition

Namespace: Redler.Motion.Communication.MotionPackets
Assembly: Redler.Motion.Communication (in Redler.Motion.Communication.dll) Version: 0.0.0.0
C#
public static class MotionPacketHelper
Inheritance
Object    MotionPacketHelper

Properties

DriverErrorsHelper A mapping of given number in a format of (2^x)-1 to it's driver error
DriverWarningsHelper A mapping of given number in a format of (2^x)-1 to it's driver warning

Methods

ParseDriverFault When the driver sends a 100[0] command, the payload need to be parsed. This method parses the payload.
UpdateDriverErrors(MotionPacketHelperDriverErrors, ICollectionMotionPacketHelperDriverStatus) Shows the error dictionary in the specified error code color
UpdateDriverErrors(MotionPacketHelperEVDriverErrors, ICollectionMotionPacketHelperDriverStatus) Shows the error dictionary in the specified error code color
UpdateDriverWarnings(MotionPacketHelperDriverWarnings, ICollectionMotionPacketHelperDriverStatus) Shows the error dictionary in the specified error code color
UpdateDriverWarnings(MotionPacketHelperEVDriverWarnings, ICollectionMotionPacketHelperDriverStatus) Shows the error dictionary in the specified error code color

Fields

DriverFaultToString Converts the error code to it's correspondent string

See Also