コード例 #1
0
 public void UpdatePropertiesFrom(TransporterContainerTemplate transporterContainerTemplate)
 {
     updatePropertiesFrom(transporterContainerTemplate);
     CompartmentName = transporterContainerTemplate.CompartmentName;
 }
コード例 #2
0
        private ITransporterExpressionContainer addTransporterExpressionForContainer(ISimulationSubject simulationSubject, IndividualTransporter transporter, IContainer container, string groupeName, TransporterContainerTemplate transportTemplate)
        {
            var containerExpression = base.AddContainerExpression(simulationSubject, transporter, container, groupeName);

            containerExpression.UpdatePropertiesFrom(transportTemplate);
            return(containerExpression);
        }