Documentation
¶
Index ¶
- type ArrayInfodeprecated
- type DefaultValueHandler
- func (m DefaultValueHandler) NewPlcValue(tag apiModel.PlcTag, value any) (apiValues.PlcValue, error)
- func (m DefaultValueHandler) NewPlcValueFromType(valueType apiValues.PlcValueType, value any) (apiValues.PlcValue, error)
- func (m DefaultValueHandler) ParseListType(tag apiModel.PlcTag, arrayInfo []apiModel.ArrayInfo, value any) (apiValues.PlcValue, error)
- func (m DefaultValueHandler) ParseSimpleType(tag apiModel.PlcTag, value any) (apiValues.PlcValue, error)
- func (m DefaultValueHandler) ParseStructType(_ apiModel.PlcTag, _ any) (apiValues.PlcValue, error)
- type PlcBOOL
- func (m PlcBOOL) GetBool() bool
- func (m PlcBOOL) GetBoolArray() []bool
- func (m PlcBOOL) GetBoolAt(index uint32) bool
- func (m PlcBOOL) GetBoolLength() uint32
- func (m PlcBOOL) GetPlcValueType() apiValues.PlcValueType
- func (m PlcBOOL) GetRaw() []byte
- func (m PlcBOOL) GetString() string
- func (m PlcBOOL) IsBool() bool
- func (m PlcBOOL) IsRaw() bool
- func (m PlcBOOL) IsString() bool
- func (m PlcBOOL) Serialize() ([]byte, error)
- func (m PlcBOOL) SerializeWithWriteBuffer(_ context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcBOOL) String() string
- type PlcBYTE
- func (m PlcBYTE) GetBool() bool
- func (m PlcBYTE) GetBoolArray() []bool
- func (m PlcBYTE) GetBoolAt(index uint32) bool
- func (m PlcBYTE) GetBoolLength() uint32
- func (m PlcBYTE) GetByte() byte
- func (m PlcBYTE) GetFloat32() float32
- func (m PlcBYTE) GetFloat64() float64
- func (m PlcBYTE) GetInt16() int16
- func (m PlcBYTE) GetInt32() int32
- func (m PlcBYTE) GetInt64() int64
- func (m PlcBYTE) GetInt8() int8
- func (m PlcBYTE) GetPlcValueType() apiValues.PlcValueType
- func (m PlcBYTE) GetRaw() []byte
- func (m PlcBYTE) GetString() string
- func (m PlcBYTE) GetUint16() uint16
- func (m PlcBYTE) GetUint32() uint32
- func (m PlcBYTE) GetUint64() uint64
- func (m PlcBYTE) GetUint8() uint8
- func (m PlcBYTE) IsBool() bool
- func (m PlcBYTE) IsByte() bool
- func (m PlcBYTE) IsInt8() bool
- func (m PlcBYTE) IsRaw() bool
- func (m PlcBYTE) IsString() bool
- func (m PlcBYTE) Serialize() ([]byte, error)
- func (m PlcBYTE) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcBYTE) String() string
- type PlcCHAR
- func (m PlcCHAR) GetPlcValueType() apiValues.PlcValueType
- func (m PlcCHAR) GetRaw() []byte
- func (m PlcCHAR) GetString() string
- func (m PlcCHAR) IsRaw() bool
- func (m PlcCHAR) IsString() bool
- func (m PlcCHAR) Serialize() ([]byte, error)
- func (m PlcCHAR) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcCHAR) String() string
- type PlcDATE
- func (m PlcDATE) GetDate() time.Time
- func (m PlcDATE) GetDaysSinceEpoch() uint16
- func (m PlcDATE) GetDaysSinceSiemensEpoch() uint16
- func (m PlcDATE) GetPlcValueType() apiValues.PlcValueType
- func (m PlcDATE) GetRaw() []byte
- func (m PlcDATE) GetSecondsSinceEpoch() uint32
- func (m PlcDATE) GetString() string
- func (m PlcDATE) IsDate() bool
- func (m PlcDATE) IsRaw() bool
- func (m PlcDATE) Serialize() ([]byte, error)
- func (m PlcDATE) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcDATE) String() string
- type PlcDATE_AND_LTIME
- func (m PlcDATE_AND_LTIME) GetDateTime() time.Time
- func (m PlcDATE_AND_LTIME) GetDay() uint8
- func (m PlcDATE_AND_LTIME) GetDayOfWeek() uint8
- func (m PlcDATE_AND_LTIME) GetHour() uint8
- func (m PlcDATE_AND_LTIME) GetMillisecondsOfSecond() uint64
- func (m PlcDATE_AND_LTIME) GetMinutes() uint8
- func (m PlcDATE_AND_LTIME) GetMonth() uint8
- func (m PlcDATE_AND_LTIME) GetNanoseconds() uint32
- func (m PlcDATE_AND_LTIME) GetPlcValueType() apiValues.PlcValueType
- func (m PlcDATE_AND_LTIME) GetRaw() []byte
- func (m PlcDATE_AND_LTIME) GetSeconds() uint8
- func (m PlcDATE_AND_LTIME) GetSecondsSinceEpoch() uint32
- func (m PlcDATE_AND_LTIME) GetString() string
- func (m PlcDATE_AND_LTIME) GetYear() uint16
- func (m PlcDATE_AND_LTIME) IsDateTime() bool
- func (m PlcDATE_AND_LTIME) IsRaw() bool
- func (m PlcDATE_AND_LTIME) Serialize() ([]byte, error)
- func (m PlcDATE_AND_LTIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcDATE_AND_LTIME) String() string
- type PlcDATE_AND_TIME
- func (m PlcDATE_AND_TIME) GetDateTime() time.Time
- func (m PlcDATE_AND_TIME) GetDay() uint8
- func (m PlcDATE_AND_TIME) GetDayOfWeek() uint8
- func (m PlcDATE_AND_TIME) GetHour() uint8
- func (m PlcDATE_AND_TIME) GetMillisecondsOfSecond() uint64
- func (m PlcDATE_AND_TIME) GetMinutes() uint8
- func (m PlcDATE_AND_TIME) GetMonth() uint8
- func (m PlcDATE_AND_TIME) GetNanoseconds() uint32
- func (m PlcDATE_AND_TIME) GetPlcValueType() apiValues.PlcValueType
- func (m PlcDATE_AND_TIME) GetRaw() []byte
- func (m PlcDATE_AND_TIME) GetSeconds() uint8
- func (m PlcDATE_AND_TIME) GetSecondsSinceEpoch() uint32
- func (m PlcDATE_AND_TIME) GetString() string
- func (m PlcDATE_AND_TIME) GetYear() uint16
- func (m PlcDATE_AND_TIME) IsDateTime() bool
- func (m PlcDATE_AND_TIME) IsRaw() bool
- func (m PlcDATE_AND_TIME) Serialize() ([]byte, error)
- func (m PlcDATE_AND_TIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcDATE_AND_TIME) String() string
- type PlcDINT
- func (m PlcDINT) GetBool() bool
- func (m PlcDINT) GetByte() byte
- func (m PlcDINT) GetFloat32() float32
- func (m PlcDINT) GetFloat64() float64
- func (m PlcDINT) GetInt16() int16
- func (m PlcDINT) GetInt32() int32
- func (m PlcDINT) GetInt64() int64
- func (m PlcDINT) GetInt8() int8
- func (m PlcDINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcDINT) GetRaw() []byte
- func (m PlcDINT) GetString() string
- func (m PlcDINT) GetUint16() uint16
- func (m PlcDINT) GetUint32() uint32
- func (m PlcDINT) GetUint64() uint64
- func (m PlcDINT) GetUint8() uint8
- func (m PlcDINT) IsByte() bool
- func (m PlcDINT) IsInt16() bool
- func (m PlcDINT) IsInt8() bool
- func (m PlcDINT) IsRaw() bool
- func (m PlcDINT) IsUint16() bool
- func (m PlcDINT) IsUint32() bool
- func (m PlcDINT) IsUint64() bool
- func (m PlcDINT) IsUint8() bool
- func (m PlcDINT) Serialize() ([]byte, error)
- func (m PlcDINT) SerializeWithWriteBuffer(_ context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcDINT) String() string
- type PlcDWORD
- func (m PlcDWORD) GetBool() bool
- func (m PlcDWORD) GetBoolArray() []bool
- func (m PlcDWORD) GetBoolAt(index uint32) bool
- func (m PlcDWORD) GetBoolLength() uint32
- func (m PlcDWORD) GetByte() byte
- func (m PlcDWORD) GetFloat32() float32
- func (m PlcDWORD) GetFloat64() float64
- func (m PlcDWORD) GetInt16() int16
- func (m PlcDWORD) GetInt32() int32
- func (m PlcDWORD) GetInt64() int64
- func (m PlcDWORD) GetInt8() int8
- func (m PlcDWORD) GetPlcValueType() apiValues.PlcValueType
- func (m PlcDWORD) GetRaw() []byte
- func (m PlcDWORD) GetString() string
- func (m PlcDWORD) GetUint16() uint16
- func (m PlcDWORD) GetUint32() uint32
- func (m PlcDWORD) GetUint64() uint64
- func (m PlcDWORD) GetUint8() uint8
- func (m PlcDWORD) IsBool() bool
- func (m PlcDWORD) IsByte() bool
- func (m PlcDWORD) IsFloat32() bool
- func (m PlcDWORD) IsFloat64() bool
- func (m PlcDWORD) IsInt16() bool
- func (m PlcDWORD) IsInt32() bool
- func (m PlcDWORD) IsInt64() bool
- func (m PlcDWORD) IsInt8() bool
- func (m PlcDWORD) IsRaw() bool
- func (m PlcDWORD) IsString() bool
- func (m PlcDWORD) IsUint16() bool
- func (m PlcDWORD) IsUint8() bool
- func (m PlcDWORD) Serialize() ([]byte, error)
- func (m PlcDWORD) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcDWORD) String() string
- type PlcINT
- func (m PlcINT) GetBool() bool
- func (m PlcINT) GetByte() byte
- func (m PlcINT) GetFloat32() float32
- func (m PlcINT) GetFloat64() float64
- func (m PlcINT) GetInt16() int16
- func (m PlcINT) GetInt32() int32
- func (m PlcINT) GetInt64() int64
- func (m PlcINT) GetInt8() int8
- func (m PlcINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcINT) GetRaw() []byte
- func (m PlcINT) GetString() string
- func (m PlcINT) GetUint16() uint16
- func (m PlcINT) GetUint32() uint32
- func (m PlcINT) GetUint64() uint64
- func (m PlcINT) GetUint8() uint8
- func (m PlcINT) IsByte() bool
- func (m PlcINT) IsInt8() bool
- func (m PlcINT) IsRaw() bool
- func (m PlcINT) IsUint16() bool
- func (m PlcINT) IsUint32() bool
- func (m PlcINT) IsUint64() bool
- func (m PlcINT) IsUint8() bool
- func (m PlcINT) Serialize() ([]byte, error)
- func (m PlcINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcINT) String() string
- type PlcLDATE
- func (m PlcLDATE) GetDate() time.Time
- func (m PlcLDATE) GetNanosecondsSinceEpoch() uint64
- func (m PlcLDATE) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLDATE) GetRaw() []byte
- func (m PlcLDATE) GetString() string
- func (m PlcLDATE) IsDate() bool
- func (m PlcLDATE) IsRaw() bool
- func (m PlcLDATE) Serialize() ([]byte, error)
- func (m PlcLDATE) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLDATE) String() string
- type PlcLDATE_AND_TIME
- func (m PlcLDATE_AND_TIME) GetDate() time.Time
- func (m PlcLDATE_AND_TIME) GetNanosecondsSinceEpoch() uint64
- func (m PlcLDATE_AND_TIME) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLDATE_AND_TIME) GetRaw() []byte
- func (m PlcLDATE_AND_TIME) GetString() string
- func (m PlcLDATE_AND_TIME) IsDate() bool
- func (m PlcLDATE_AND_TIME) IsRaw() bool
- func (m PlcLDATE_AND_TIME) Serialize() ([]byte, error)
- func (m PlcLDATE_AND_TIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLDATE_AND_TIME) String() string
- type PlcLINT
- func (m PlcLINT) GetBool() bool
- func (m PlcLINT) GetByte() byte
- func (m PlcLINT) GetFloat32() float32
- func (m PlcLINT) GetFloat64() float64
- func (m PlcLINT) GetInt16() int16
- func (m PlcLINT) GetInt32() int32
- func (m PlcLINT) GetInt64() int64
- func (m PlcLINT) GetInt8() int8
- func (m PlcLINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLINT) GetRaw() []byte
- func (m PlcLINT) GetString() string
- func (m PlcLINT) GetUint16() uint16
- func (m PlcLINT) GetUint32() uint32
- func (m PlcLINT) GetUint64() uint64
- func (m PlcLINT) GetUint8() uint8
- func (m PlcLINT) IsByte() bool
- func (m PlcLINT) IsInt16() bool
- func (m PlcLINT) IsInt32() bool
- func (m PlcLINT) IsInt8() bool
- func (m PlcLINT) IsRaw() bool
- func (m PlcLINT) IsUint16() bool
- func (m PlcLINT) IsUint32() bool
- func (m PlcLINT) IsUint64() bool
- func (m PlcLINT) IsUint8() bool
- func (m PlcLINT) Serialize() ([]byte, error)
- func (m PlcLINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLINT) String() string
- type PlcLREAL
- func (m PlcLREAL) GetBool() bool
- func (m PlcLREAL) GetByte() byte
- func (m PlcLREAL) GetFloat32() float32
- func (m PlcLREAL) GetFloat64() float64
- func (m PlcLREAL) GetInt16() int16
- func (m PlcLREAL) GetInt32() int32
- func (m PlcLREAL) GetInt64() int64
- func (m PlcLREAL) GetInt8() int8
- func (m PlcLREAL) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLREAL) GetRaw() []byte
- func (m PlcLREAL) GetString() string
- func (m PlcLREAL) GetUint16() uint16
- func (m PlcLREAL) GetUint32() uint32
- func (m PlcLREAL) GetUint64() uint64
- func (m PlcLREAL) GetUint8() uint8
- func (m PlcLREAL) IsFloat32() bool
- func (m PlcLREAL) IsInt16() bool
- func (m PlcLREAL) IsInt32() bool
- func (m PlcLREAL) IsInt64() bool
- func (m PlcLREAL) IsInt8() bool
- func (m PlcLREAL) IsRaw() bool
- func (m PlcLREAL) IsString() bool
- func (m PlcLREAL) IsUint16() bool
- func (m PlcLREAL) IsUint32() bool
- func (m PlcLREAL) IsUint64() bool
- func (m PlcLREAL) IsUint8() bool
- func (m PlcLREAL) Serialize() ([]byte, error)
- func (m PlcLREAL) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLREAL) String() string
- type PlcLTIME
- func (m PlcLTIME) GetDuration() time.Duration
- func (m PlcLTIME) GetNanoseconds() uint64
- func (m PlcLTIME) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLTIME) GetRaw() []byte
- func (m PlcLTIME) GetString() string
- func (m PlcLTIME) IsDuration() bool
- func (m PlcLTIME) IsRaw() bool
- func (m PlcLTIME) IsString() bool
- func (m PlcLTIME) Serialize() ([]byte, error)
- func (m PlcLTIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLTIME) String() string
- type PlcLTIME_OF_DAY
- func (m PlcLTIME_OF_DAY) GetNanosecondsSinceMidnight() uint64
- func (m PlcLTIME_OF_DAY) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLTIME_OF_DAY) GetRaw() []byte
- func (m PlcLTIME_OF_DAY) GetString() string
- func (m PlcLTIME_OF_DAY) GetTime() time.Time
- func (m PlcLTIME_OF_DAY) IsRaw() bool
- func (m PlcLTIME_OF_DAY) IsTime() bool
- func (m PlcLTIME_OF_DAY) Serialize() ([]byte, error)
- func (m PlcLTIME_OF_DAY) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLTIME_OF_DAY) String() string
- type PlcLWORD
- func (m PlcLWORD) GetBool() bool
- func (m PlcLWORD) GetBoolArray() []bool
- func (m PlcLWORD) GetBoolAt(index uint32) bool
- func (m PlcLWORD) GetBoolLength() uint32
- func (m PlcLWORD) GetByte() byte
- func (m PlcLWORD) GetFloat32() float32
- func (m PlcLWORD) GetFloat64() float64
- func (m PlcLWORD) GetInt16() int16
- func (m PlcLWORD) GetInt32() int32
- func (m PlcLWORD) GetInt64() int64
- func (m PlcLWORD) GetInt8() int8
- func (m PlcLWORD) GetPlcValueType() apiValues.PlcValueType
- func (m PlcLWORD) GetRaw() []byte
- func (m PlcLWORD) GetString() string
- func (m PlcLWORD) GetUint16() uint16
- func (m PlcLWORD) GetUint32() uint32
- func (m PlcLWORD) GetUint64() uint64
- func (m PlcLWORD) GetUint8() uint8
- func (m PlcLWORD) IsBool() bool
- func (m PlcLWORD) IsByte() bool
- func (m PlcLWORD) IsFloat32() bool
- func (m PlcLWORD) IsFloat64() bool
- func (m PlcLWORD) IsInt16() bool
- func (m PlcLWORD) IsInt32() bool
- func (m PlcLWORD) IsInt64() bool
- func (m PlcLWORD) IsInt8() bool
- func (m PlcLWORD) IsRaw() bool
- func (m PlcLWORD) IsString() bool
- func (m PlcLWORD) IsUint16() bool
- func (m PlcLWORD) IsUint32() bool
- func (m PlcLWORD) IsUint8() bool
- func (m PlcLWORD) Serialize() ([]byte, error)
- func (m PlcLWORD) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcLWORD) String() string
- type PlcList
- func (m PlcList) GetBool() bool
- func (m PlcList) GetBoolArray() []bool
- func (m PlcList) GetBoolAt(index uint32) bool
- func (m PlcList) GetBoolLength() uint32
- func (m PlcList) GetByte() byte
- func (m PlcList) GetDate() time.Time
- func (m PlcList) GetDateTime() time.Time
- func (m PlcList) GetFloat32() float32
- func (m PlcList) GetFloat64() float64
- func (m PlcList) GetIndex(i uint32) apiValues.PlcValue
- func (m PlcList) GetInt16() int16
- func (m PlcList) GetInt32() int32
- func (m PlcList) GetInt64() int64
- func (m PlcList) GetInt8() int8
- func (m PlcList) GetKeys() []string
- func (m PlcList) GetLength() uint32
- func (m PlcList) GetList() []apiValues.PlcValue
- func (m PlcList) GetPlcValueType() apiValues.PlcValueType
- func (m PlcList) GetRaw() []byte
- func (m PlcList) GetString() string
- func (m PlcList) GetStruct() map[string]apiValues.PlcValue
- func (m PlcList) GetTime() time.Time
- func (m PlcList) GetUint16() uint16
- func (m PlcList) GetUint32() uint32
- func (m PlcList) GetUint64() uint64
- func (m PlcList) GetUint8() uint8
- func (m PlcList) GetValue(key string) apiValues.PlcValue
- func (m PlcList) HasKey(key string) bool
- func (m PlcList) IsBool() bool
- func (m PlcList) IsByte() bool
- func (m PlcList) IsDate() bool
- func (m PlcList) IsDateTime() bool
- func (m PlcList) IsFloat32() bool
- func (m PlcList) IsFloat64() bool
- func (m PlcList) IsInt16() bool
- func (m PlcList) IsInt32() bool
- func (m PlcList) IsInt64() bool
- func (m PlcList) IsInt8() bool
- func (m PlcList) IsList() bool
- func (m PlcList) IsNull() bool
- func (m PlcList) IsNullable() bool
- func (m PlcList) IsRaw() bool
- func (m PlcList) IsSimple() bool
- func (m PlcList) IsString() bool
- func (m PlcList) IsStruct() bool
- func (m PlcList) IsTime() bool
- func (m PlcList) IsUint16() bool
- func (m PlcList) IsUint32() bool
- func (m PlcList) IsUint64() bool
- func (m PlcList) IsUint8() bool
- func (m PlcList) Serialize() ([]byte, error)
- func (m PlcList) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcList) String() string
- type PlcNull
- type PlcREAL
- func (m PlcREAL) GetBool() bool
- func (m PlcREAL) GetByte() byte
- func (m PlcREAL) GetFloat32() float32
- func (m PlcREAL) GetFloat64() float64
- func (m PlcREAL) GetInt16() int16
- func (m PlcREAL) GetInt32() int32
- func (m PlcREAL) GetInt64() int64
- func (m PlcREAL) GetInt8() int8
- func (m PlcREAL) GetPlcValueType() apiValues.PlcValueType
- func (m PlcREAL) GetRaw() []byte
- func (m PlcREAL) GetString() string
- func (m PlcREAL) GetUint16() uint16
- func (m PlcREAL) GetUint32() uint32
- func (m PlcREAL) GetUint64() uint64
- func (m PlcREAL) GetUint8() uint8
- func (m PlcREAL) IsByte() bool
- func (m PlcREAL) IsInt16() bool
- func (m PlcREAL) IsInt32() bool
- func (m PlcREAL) IsInt64() bool
- func (m PlcREAL) IsInt8() bool
- func (m PlcREAL) IsRaw() bool
- func (m PlcREAL) IsString() bool
- func (m PlcREAL) IsUint16() bool
- func (m PlcREAL) IsUint32() bool
- func (m PlcREAL) IsUint64() bool
- func (m PlcREAL) IsUint8() bool
- func (m PlcREAL) Serialize() ([]byte, error)
- func (m PlcREAL) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcREAL) String() string
- type PlcRawByteArray
- func (m PlcRawByteArray) GetIndex(i uint32) apiValues.PlcValue
- func (m PlcRawByteArray) GetLength() uint32
- func (m PlcRawByteArray) GetList() []apiValues.PlcValue
- func (m PlcRawByteArray) GetPlcValueType() apiValues.PlcValueType
- func (m PlcRawByteArray) GetRaw() []byte
- func (m PlcRawByteArray) IsList() bool
- func (m PlcRawByteArray) IsRaw() bool
- func (m PlcRawByteArray) Serialize() ([]byte, error)
- func (m PlcRawByteArray) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- type PlcSINT
- func (m PlcSINT) GetBool() bool
- func (m PlcSINT) GetByte() byte
- func (m PlcSINT) GetFloat32() float32
- func (m PlcSINT) GetFloat64() float64
- func (m PlcSINT) GetInt16() int16
- func (m PlcSINT) GetInt32() int32
- func (m PlcSINT) GetInt64() int64
- func (m PlcSINT) GetInt8() int8
- func (m PlcSINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcSINT) GetRaw() []byte
- func (m PlcSINT) GetString() string
- func (m PlcSINT) GetUint16() uint16
- func (m PlcSINT) GetUint32() uint32
- func (m PlcSINT) GetUint64() uint64
- func (m PlcSINT) GetUint8() uint8
- func (m PlcSINT) IsByte() bool
- func (m PlcSINT) IsRaw() bool
- func (m PlcSINT) IsUint16() bool
- func (m PlcSINT) IsUint32() bool
- func (m PlcSINT) IsUint64() bool
- func (m PlcSINT) IsUint8() bool
- func (m PlcSINT) Serialize() ([]byte, error)
- func (m PlcSINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcSINT) String() string
- type PlcSTRING
- func (m PlcSTRING) GetPlcValueType() apiValues.PlcValueType
- func (m PlcSTRING) GetRaw() []byte
- func (m PlcSTRING) GetString() string
- func (m PlcSTRING) IsRaw() bool
- func (m PlcSTRING) IsString() bool
- func (m PlcSTRING) Serialize() ([]byte, error)
- func (m PlcSTRING) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcSTRING) String() string
- type PlcSimpleNumericValueAdapter
- func (m PlcSimpleNumericValueAdapter) IsBool() bool
- func (m PlcSimpleNumericValueAdapter) IsByte() bool
- func (m PlcSimpleNumericValueAdapter) IsFloat32() bool
- func (m PlcSimpleNumericValueAdapter) IsFloat64() bool
- func (m PlcSimpleNumericValueAdapter) IsInt16() bool
- func (m PlcSimpleNumericValueAdapter) IsInt32() bool
- func (m PlcSimpleNumericValueAdapter) IsInt64() bool
- func (m PlcSimpleNumericValueAdapter) IsInt8() bool
- func (m PlcSimpleNumericValueAdapter) IsString() bool
- func (m PlcSimpleNumericValueAdapter) IsUint16() bool
- func (m PlcSimpleNumericValueAdapter) IsUint32() bool
- func (m PlcSimpleNumericValueAdapter) IsUint64() bool
- func (m PlcSimpleNumericValueAdapter) IsUint8() bool
- func (m PlcSimpleNumericValueAdapter) String() string
- type PlcSimpleValueAdapter
- type PlcStruct
- func (m PlcStruct) GetKeys() []string
- func (m PlcStruct) GetPlcValueType() apiValues.PlcValueType
- func (m PlcStruct) GetRaw() []byte
- func (m PlcStruct) GetString() string
- func (m PlcStruct) GetStruct() map[string]apiValues.PlcValue
- func (m PlcStruct) GetValue(key string) apiValues.PlcValue
- func (m PlcStruct) HasKey(key string) bool
- func (m PlcStruct) IsRaw() bool
- func (m PlcStruct) IsString() bool
- func (m PlcStruct) IsStruct() bool
- func (m PlcStruct) Serialize() ([]byte, error)
- func (m PlcStruct) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcStruct) String() string
- type PlcTIME
- func (m PlcTIME) GetDuration() time.Duration
- func (m PlcTIME) GetMilliseconds() int64
- func (m PlcTIME) GetPlcValueType() apiValues.PlcValueType
- func (m PlcTIME) GetRaw() []byte
- func (m PlcTIME) GetString() string
- func (m PlcTIME) IsDuration() bool
- func (m PlcTIME) IsRaw() bool
- func (m PlcTIME) IsString() bool
- func (m PlcTIME) Serialize() ([]byte, error)
- func (m PlcTIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcTIME) String() string
- type PlcTIME_OF_DAY
- func (m PlcTIME_OF_DAY) GetMillisecondsSinceMidnight() uint32
- func (m PlcTIME_OF_DAY) GetPlcValueType() apiValues.PlcValueType
- func (m PlcTIME_OF_DAY) GetRaw() []byte
- func (m PlcTIME_OF_DAY) GetString() string
- func (m PlcTIME_OF_DAY) GetTime() time.Time
- func (m PlcTIME_OF_DAY) IsRaw() bool
- func (m PlcTIME_OF_DAY) IsTime() bool
- func (m PlcTIME_OF_DAY) Serialize() ([]byte, error)
- func (m PlcTIME_OF_DAY) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcTIME_OF_DAY) String() string
- type PlcTagdeprecated
- type PlcUDINT
- func (m PlcUDINT) GetBool() bool
- func (m PlcUDINT) GetByte() byte
- func (m PlcUDINT) GetFloat32() float32
- func (m PlcUDINT) GetFloat64() float64
- func (m PlcUDINT) GetInt16() int16
- func (m PlcUDINT) GetInt32() int32
- func (m PlcUDINT) GetInt64() int64
- func (m PlcUDINT) GetInt8() int8
- func (m PlcUDINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcUDINT) GetRaw() []byte
- func (m PlcUDINT) GetString() string
- func (m PlcUDINT) GetUint16() uint16
- func (m PlcUDINT) GetUint32() uint32
- func (m PlcUDINT) GetUint64() uint64
- func (m PlcUDINT) GetUint8() uint8
- func (m PlcUDINT) IsByte() bool
- func (m PlcUDINT) IsInt16() bool
- func (m PlcUDINT) IsInt32() bool
- func (m PlcUDINT) IsInt8() bool
- func (m PlcUDINT) IsRaw() bool
- func (m PlcUDINT) IsUint16() bool
- func (m PlcUDINT) IsUint8() bool
- func (m PlcUDINT) Serialize() ([]byte, error)
- func (m PlcUDINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcUDINT) String() string
- type PlcUINT
- func (m PlcUINT) GetBool() bool
- func (m PlcUINT) GetByte() byte
- func (m PlcUINT) GetFloat32() float32
- func (m PlcUINT) GetFloat64() float64
- func (m PlcUINT) GetInt16() int16
- func (m PlcUINT) GetInt32() int32
- func (m PlcUINT) GetInt64() int64
- func (m PlcUINT) GetInt8() int8
- func (m PlcUINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcUINT) GetRaw() []byte
- func (m PlcUINT) GetString() string
- func (m PlcUINT) GetUint16() uint16
- func (m PlcUINT) GetUint32() uint32
- func (m PlcUINT) GetUint64() uint64
- func (m PlcUINT) GetUint8() uint8
- func (m PlcUINT) IsByte() bool
- func (m PlcUINT) IsInt16() bool
- func (m PlcUINT) IsInt8() bool
- func (m PlcUINT) IsRaw() bool
- func (m PlcUINT) IsUint8() bool
- func (m PlcUINT) Serialize() ([]byte, error)
- func (m PlcUINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcUINT) String() string
- type PlcULINT
- func (m PlcULINT) GetBool() bool
- func (m PlcULINT) GetByte() byte
- func (m PlcULINT) GetFloat32() float32
- func (m PlcULINT) GetFloat64() float64
- func (m PlcULINT) GetInt16() int16
- func (m PlcULINT) GetInt32() int32
- func (m PlcULINT) GetInt64() int64
- func (m PlcULINT) GetInt8() int8
- func (m PlcULINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcULINT) GetRaw() []byte
- func (m PlcULINT) GetString() string
- func (m PlcULINT) GetUint16() uint16
- func (m PlcULINT) GetUint32() uint32
- func (m PlcULINT) GetUint64() uint64
- func (m PlcULINT) GetUint8() uint8
- func (m PlcULINT) IsByte() bool
- func (m PlcULINT) IsInt16() bool
- func (m PlcULINT) IsInt32() bool
- func (m PlcULINT) IsInt64() bool
- func (m PlcULINT) IsInt8() bool
- func (m PlcULINT) IsRaw() bool
- func (m PlcULINT) IsUint16() bool
- func (m PlcULINT) IsUint32() bool
- func (m PlcULINT) IsUint8() bool
- func (m PlcULINT) Serialize() ([]byte, error)
- func (m PlcULINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcULINT) String() string
- type PlcUSINT
- func (m PlcUSINT) GetBool() bool
- func (m PlcUSINT) GetByte() byte
- func (m PlcUSINT) GetFloat32() float32
- func (m PlcUSINT) GetFloat64() float64
- func (m PlcUSINT) GetInt16() int16
- func (m PlcUSINT) GetInt32() int32
- func (m PlcUSINT) GetInt64() int64
- func (m PlcUSINT) GetInt8() int8
- func (m PlcUSINT) GetPlcValueType() apiValues.PlcValueType
- func (m PlcUSINT) GetRaw() []byte
- func (m PlcUSINT) GetString() string
- func (m PlcUSINT) GetUint16() uint16
- func (m PlcUSINT) GetUint32() uint32
- func (m PlcUSINT) GetUint64() uint64
- func (m PlcUSINT) GetUint8() uint8
- func (m PlcUSINT) IsByte() bool
- func (m PlcUSINT) IsInt8() bool
- func (m PlcUSINT) IsRaw() bool
- func (m PlcUSINT) Serialize() ([]byte, error)
- func (m PlcUSINT) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcUSINT) String() string
- type PlcValueAdapter
- func (m PlcValueAdapter) GetBool() bool
- func (m PlcValueAdapter) GetBoolArray() []bool
- func (m PlcValueAdapter) GetBoolAt(index uint32) bool
- func (m PlcValueAdapter) GetBoolLength() uint32
- func (m PlcValueAdapter) GetByte() byte
- func (m PlcValueAdapter) GetDate() time.Time
- func (m PlcValueAdapter) GetDateTime() time.Time
- func (m PlcValueAdapter) GetDuration() time.Duration
- func (m PlcValueAdapter) GetFloat32() float32
- func (m PlcValueAdapter) GetFloat64() float64
- func (m PlcValueAdapter) GetIndex(_ uint32) apiValues.PlcValue
- func (m PlcValueAdapter) GetInt16() int16
- func (m PlcValueAdapter) GetInt32() int32
- func (m PlcValueAdapter) GetInt64() int64
- func (m PlcValueAdapter) GetInt8() int8
- func (m PlcValueAdapter) GetKeys() []string
- func (m PlcValueAdapter) GetLength() uint32
- func (m PlcValueAdapter) GetList() []apiValues.PlcValue
- func (m PlcValueAdapter) GetPlcValueType() apiValues.PlcValueType
- func (m PlcValueAdapter) GetRaw() []byte
- func (m PlcValueAdapter) GetString() string
- func (m PlcValueAdapter) GetStruct() map[string]apiValues.PlcValue
- func (m PlcValueAdapter) GetTime() time.Time
- func (m PlcValueAdapter) GetUint16() uint16
- func (m PlcValueAdapter) GetUint32() uint32
- func (m PlcValueAdapter) GetUint64() uint64
- func (m PlcValueAdapter) GetUint8() uint8
- func (m PlcValueAdapter) GetValue(_ string) apiValues.PlcValue
- func (m PlcValueAdapter) HasKey(_ string) bool
- func (m PlcValueAdapter) IsBool() bool
- func (m PlcValueAdapter) IsByte() bool
- func (m PlcValueAdapter) IsDate() bool
- func (m PlcValueAdapter) IsDateTime() bool
- func (m PlcValueAdapter) IsDuration() bool
- func (m PlcValueAdapter) IsFloat32() bool
- func (m PlcValueAdapter) IsFloat64() bool
- func (m PlcValueAdapter) IsInt16() bool
- func (m PlcValueAdapter) IsInt32() bool
- func (m PlcValueAdapter) IsInt64() bool
- func (m PlcValueAdapter) IsInt8() bool
- func (m PlcValueAdapter) IsList() bool
- func (m PlcValueAdapter) IsNull() bool
- func (m PlcValueAdapter) IsNullable() bool
- func (m PlcValueAdapter) IsRaw() bool
- func (m PlcValueAdapter) IsSimple() bool
- func (m PlcValueAdapter) IsString() bool
- func (m PlcValueAdapter) IsStruct() bool
- func (m PlcValueAdapter) IsTime() bool
- func (m PlcValueAdapter) IsUint16() bool
- func (m PlcValueAdapter) IsUint32() bool
- func (m PlcValueAdapter) IsUint64() bool
- func (m PlcValueAdapter) IsUint8() bool
- func (m PlcValueAdapter) String() string
- type PlcWCHAR
- func (m PlcWCHAR) GetPlcValueType() apiValues.PlcValueType
- func (m PlcWCHAR) GetRaw() []byte
- func (m PlcWCHAR) GetString() string
- func (m PlcWCHAR) IsRaw() bool
- func (m PlcWCHAR) IsString() bool
- func (m PlcWCHAR) Serialize() ([]byte, error)
- func (m PlcWCHAR) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcWCHAR) String() string
- type PlcWORD
- func (m PlcWORD) GetBool() bool
- func (m PlcWORD) GetBoolArray() []bool
- func (m PlcWORD) GetBoolAt(index uint32) bool
- func (m PlcWORD) GetBoolLength() uint32
- func (m PlcWORD) GetByte() byte
- func (m PlcWORD) GetFloat32() float32
- func (m PlcWORD) GetFloat64() float64
- func (m PlcWORD) GetInt16() int16
- func (m PlcWORD) GetInt32() int32
- func (m PlcWORD) GetInt64() int64
- func (m PlcWORD) GetInt8() int8
- func (m PlcWORD) GetPlcValueType() apiValues.PlcValueType
- func (m PlcWORD) GetRaw() []byte
- func (m PlcWORD) GetString() string
- func (m PlcWORD) GetUint16() uint16
- func (m PlcWORD) GetUint32() uint32
- func (m PlcWORD) GetUint64() uint64
- func (m PlcWORD) GetUint8() uint8
- func (m PlcWORD) IsBool() bool
- func (m PlcWORD) IsByte() bool
- func (m PlcWORD) IsInt16() bool
- func (m PlcWORD) IsInt8() bool
- func (m PlcWORD) IsRaw() bool
- func (m PlcWORD) IsString() bool
- func (m PlcWORD) IsUint8() bool
- func (m PlcWORD) Serialize() ([]byte, error)
- func (m PlcWORD) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcWORD) String() string
- type PlcWSTRING
- func (m PlcWSTRING) GetPlcValueType() apiValues.PlcValueType
- func (m PlcWSTRING) GetRaw() []byte
- func (m PlcWSTRING) GetString() string
- func (m PlcWSTRING) IsRaw() bool
- func (m PlcWSTRING) IsString() bool
- func (m PlcWSTRING) Serialize() ([]byte, error)
- func (m PlcWSTRING) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (m PlcWSTRING) String() string
- type WriteBufferPlcValueBased
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultValueHandler ¶
type DefaultValueHandler struct {
// contains filtered or unexported fields
}
func NewDefaultValueHandler ¶
func NewDefaultValueHandler(_options ...options.WithOption) DefaultValueHandler
func (DefaultValueHandler) NewPlcValue ¶
func (DefaultValueHandler) NewPlcValueFromType ¶
func (m DefaultValueHandler) NewPlcValueFromType(valueType apiValues.PlcValueType, value any) (apiValues.PlcValue, error)
func (DefaultValueHandler) ParseListType ¶
func (DefaultValueHandler) ParseSimpleType ¶
func (DefaultValueHandler) ParseStructType ¶
type PlcBOOL ¶
type PlcBOOL struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcBOOL ¶
func (PlcBOOL) GetBoolArray ¶
func (PlcBOOL) GetBoolLength ¶
func (PlcBOOL) GetPlcValueType ¶
func (m PlcBOOL) GetPlcValueType() apiValues.PlcValueType
func (PlcBOOL) SerializeWithWriteBuffer ¶
type PlcBYTE ¶
type PlcBYTE struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcBYTE ¶
func (PlcBYTE) GetBoolArray ¶
func (PlcBYTE) GetBoolLength ¶
func (PlcBYTE) GetFloat32 ¶
func (PlcBYTE) GetFloat64 ¶
func (PlcBYTE) GetPlcValueType ¶
func (m PlcBYTE) GetPlcValueType() apiValues.PlcValueType
func (PlcBYTE) SerializeWithWriteBuffer ¶
type PlcCHAR ¶
type PlcCHAR struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcCHAR ¶
func (PlcCHAR) GetPlcValueType ¶
func (m PlcCHAR) GetPlcValueType() apiValues.PlcValueType
func (PlcCHAR) SerializeWithWriteBuffer ¶
type PlcDATE ¶
type PlcDATE struct { PlcValueAdapter // contains filtered or unexported fields }
func NewPlcDATE ¶
func (PlcDATE) GetDaysSinceEpoch ¶
func (PlcDATE) GetDaysSinceSiemensEpoch ¶
func (PlcDATE) GetPlcValueType ¶
func (m PlcDATE) GetPlcValueType() apiValues.PlcValueType
func (PlcDATE) GetSecondsSinceEpoch ¶
func (PlcDATE) SerializeWithWriteBuffer ¶
type PlcDATE_AND_LTIME ¶
type PlcDATE_AND_LTIME struct { PlcValueAdapter // contains filtered or unexported fields }
func NewPlcDATA_AND_LTIMEFromNanosecondsSinceEpoch ¶
func NewPlcDATA_AND_LTIMEFromNanosecondsSinceEpoch(nanosecondsSinceEpoch uint64) PlcDATE_AND_LTIME
func NewPlcDATA_AND_LTIMEFromSegments ¶
func NewPlcDATA_AND_LTIMEFromSegments(year, month, day, hour, minutes, seconds, nanoseconds uint32) PlcDATE_AND_LTIME
func NewPlcDATE_AND_LTIME ¶
func NewPlcDATE_AND_LTIME(value time.Time) PlcDATE_AND_LTIME
func (PlcDATE_AND_LTIME) GetDateTime ¶
func (m PlcDATE_AND_LTIME) GetDateTime() time.Time
func (PlcDATE_AND_LTIME) GetDay ¶
func (m PlcDATE_AND_LTIME) GetDay() uint8
func (PlcDATE_AND_LTIME) GetDayOfWeek ¶
func (m PlcDATE_AND_LTIME) GetDayOfWeek() uint8
func (PlcDATE_AND_LTIME) GetHour ¶
func (m PlcDATE_AND_LTIME) GetHour() uint8
func (PlcDATE_AND_LTIME) GetMillisecondsOfSecond ¶
func (m PlcDATE_AND_LTIME) GetMillisecondsOfSecond() uint64
func (PlcDATE_AND_LTIME) GetMinutes ¶
func (m PlcDATE_AND_LTIME) GetMinutes() uint8
func (PlcDATE_AND_LTIME) GetMonth ¶
func (m PlcDATE_AND_LTIME) GetMonth() uint8
func (PlcDATE_AND_LTIME) GetNanoseconds ¶
func (m PlcDATE_AND_LTIME) GetNanoseconds() uint32
func (PlcDATE_AND_LTIME) GetPlcValueType ¶
func (m PlcDATE_AND_LTIME) GetPlcValueType() apiValues.PlcValueType
func (PlcDATE_AND_LTIME) GetRaw ¶
func (m PlcDATE_AND_LTIME) GetRaw() []byte
func (PlcDATE_AND_LTIME) GetSeconds ¶
func (m PlcDATE_AND_LTIME) GetSeconds() uint8
func (PlcDATE_AND_LTIME) GetSecondsSinceEpoch ¶
func (m PlcDATE_AND_LTIME) GetSecondsSinceEpoch() uint32
func (PlcDATE_AND_LTIME) GetString ¶
func (m PlcDATE_AND_LTIME) GetString() string
func (PlcDATE_AND_LTIME) GetYear ¶
func (m PlcDATE_AND_LTIME) GetYear() uint16
func (PlcDATE_AND_LTIME) IsDateTime ¶
func (m PlcDATE_AND_LTIME) IsDateTime() bool
func (PlcDATE_AND_LTIME) IsRaw ¶
func (m PlcDATE_AND_LTIME) IsRaw() bool
func (PlcDATE_AND_LTIME) Serialize ¶
func (m PlcDATE_AND_LTIME) Serialize() ([]byte, error)
func (PlcDATE_AND_LTIME) SerializeWithWriteBuffer ¶
func (m PlcDATE_AND_LTIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcDATE_AND_LTIME) String ¶
func (m PlcDATE_AND_LTIME) String() string
type PlcDATE_AND_TIME ¶
type PlcDATE_AND_TIME struct { PlcValueAdapter // contains filtered or unexported fields }
func NewPlcDATA_AND_TIMEFromSecondsSinceEpoch ¶
func NewPlcDATA_AND_TIMEFromSecondsSinceEpoch(secondsSinceEpoch uint32) PlcDATE_AND_TIME
func NewPlcDATA_AND_TIMEFromSegments ¶
func NewPlcDATA_AND_TIMEFromSegments(year, month, day, hour, minutes, seconds, nanoseconds uint32) PlcDATE_AND_TIME
func NewPlcDATE_AND_TIME ¶
func NewPlcDATE_AND_TIME(value time.Time) PlcDATE_AND_TIME
func (PlcDATE_AND_TIME) GetDateTime ¶
func (m PlcDATE_AND_TIME) GetDateTime() time.Time
func (PlcDATE_AND_TIME) GetDay ¶
func (m PlcDATE_AND_TIME) GetDay() uint8
func (PlcDATE_AND_TIME) GetDayOfWeek ¶
func (m PlcDATE_AND_TIME) GetDayOfWeek() uint8
func (PlcDATE_AND_TIME) GetHour ¶
func (m PlcDATE_AND_TIME) GetHour() uint8
func (PlcDATE_AND_TIME) GetMillisecondsOfSecond ¶
func (m PlcDATE_AND_TIME) GetMillisecondsOfSecond() uint64
func (PlcDATE_AND_TIME) GetMinutes ¶
func (m PlcDATE_AND_TIME) GetMinutes() uint8
func (PlcDATE_AND_TIME) GetMonth ¶
func (m PlcDATE_AND_TIME) GetMonth() uint8
func (PlcDATE_AND_TIME) GetNanoseconds ¶
func (m PlcDATE_AND_TIME) GetNanoseconds() uint32
func (PlcDATE_AND_TIME) GetPlcValueType ¶
func (m PlcDATE_AND_TIME) GetPlcValueType() apiValues.PlcValueType
func (PlcDATE_AND_TIME) GetRaw ¶
func (m PlcDATE_AND_TIME) GetRaw() []byte
func (PlcDATE_AND_TIME) GetSeconds ¶
func (m PlcDATE_AND_TIME) GetSeconds() uint8
func (PlcDATE_AND_TIME) GetSecondsSinceEpoch ¶
func (m PlcDATE_AND_TIME) GetSecondsSinceEpoch() uint32
func (PlcDATE_AND_TIME) GetString ¶
func (m PlcDATE_AND_TIME) GetString() string
func (PlcDATE_AND_TIME) GetYear ¶
func (m PlcDATE_AND_TIME) GetYear() uint16
func (PlcDATE_AND_TIME) IsDateTime ¶
func (m PlcDATE_AND_TIME) IsDateTime() bool
func (PlcDATE_AND_TIME) IsRaw ¶
func (m PlcDATE_AND_TIME) IsRaw() bool
func (PlcDATE_AND_TIME) Serialize ¶
func (m PlcDATE_AND_TIME) Serialize() ([]byte, error)
func (PlcDATE_AND_TIME) SerializeWithWriteBuffer ¶
func (m PlcDATE_AND_TIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcDATE_AND_TIME) String ¶
func (m PlcDATE_AND_TIME) String() string
type PlcDINT ¶
type PlcDINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcDINT ¶
func (PlcDINT) GetFloat32 ¶
func (PlcDINT) GetFloat64 ¶
func (PlcDINT) GetPlcValueType ¶
func (m PlcDINT) GetPlcValueType() apiValues.PlcValueType
func (PlcDINT) SerializeWithWriteBuffer ¶
type PlcDWORD ¶
type PlcDWORD struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcDWORD ¶
func (PlcDWORD) GetBoolArray ¶
func (PlcDWORD) GetBoolLength ¶
func (PlcDWORD) GetFloat32 ¶
func (PlcDWORD) GetFloat64 ¶
func (PlcDWORD) GetPlcValueType ¶
func (m PlcDWORD) GetPlcValueType() apiValues.PlcValueType
func (PlcDWORD) SerializeWithWriteBuffer ¶
type PlcINT ¶
type PlcINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func (PlcINT) GetFloat32 ¶
func (PlcINT) GetFloat64 ¶
func (PlcINT) GetPlcValueType ¶
func (m PlcINT) GetPlcValueType() apiValues.PlcValueType
func (PlcINT) SerializeWithWriteBuffer ¶
type PlcLDATE ¶
type PlcLDATE struct { PlcValueAdapter // contains filtered or unexported fields }
func NewPlcLDATE ¶
func (PlcLDATE) GetNanosecondsSinceEpoch ¶
func (PlcLDATE) GetPlcValueType ¶
func (m PlcLDATE) GetPlcValueType() apiValues.PlcValueType
func (PlcLDATE) SerializeWithWriteBuffer ¶
type PlcLDATE_AND_TIME ¶
type PlcLDATE_AND_TIME struct { PlcValueAdapter // contains filtered or unexported fields }
func NewPlcLDATE_AND_TIME ¶
func NewPlcLDATE_AND_TIME(value any) PlcLDATE_AND_TIME
func NewPlcLDATE_AND_TIMEFromNanosecondsSinceEpoch ¶
func NewPlcLDATE_AND_TIMEFromNanosecondsSinceEpoch(nanosecondsSinceEpoch uint64) PlcLDATE_AND_TIME
func (PlcLDATE_AND_TIME) GetDate ¶
func (m PlcLDATE_AND_TIME) GetDate() time.Time
func (PlcLDATE_AND_TIME) GetNanosecondsSinceEpoch ¶
func (m PlcLDATE_AND_TIME) GetNanosecondsSinceEpoch() uint64
func (PlcLDATE_AND_TIME) GetPlcValueType ¶
func (m PlcLDATE_AND_TIME) GetPlcValueType() apiValues.PlcValueType
func (PlcLDATE_AND_TIME) GetRaw ¶
func (m PlcLDATE_AND_TIME) GetRaw() []byte
func (PlcLDATE_AND_TIME) GetString ¶
func (m PlcLDATE_AND_TIME) GetString() string
func (PlcLDATE_AND_TIME) IsDate ¶
func (m PlcLDATE_AND_TIME) IsDate() bool
func (PlcLDATE_AND_TIME) IsRaw ¶
func (m PlcLDATE_AND_TIME) IsRaw() bool
func (PlcLDATE_AND_TIME) Serialize ¶
func (m PlcLDATE_AND_TIME) Serialize() ([]byte, error)
func (PlcLDATE_AND_TIME) SerializeWithWriteBuffer ¶
func (m PlcLDATE_AND_TIME) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcLDATE_AND_TIME) String ¶
func (m PlcLDATE_AND_TIME) String() string
type PlcLINT ¶
type PlcLINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcLINT ¶
func (PlcLINT) GetFloat32 ¶
func (PlcLINT) GetFloat64 ¶
func (PlcLINT) GetPlcValueType ¶
func (m PlcLINT) GetPlcValueType() apiValues.PlcValueType
func (PlcLINT) SerializeWithWriteBuffer ¶
type PlcLREAL ¶
type PlcLREAL struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcLREAL ¶
func (PlcLREAL) GetFloat32 ¶
func (PlcLREAL) GetFloat64 ¶
func (PlcLREAL) GetPlcValueType ¶
func (m PlcLREAL) GetPlcValueType() apiValues.PlcValueType
func (PlcLREAL) SerializeWithWriteBuffer ¶
type PlcLTIME ¶
type PlcLTIME struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcLTIME ¶
func (PlcLTIME) GetDuration ¶
func (PlcLTIME) GetNanoseconds ¶
func (PlcLTIME) GetPlcValueType ¶
func (m PlcLTIME) GetPlcValueType() apiValues.PlcValueType
func (PlcLTIME) IsDuration ¶
func (PlcLTIME) SerializeWithWriteBuffer ¶
type PlcLTIME_OF_DAY ¶
type PlcLTIME_OF_DAY struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcLTIME_OF_DAY ¶
func NewPlcLTIME_OF_DAY(value any) PlcLTIME_OF_DAY
func NewPlcLTIME_OF_DAYFromNanosecondsSinceMidnight ¶
func NewPlcLTIME_OF_DAYFromNanosecondsSinceMidnight(nanosecondsSinceMidnight uint64) PlcLTIME_OF_DAY
func (PlcLTIME_OF_DAY) GetNanosecondsSinceMidnight ¶
func (m PlcLTIME_OF_DAY) GetNanosecondsSinceMidnight() uint64
func (PlcLTIME_OF_DAY) GetPlcValueType ¶
func (m PlcLTIME_OF_DAY) GetPlcValueType() apiValues.PlcValueType
func (PlcLTIME_OF_DAY) GetRaw ¶
func (m PlcLTIME_OF_DAY) GetRaw() []byte
func (PlcLTIME_OF_DAY) GetString ¶
func (m PlcLTIME_OF_DAY) GetString() string
func (PlcLTIME_OF_DAY) GetTime ¶
func (m PlcLTIME_OF_DAY) GetTime() time.Time
func (PlcLTIME_OF_DAY) IsRaw ¶
func (m PlcLTIME_OF_DAY) IsRaw() bool
func (PlcLTIME_OF_DAY) IsTime ¶
func (m PlcLTIME_OF_DAY) IsTime() bool
func (PlcLTIME_OF_DAY) Serialize ¶
func (m PlcLTIME_OF_DAY) Serialize() ([]byte, error)
func (PlcLTIME_OF_DAY) SerializeWithWriteBuffer ¶
func (m PlcLTIME_OF_DAY) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcLTIME_OF_DAY) String ¶
func (m PlcLTIME_OF_DAY) String() string
type PlcLWORD ¶
type PlcLWORD struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcLWORD ¶
func (PlcLWORD) GetBoolArray ¶
func (PlcLWORD) GetBoolLength ¶
func (PlcLWORD) GetFloat32 ¶
func (PlcLWORD) GetFloat64 ¶
func (PlcLWORD) GetPlcValueType ¶
func (m PlcLWORD) GetPlcValueType() apiValues.PlcValueType
func (PlcLWORD) SerializeWithWriteBuffer ¶
type PlcList ¶
type PlcList struct { Values []apiValues.PlcValue PlcValueAdapter }
func NewPlcList ¶
func (PlcList) GetBoolArray ¶
func (PlcList) GetBoolLength ¶
func (PlcList) GetDateTime ¶
func (PlcList) GetFloat32 ¶
func (PlcList) GetFloat64 ¶
func (PlcList) GetPlcValueType ¶
func (m PlcList) GetPlcValueType() apiValues.PlcValueType
func (PlcList) IsDateTime ¶
func (PlcList) IsNullable ¶
func (PlcList) SerializeWithWriteBuffer ¶
type PlcNull ¶
type PlcNull struct {
PlcValueAdapter
}
func NewPlcNULL ¶
func NewPlcNULL() PlcNull
func (PlcNull) GetPlcValueType ¶
func (m PlcNull) GetPlcValueType() apiValues.PlcValueType
func (PlcNull) SerializeWithWriteBuffer ¶
type PlcREAL ¶
type PlcREAL struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcREAL ¶
func (PlcREAL) GetFloat32 ¶
func (PlcREAL) GetFloat64 ¶
func (PlcREAL) GetPlcValueType ¶
func (m PlcREAL) GetPlcValueType() apiValues.PlcValueType
func (PlcREAL) SerializeWithWriteBuffer ¶
type PlcRawByteArray ¶
type PlcRawByteArray struct { Values []byte PlcValueAdapter }
func NewPlcRawByteArray ¶
func NewPlcRawByteArray(values []byte) PlcRawByteArray
func (PlcRawByteArray) GetLength ¶
func (m PlcRawByteArray) GetLength() uint32
func (PlcRawByteArray) GetList ¶
func (m PlcRawByteArray) GetList() []apiValues.PlcValue
func (PlcRawByteArray) GetPlcValueType ¶
func (m PlcRawByteArray) GetPlcValueType() apiValues.PlcValueType
func (PlcRawByteArray) GetRaw ¶
func (m PlcRawByteArray) GetRaw() []byte
func (PlcRawByteArray) IsList ¶
func (m PlcRawByteArray) IsList() bool
func (PlcRawByteArray) IsRaw ¶
func (m PlcRawByteArray) IsRaw() bool
func (PlcRawByteArray) Serialize ¶
func (m PlcRawByteArray) Serialize() ([]byte, error)
func (PlcRawByteArray) SerializeWithWriteBuffer ¶
func (m PlcRawByteArray) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
type PlcSINT ¶
type PlcSINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcSINT ¶
func (PlcSINT) GetFloat32 ¶
func (PlcSINT) GetFloat64 ¶
func (PlcSINT) GetPlcValueType ¶
func (m PlcSINT) GetPlcValueType() apiValues.PlcValueType
func (PlcSINT) SerializeWithWriteBuffer ¶
type PlcSTRING ¶
type PlcSTRING struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcSTRING ¶
func (PlcSTRING) GetPlcValueType ¶
func (m PlcSTRING) GetPlcValueType() apiValues.PlcValueType
func (PlcSTRING) SerializeWithWriteBuffer ¶
type PlcSimpleNumericValueAdapter ¶
type PlcSimpleNumericValueAdapter struct {
PlcSimpleValueAdapter
}
func (PlcSimpleNumericValueAdapter) IsBool ¶
func (m PlcSimpleNumericValueAdapter) IsBool() bool
func (PlcSimpleNumericValueAdapter) IsByte ¶
func (m PlcSimpleNumericValueAdapter) IsByte() bool
func (PlcSimpleNumericValueAdapter) IsFloat32 ¶
func (m PlcSimpleNumericValueAdapter) IsFloat32() bool
func (PlcSimpleNumericValueAdapter) IsFloat64 ¶
func (m PlcSimpleNumericValueAdapter) IsFloat64() bool
func (PlcSimpleNumericValueAdapter) IsInt16 ¶
func (m PlcSimpleNumericValueAdapter) IsInt16() bool
func (PlcSimpleNumericValueAdapter) IsInt32 ¶
func (m PlcSimpleNumericValueAdapter) IsInt32() bool
func (PlcSimpleNumericValueAdapter) IsInt64 ¶
func (m PlcSimpleNumericValueAdapter) IsInt64() bool
func (PlcSimpleNumericValueAdapter) IsInt8 ¶
func (m PlcSimpleNumericValueAdapter) IsInt8() bool
func (PlcSimpleNumericValueAdapter) IsString ¶
func (m PlcSimpleNumericValueAdapter) IsString() bool
func (PlcSimpleNumericValueAdapter) IsUint16 ¶
func (m PlcSimpleNumericValueAdapter) IsUint16() bool
func (PlcSimpleNumericValueAdapter) IsUint32 ¶
func (m PlcSimpleNumericValueAdapter) IsUint32() bool
func (PlcSimpleNumericValueAdapter) IsUint64 ¶
func (m PlcSimpleNumericValueAdapter) IsUint64() bool
func (PlcSimpleNumericValueAdapter) IsUint8 ¶
func (m PlcSimpleNumericValueAdapter) IsUint8() bool
func (PlcSimpleNumericValueAdapter) String ¶
func (m PlcSimpleNumericValueAdapter) String() string
type PlcSimpleValueAdapter ¶
type PlcSimpleValueAdapter struct {
PlcValueAdapter
}
func (PlcSimpleValueAdapter) GetLength ¶
func (m PlcSimpleValueAdapter) GetLength() uint32
func (PlcSimpleValueAdapter) IsSimple ¶
func (m PlcSimpleValueAdapter) IsSimple() bool
func (PlcSimpleValueAdapter) String ¶
func (m PlcSimpleValueAdapter) String() string
type PlcStruct ¶
type PlcStruct struct { PlcValueAdapter // contains filtered or unexported fields }
func (PlcStruct) GetPlcValueType ¶
func (m PlcStruct) GetPlcValueType() apiValues.PlcValueType
func (PlcStruct) SerializeWithWriteBuffer ¶
type PlcTIME ¶
type PlcTIME struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcTIME ¶
func (PlcTIME) GetDuration ¶
func (PlcTIME) GetMilliseconds ¶
func (PlcTIME) GetPlcValueType ¶
func (m PlcTIME) GetPlcValueType() apiValues.PlcValueType
func (PlcTIME) IsDuration ¶
func (PlcTIME) SerializeWithWriteBuffer ¶
type PlcTIME_OF_DAY ¶
type PlcTIME_OF_DAY struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcTIME_OF_DAY ¶
func NewPlcTIME_OF_DAY(value any) PlcTIME_OF_DAY
func NewPlcTIME_OF_DAYFromMillisecondsSinceMidnight ¶
func NewPlcTIME_OF_DAYFromMillisecondsSinceMidnight(millisecondsSinceMidnight uint32) PlcTIME_OF_DAY
func (PlcTIME_OF_DAY) GetMillisecondsSinceMidnight ¶
func (m PlcTIME_OF_DAY) GetMillisecondsSinceMidnight() uint32
func (PlcTIME_OF_DAY) GetPlcValueType ¶
func (m PlcTIME_OF_DAY) GetPlcValueType() apiValues.PlcValueType
func (PlcTIME_OF_DAY) GetRaw ¶
func (m PlcTIME_OF_DAY) GetRaw() []byte
func (PlcTIME_OF_DAY) GetString ¶
func (m PlcTIME_OF_DAY) GetString() string
func (PlcTIME_OF_DAY) GetTime ¶
func (m PlcTIME_OF_DAY) GetTime() time.Time
func (PlcTIME_OF_DAY) IsRaw ¶
func (m PlcTIME_OF_DAY) IsRaw() bool
func (PlcTIME_OF_DAY) IsTime ¶
func (m PlcTIME_OF_DAY) IsTime() bool
func (PlcTIME_OF_DAY) Serialize ¶
func (m PlcTIME_OF_DAY) Serialize() ([]byte, error)
func (PlcTIME_OF_DAY) SerializeWithWriteBuffer ¶
func (m PlcTIME_OF_DAY) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcTIME_OF_DAY) String ¶
func (m PlcTIME_OF_DAY) String() string
type PlcUDINT ¶
type PlcUDINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcUDINT ¶
func (PlcUDINT) GetFloat32 ¶
func (PlcUDINT) GetFloat64 ¶
func (PlcUDINT) GetPlcValueType ¶
func (m PlcUDINT) GetPlcValueType() apiValues.PlcValueType
func (PlcUDINT) SerializeWithWriteBuffer ¶
type PlcUINT ¶
type PlcUINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcUINT ¶
func (PlcUINT) GetFloat32 ¶
func (PlcUINT) GetFloat64 ¶
func (PlcUINT) GetPlcValueType ¶
func (m PlcUINT) GetPlcValueType() apiValues.PlcValueType
func (PlcUINT) SerializeWithWriteBuffer ¶
type PlcULINT ¶
type PlcULINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcULINT ¶
func (PlcULINT) GetFloat32 ¶
func (PlcULINT) GetFloat64 ¶
func (PlcULINT) GetPlcValueType ¶
func (m PlcULINT) GetPlcValueType() apiValues.PlcValueType
func (PlcULINT) SerializeWithWriteBuffer ¶
type PlcUSINT ¶
type PlcUSINT struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcUSINT ¶
func (PlcUSINT) GetFloat32 ¶
func (PlcUSINT) GetFloat64 ¶
func (PlcUSINT) GetPlcValueType ¶
func (m PlcUSINT) GetPlcValueType() apiValues.PlcValueType
func (PlcUSINT) SerializeWithWriteBuffer ¶
type PlcValueAdapter ¶
type PlcValueAdapter struct {
utils.Serializable
}
PlcValueAdapter Dummy structure
func (PlcValueAdapter) GetBool ¶
func (m PlcValueAdapter) GetBool() bool
func (PlcValueAdapter) GetBoolArray ¶
func (m PlcValueAdapter) GetBoolArray() []bool
func (PlcValueAdapter) GetBoolAt ¶
func (m PlcValueAdapter) GetBoolAt(index uint32) bool
func (PlcValueAdapter) GetBoolLength ¶
func (m PlcValueAdapter) GetBoolLength() uint32
func (PlcValueAdapter) GetByte ¶
func (m PlcValueAdapter) GetByte() byte
func (PlcValueAdapter) GetDate ¶
func (m PlcValueAdapter) GetDate() time.Time
func (PlcValueAdapter) GetDateTime ¶
func (m PlcValueAdapter) GetDateTime() time.Time
func (PlcValueAdapter) GetDuration ¶
func (m PlcValueAdapter) GetDuration() time.Duration
func (PlcValueAdapter) GetFloat32 ¶
func (m PlcValueAdapter) GetFloat32() float32
func (PlcValueAdapter) GetFloat64 ¶
func (m PlcValueAdapter) GetFloat64() float64
func (PlcValueAdapter) GetInt16 ¶
func (m PlcValueAdapter) GetInt16() int16
func (PlcValueAdapter) GetInt32 ¶
func (m PlcValueAdapter) GetInt32() int32
func (PlcValueAdapter) GetInt64 ¶
func (m PlcValueAdapter) GetInt64() int64
func (PlcValueAdapter) GetInt8 ¶
func (m PlcValueAdapter) GetInt8() int8
func (PlcValueAdapter) GetKeys ¶
func (m PlcValueAdapter) GetKeys() []string
func (PlcValueAdapter) GetLength ¶
func (m PlcValueAdapter) GetLength() uint32
func (PlcValueAdapter) GetList ¶
func (m PlcValueAdapter) GetList() []apiValues.PlcValue
func (PlcValueAdapter) GetPlcValueType ¶
func (m PlcValueAdapter) GetPlcValueType() apiValues.PlcValueType
func (PlcValueAdapter) GetRaw ¶
func (m PlcValueAdapter) GetRaw() []byte
func (PlcValueAdapter) GetString ¶
func (m PlcValueAdapter) GetString() string
func (PlcValueAdapter) GetStruct ¶
func (m PlcValueAdapter) GetStruct() map[string]apiValues.PlcValue
func (PlcValueAdapter) GetTime ¶
func (m PlcValueAdapter) GetTime() time.Time
func (PlcValueAdapter) GetUint16 ¶
func (m PlcValueAdapter) GetUint16() uint16
func (PlcValueAdapter) GetUint32 ¶
func (m PlcValueAdapter) GetUint32() uint32
func (PlcValueAdapter) GetUint64 ¶
func (m PlcValueAdapter) GetUint64() uint64
func (PlcValueAdapter) GetUint8 ¶
func (m PlcValueAdapter) GetUint8() uint8
func (PlcValueAdapter) HasKey ¶
func (m PlcValueAdapter) HasKey(_ string) bool
func (PlcValueAdapter) IsBool ¶
func (m PlcValueAdapter) IsBool() bool
func (PlcValueAdapter) IsByte ¶
func (m PlcValueAdapter) IsByte() bool
func (PlcValueAdapter) IsDate ¶
func (m PlcValueAdapter) IsDate() bool
func (PlcValueAdapter) IsDateTime ¶
func (m PlcValueAdapter) IsDateTime() bool
func (PlcValueAdapter) IsDuration ¶
func (m PlcValueAdapter) IsDuration() bool
func (PlcValueAdapter) IsFloat32 ¶
func (m PlcValueAdapter) IsFloat32() bool
func (PlcValueAdapter) IsFloat64 ¶
func (m PlcValueAdapter) IsFloat64() bool
func (PlcValueAdapter) IsInt16 ¶
func (m PlcValueAdapter) IsInt16() bool
func (PlcValueAdapter) IsInt32 ¶
func (m PlcValueAdapter) IsInt32() bool
func (PlcValueAdapter) IsInt64 ¶
func (m PlcValueAdapter) IsInt64() bool
func (PlcValueAdapter) IsInt8 ¶
func (m PlcValueAdapter) IsInt8() bool
func (PlcValueAdapter) IsList ¶
func (m PlcValueAdapter) IsList() bool
func (PlcValueAdapter) IsNull ¶
func (m PlcValueAdapter) IsNull() bool
func (PlcValueAdapter) IsNullable ¶
func (m PlcValueAdapter) IsNullable() bool
func (PlcValueAdapter) IsRaw ¶
func (m PlcValueAdapter) IsRaw() bool
func (PlcValueAdapter) IsSimple ¶
func (m PlcValueAdapter) IsSimple() bool
func (PlcValueAdapter) IsString ¶
func (m PlcValueAdapter) IsString() bool
func (PlcValueAdapter) IsStruct ¶
func (m PlcValueAdapter) IsStruct() bool
func (PlcValueAdapter) IsTime ¶
func (m PlcValueAdapter) IsTime() bool
func (PlcValueAdapter) IsUint16 ¶
func (m PlcValueAdapter) IsUint16() bool
func (PlcValueAdapter) IsUint32 ¶
func (m PlcValueAdapter) IsUint32() bool
func (PlcValueAdapter) IsUint64 ¶
func (m PlcValueAdapter) IsUint64() bool
func (PlcValueAdapter) IsUint8 ¶
func (m PlcValueAdapter) IsUint8() bool
func (PlcValueAdapter) String ¶
func (m PlcValueAdapter) String() string
type PlcWCHAR ¶
type PlcWCHAR struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcWCHAR ¶
func (PlcWCHAR) GetPlcValueType ¶
func (m PlcWCHAR) GetPlcValueType() apiValues.PlcValueType
func (PlcWCHAR) SerializeWithWriteBuffer ¶
type PlcWORD ¶
type PlcWORD struct { PlcSimpleNumericValueAdapter // contains filtered or unexported fields }
func NewPlcWORD ¶
func (PlcWORD) GetBoolArray ¶
func (PlcWORD) GetBoolLength ¶
func (PlcWORD) GetFloat32 ¶
func (PlcWORD) GetFloat64 ¶
func (PlcWORD) GetPlcValueType ¶
func (m PlcWORD) GetPlcValueType() apiValues.PlcValueType
func (PlcWORD) SerializeWithWriteBuffer ¶
type PlcWSTRING ¶
type PlcWSTRING struct { PlcSimpleValueAdapter // contains filtered or unexported fields }
func NewPlcWSTRING ¶
func NewPlcWSTRING(value string) PlcWSTRING
func (PlcWSTRING) GetPlcValueType ¶
func (m PlcWSTRING) GetPlcValueType() apiValues.PlcValueType
func (PlcWSTRING) GetRaw ¶
func (m PlcWSTRING) GetRaw() []byte
func (PlcWSTRING) GetString ¶
func (m PlcWSTRING) GetString() string
func (PlcWSTRING) IsRaw ¶
func (m PlcWSTRING) IsRaw() bool
func (PlcWSTRING) IsString ¶
func (m PlcWSTRING) IsString() bool
func (PlcWSTRING) Serialize ¶
func (m PlcWSTRING) Serialize() ([]byte, error)
func (PlcWSTRING) SerializeWithWriteBuffer ¶
func (m PlcWSTRING) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (PlcWSTRING) String ¶
func (m PlcWSTRING) String() string
type WriteBufferPlcValueBased ¶
type WriteBufferPlcValueBased interface { utils.WriteBuffer GetPlcValue() apiValues.PlcValue }
func NewWriteBufferPlcValueBased ¶
func NewWriteBufferPlcValueBased() WriteBufferPlcValueBased
Source Files
¶
- PlcBOOL.go
- PlcBYTE.go
- PlcCHAR.go
- PlcDATE.go
- PlcDATE_AND_LTIME.go
- PlcDATE_AND_TIME.go
- PlcDINT.go
- PlcDWORD.go
- PlcINT.go
- PlcLDATE.go
- PlcLDATE_AND_TIME.go
- PlcLINT.go
- PlcLREAL.go
- PlcLTIME.go
- PlcLTIME_OF_DAY.go
- PlcLWORD.go
- PlcList.go
- PlcNull.go
- PlcREAL.go
- PlcRawByteArray.go
- PlcSINT.go
- PlcSTRING.go
- PlcStruct.go
- PlcTIME.go
- PlcTIME_OF_DAY.go
- PlcUDINT.go
- PlcUINT.go
- PlcULINT.go
- PlcUSINT.go
- PlcValueAdapter.go
- PlcValueHandler.go
- PlcWCHAR.go
- PlcWORD.go
- PlcWSTRING.go
- WriteBufferPlcValueBased.go
- mock_requirements.go
Click to show internal directories.
Click to hide internal directories.