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

검색 결과:

    PollingInterface<TPoint> 클래스

    주기적으로 값 읽기 요청을 수행하는 인터페이스를 정의합니다.

    상속
    object
    Interface
    Interface<TPoint>
    PollingInterface<TPoint>
    CnetInterface
    FEnetInterface
    ModbusMasterInterface
    구현
    INotifyPropertyChanged
    IDisposable
    ICollection<TPoint>
    IEnumerable<TPoint>
    IEnumerable
    상속된 멤버
    Interface<TPoint>.OnAdded(TPoint)
    Interface<TPoint>.OnRemoved(TPoint)
    Interface<TPoint>.AddRange(IEnumerable<TPoint>)
    Interface<TPoint>.Add(TPoint)
    Interface<TPoint>.Remove(TPoint)
    Interface<TPoint>.Clear()
    Interface<TPoint>.Count
    Interface<TPoint>.IsReadOnly
    Interface<TPoint>.Contains(TPoint)
    Interface<TPoint>.CopyTo(TPoint[], int)
    Interface<TPoint>.GetEnumerator()
    Interface<TPoint>.CreateHandler<TValue>(TPoint)
    Interface<TPoint>.SetBinding<TValue>(TPoint, object, string)
    Interface<TPoint>.SetBinding<TValue>(TPoint, object, string, InterfaceMode)
    Interface<TPoint>.SetBinding<TValue>(TPoint, object, string, bool)
    Interface<TPoint>.SetBinding<TValue>(TPoint, object, string, InterfaceMode, bool)
    Interface<TPoint>.SetBindings(object)
    Interface<TPoint>.SetBindings(object, Action<TPoint>)
    Interface<TPoint>.SetBindings(object, Action<InterfaceHandler>)
    Interface.RaisePropertyChanged(string)
    Interface.PropertyChanged
    Interface.PointType
    Interface.IsRunning
    Interface.Start()
    Interface.Stop()
    Interface.Dispose(bool)
    Interface.Dispose()
    네임스페이스: VagabondK.Interface.Abstractions
    어셈블리: VagabondK.Interface.Abstractions.dll
    구문
    public abstract class PollingInterface<TPoint> : Interface<TPoint>, INotifyPropertyChanged, IDisposable, ICollection<TPoint>, IEnumerable<TPoint>, IEnumerable where TPoint : InterfacePoint
    형식 매개 변수
    이름 설명
    TPoint

    인터페이스 포인트 형식

    생성자

    이름 설명
    PollingInterface(int)

    생성자

    속성

    이름 설명
    PollingTimeSpan

    값 읽기 요청 주기. 기본값은 500 밀리초.

    메서드

    이름 설명
    OnPoll()

    값 읽기 요청 수행 메서드

    OnStart()

    통신 기반 인터페이스를 시작하기 위한 코드를 구현합니다.

    OnStop()

    통신 기반 인터페이스를 종료하기 위한 코드를 구현합니다.

    Poll()

    주기적인 실행이 아닌, 사용자가 원할 때 호출하여 값 읽어오기를 시도합니다.

    이벤트

    이름 설명
    PollingCompleted

    1주기의 값 읽기 요청과 응답이 완료되었을 때 발생하는 이벤트

    확장 메서드

    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.