Пример #1
0
        private ReceiverValueHolder PopulateReceiver()
        {
            ReceiverValueHolder receiver = new ReceiverValueHolder();

            receiver.SetDeviceName("Receiver Application Name");
            receiver.SetTelecom(new TelecommunicationAddress(Ca.Infoway.Messagebuilder.Domainvalue.Basic.URLScheme.HTTP, "192.168.2.1"
                                                             ));
            receiver.SetDeviceAgentAgentOrganizationId(new Identifier("1.1.2", "ext2"));
            receiver.SetDeviceId(new Identifier("1.1.3", "ext3"));
            return(receiver);
        }
Пример #2
0
 public virtual void SetReceiver(ReceiverValueHolder receiver)
 {
     this.receiver = receiver;
 }