init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using DTS.Common.Interface.Communication;
|
||||
|
||||
namespace DTS.Common.Enums.Communication
|
||||
{
|
||||
public static class CommunicationConstantsAndEnums
|
||||
{
|
||||
public enum CommunicationResult
|
||||
{
|
||||
ConnectOK,
|
||||
ConnectFailed,
|
||||
ConnectTimeout,
|
||||
DisconnectOK,
|
||||
DisconnectFailed,
|
||||
DisconnectTimeout,
|
||||
SendOK,
|
||||
SendFailed,
|
||||
SendTimeout,
|
||||
ReceiveOK,
|
||||
ReceiveFailed,
|
||||
ReceiveTimeout,
|
||||
Canceled
|
||||
}
|
||||
public delegate bool CommunicationCallback(ICommunicationReport report);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface.Realtime
|
||||
{
|
||||
public interface IRealtimeChannelSelectView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface IZeroMethods
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Exceptions
|
||||
{
|
||||
public class OutOfDataException : Exception
|
||||
{
|
||||
public long Index{ get; private set; }
|
||||
public OutOfDataException(string ex, long index) : base( ex)
|
||||
{
|
||||
Index = index;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user