Example #1
0
        public static HtsRegistry Create(string facility, ClientStage clientStage, ENCOUNTERS encounters)
        {
            var newclients = new List <NEWCLIENT> {
                NEWCLIENT.Create(clientStage, encounters)
            };

            return(new HtsRegistry(MESSAGE_HEADER.Create(facility), newclients));
        }
Example #2
0
        public static HtsRegistry Create(string facility, List <ClientStage> clients)
        {
            var newclients = new List <NEWCLIENT>();

            foreach (var client in clients)
            {
                newclients.Add(NEWCLIENT.Create(client));
            }
            return(new HtsRegistry(MESSAGE_HEADER.Create(facility), newclients));
        }
Example #3
0
 private HtsRegistry(MESSAGE_HEADER messageHeader, List <NEWCLIENT> clients)
 {
     MESSAGE_HEADER = messageHeader;
     CLIENTS        = clients;
 }