42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using DTS.Common.Interface.Connection;
|
|
using DTS.Common;
|
|
|
|
namespace DTS.DASLib.Service
|
|
{
|
|
/// <summary>
|
|
/// SLICE6DB3 is a limited version of SLICE6DB, it notably does not have ie1588/ptp support
|
|
/// </summary>
|
|
/// <typeparam name="T"></typeparam>
|
|
public class SLICE6DB3<T> : SLICE6DB<T>
|
|
where T : IConnection,
|
|
new()
|
|
{
|
|
|
|
|
|
#region IClockSyncActions
|
|
public override void SetClockSyncConfig(ServiceCallback callback, object userData, ClockSyncProfile profile)
|
|
{
|
|
var info = new SliceServiceAsyncInfo(callback, userData) { functionData = profile };
|
|
info.Success();
|
|
}
|
|
|
|
public override void GetClockSyncStatus(ServiceCallback callback, object userData)
|
|
{
|
|
var info = new SliceServiceAsyncInfo(callback, userData);
|
|
info.Success();
|
|
}
|
|
public override void SetPTPDomainID(ServiceCallback callback, object userData, byte domainID)
|
|
{
|
|
var info = new SliceServiceAsyncInfo(callback, userData) { functionData = domainID };
|
|
info.Success();
|
|
}
|
|
|
|
public override void GetPTPDomainID(ServiceCallback callback, object userData)
|
|
{
|
|
var info = new SliceServiceAsyncInfo(callback, userData);
|
|
info.Success();
|
|
}
|
|
#endregion
|
|
}
|
|
}
|