[C#]
using Leadtools.Dicom.AddIn;
using System.IO;
using System.Diagnostics;
[C#]
public class Module : ModuleInit
{
public override void Load(string ServiceDirectory, string DisplayName)
{
// Do any add-in initialization here. For instance, set up
// the logging infrastructure.
//
}
}
[C#]
using Leadtools.Dicom.AddIn;
using Leadtools.Dicom.AddIn.Interfaces;
using System.Diagnostics;
[C#]
public class ReceiveNotify : NotifyReceiveMessageBase
{
}
[C#]
public class ReceiveNotify : NotifyReceiveMessageBase
{
public override void OnReceiveAssociateAccept(DicomClient Client, Leadtools.Dicom.DicomAssociate association)
{
Debug.WriteLine("Receive Associate Accept");
}
public override void OnReceiveCEchoRequest(DicomClient Client, byte presentationID, int messageID, string affectedClass)
{
Debug.WriteLine("Receive Echo Request");
}
}
[C#]
using Leadtools.Dicom;
using Leadtools.Dicom.AddIn;
using Leadtools.Dicom.AddIn.Interfaces;
using System.Diagnostics;
[C#]
public class SendNotify : NotifySendMessageBase
{
}
[C#]
public class SendNotify : NotifySendMessageBase
{
public override void OnSendAssociateAccept(DicomClient Client, DicomAssociate associate)
{
base.OnSendAssociateAccept(Client, associate);
}
public override void OnSendCEchoRequest(DicomClient Client, byte presentationID, int messageID, string affectedClass)
{
base.OnSendCEchoRequest(Client, presentationID, messageID, affectedClass);
}
}