计算资源池的每日加班和每天的平均加班 - 任何logic
我正在尝试计算每个资源池的加班时间,我到达的是耗时,几乎是手动计算,请寻找正确的方法。
我正在做的是如下,例如,我有药剂师的资源池(正常的时间,随着时间的流逝,我将它们划分,以使我更容易获得每次轮班的统计信息,以便以后进行优化):
我在药剂师的Onexist Realse中添加了以下traceln:
traceln(date());
traceln(agent.OrderID);
因此,它返回了所有通过的代理的日期和时间。然后,我运行模型并从控制台中复制Traceln输出,并在Excel中处理它们:
the overtime hours of the day = last recorded time of a certain date - the start of overtime shift
我每天重复上述时间,这需要太多时间,尤其是因为还有其他资源也需要它们的加班时间。
资源池的日常加班(以及日常的加班)是否有任何简化,快速的方法?
谢谢。
I'm trying to calculate the overtime of each resourcePool, what I reached is time-consuming and almost a manual calculation, looking for the correct way to do that, please.
What I'm doing is as follows, for example, I have the pharmacists' resource pool (regular hours, and over time pool, I divide them to be easier for me to get statistics of each shift and for optimization later on):
I added the following traceln in onExist realse of the pharmacists:
traceln(date());
traceln(agent.OrderID);
So it returns the date and time of all passed agents. Then I run the model and copy the traceln outputs from the console and process them in Excel:
the overtime hours of the day = last recorded time of a certain date - the start of overtime shift
I repeat the above for each day which takes too much time, especially since there are other resources that also I need their overtime.
Is there any simplified and quick method to get the daily overtime (and the daily mean overtime) of a resourcePool?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论