Vagabond K's Libraries Vagabond K's Libraries
Vagabond K's Libraries Vagabond K's Libraries
www.vagabond-k.com

검색 결과:

    WordAttribute 클래스

    Modbus Word(Holding Register, Input Register) 형식 바인딩 멤버 정의를 위한 특성

    상속
    object
    Attribute
    InterfacePointAttribute
    ModbusPointAttribute
    WordAttribute
    HoldingRegisterAttribute
    InputRegisterAttribute
    상속된 멤버
    ModbusPointAttribute.SlaveAddress
    ModbusPointAttribute.Address
    ModbusPointAttribute.RequestAddress
    ModbusPointAttribute.RequestLength
    ModbusPointAttribute.GetSlaveAddress(InterfaceAttribute)
    InterfacePointAttribute.OnCreatePoint(MemberInfo, InterfaceAttribute)
    InterfacePointAttribute.Mode
    InterfacePointAttribute.RollbackOnSendError
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    네임스페이스: VagabondK.Interface.Modbus.Abstractions
    어셈블리: VagabondK.Interface.Modbus.dll
    구문
    public abstract class WordAttribute : ModbusPointAttribute

    생성자

    이름 설명
    WordAttribute(byte, ushort)

    생성자

    WordAttribute(byte, ushort, ushort, ushort)

    생성자

    WordAttribute(ushort)

    생성자

    WordAttribute(ushort, ushort, ushort)

    생성자

    속성

    이름 설명
    BitFlagIndex

    Bit 플래그 인덱스. Word 단위 데이터에서의 Bit 위치를 설정함. BitFlagPoint에서 사용.

    BytesLength

    Byte 단위 설정 길이. DateTime, byte[], string 형식에서 사용함.

    DateTimeFormat

    DateTime 값의 직렬화/역직렬화 형식

    DateTimeFormatString

    DateTime 값의 직렬화/역직렬화를 위한 형식 문자열

    DateTimeKind

    Modbus 데이터 상 DateTime 값의 DateTimeKind를 정의

    Encoding

    string 형식 값의 직렬화/역직렬화를 위한 인코딩

    Endian

    Modbus 엔디안

    Scale

    수치형 값의 스케일(배율)

    SkipFirstByte

    첫 번째 Byte 생략 여부

    TicksScalePowerOf10

    DateTime의 Ticks 및 Unix time의 10진수 단위 배율

    Type

    값 형식, null이면 바인딩 멤버의 형식을 따름.

    메서드

    이름 설명
    OnCreatePoint(MemberInfo, InterfaceAttribute, bool, bool?)

    인터페이스 포인트 생성시 호출되는 메서드

    확장 메서드

    ConvertExtensions.ToNullable<T>(object)
    ConvertExtensions.To<T>(object, T)
    ConvertExtensions.TryConvert<T>(object, out T)
    PropertyExtensions.Get<TProperty>(object, ref TProperty, Func<TProperty>)
    PropertyExtensions.Set<TProperty>(object, ref TProperty, TProperty)
    GenericValueConverter.To<TSource, TTarget>(TSource)
    Copyright © 2024. Vagabond K. All Rights Reserved.