using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hylasoft.Opc.Common
{
///
/// Base class representing a monitor event on the OPC server
///
///
public class ReadEvent
{
///
/// Gets the value that was read from the server
///
public T Value { get; set; }
///
/// Gets the quality of the signal from the server
///
[DefaultValue(Common.Quality.Unknown)]
public Quality Quality { get; set; }
///
/// Gets the source timestamp on when the event ocurred
///
public DateTime SourceTimestamp { get; set; }
///
/// Gets the server timestamp on when the event ocurred
///
public DateTime ServerTimestamp { get; set; }
}
}