这是开发商的答复。第一种方法直接可以获得。第二种方法可以自己开发,等有空时做一个。
9 D# A1 [/ h4 u% U8 P& _
4 |( c- U Z& J7 C7 Y! hThere are a couple of ways you could do this. First, there is a calendar window that is available on the windows menu, that will display the current time during the model run if you open it. This is not exactly on the model worksheet, but it will show the time value while the model is running.
- y0 w* L: q. L1 h4 c" c0 n9 S. E" [, h; q }
Second, you could easily build a calendar block, that has a calendar dialog item in it. The code of this block would just be calendar dialog item value = currentdate, during the simulation step, and you could clone the calendar dialog item onto the worksheet. |