Пример #1
0
        private SenderValueHolder PopulateSender()
        {
            SenderValueHolder sender = new SenderValueHolder();

            sender.SetTelecom(new TelecommunicationAddress(Ca.Infoway.Messagebuilder.Domainvalue.Basic.URLScheme.HTTP, "192.168.2.2")
                              );
            sender.SetDeviceId(new Identifier("1.1.4", "ext4"));
            sender.SetDeviceManufacturerModelName("1.0");
            sender.SetDeviceSoftwareName("MBT Pharmacy");
            sender.SetDeviceDesc("Configuration information");
            sender.SetDeviceName("Sending Application Name");
            sender.SetDeviceExistenceTime(IntervalFactory.CreateLow <PlatformDate>(new PlatformDate()));
            sender.SetDeviceAgentAgentOrganizationId(new Identifier("1.1.5", "ext5"));
            return(sender);
        }
Пример #2
0
 public virtual void SetSender(SenderValueHolder sender)
 {
     this.sender = sender;
 }