Results 1 to 4 of 4
Thread: AnyLogic Java HELP
- 12-23-2011, 08:26 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
AnyLogic Java HELP
Hi,
I have a student project, and I can't figure how to complete it. Here it is...
At flowchart you can see that at delay masina (machine) comes seperate entity. First is Deo1(part1) and second Deo2(part2). First and second entity is java class. My mission is to at delay masina first part have delay of 4 seconds, and second part have delay of 16 seconds. I wrote some Java code that's working but I thing wrong. CAN ANYBODY HELP ME WITH THIS???
My Java knowledge is bad as my English, but I think you can understand me. I also send you 2 pictures, and hole Java code. And thanks if anybody can help me with this...
- 12-23-2011, 10:28 PM #2
Re: AnyLogic Java HELP
Please explain why you think its wrong.I wrote some Java code that's working but I thing wrong.
Do you have any specific java problems?
Please post the code and your questions on the forum.
- 12-24-2011, 01:45 AM #3
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
Re: AnyLogic Java HELP
Well the program works, I can run it. But doesn't do what I want him to do...
On second pictures you can see that program just show me delay time but doesn't work by them. It work by triangular method. I have tried to type instead of triangular method to type what is "on enter" in "delay time" (first pictures), but then they show me an error because i change the java code at the way i can't understand. At the end I don't know where to change java code to make them work by my delay time that depends on which entity arrived...
I hope that I make it more clearly now... :)
- 12-24-2011, 01:49 AM #4
Re: AnyLogic Java HELP
I notice your code uses a 3rd party package. Is your problem related to the classes in that package?I don't know where to change java code to make them work by my delay time that depends on which entity arrived
If not could you write a small program that compiles and executes and shows your problem in Java SE?


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks