The above code defines what a Customer class does, but we need to create some actual customer objects before we run a simulation.
上述代码定义了 Customer 类的操作,但我们需要在运行模拟之前,创建一些实际的顾客对象。
Using business item instances in a simulation can be useful, particularly if you want to test your logic, or run a simulation based on real data.
在模拟中使用业务项实例非常有用,特别是希望测试逻辑或者根据实际数据运行模拟时更是如此。
If you want to run a simulation with actual production data, you can import it from XML so that you do not have to create each of the business item instances by hand.
如果希望使用实际生产数据运行模拟,则可以从XML中将其导入,这样就不必手动创建每个业务项实例。
应用推荐