| | |
| | | {
|
| | | TaskScheduling();
|
| | | TheTaskToGenerate();
|
| | | TaskJump(_id);
|
| | | TaskJump();
|
| | | }
|
| | |
|
| | | private void SetLength()
|
| | |
| | | return mapConfig != null && mapConfig.MapFBType != 0;
|
| | | }
|
| | |
|
| | | private void TaskJump(int TaskID=0)
|
| | | private void TaskJump()
|
| | | {
|
| | | int type = 0;
|
| | | if (TaskID == 0)
|
| | | if (_list.Contains(taskmodel.TaskupToDate))
|
| | | {
|
| | | if (_list.Contains(taskmodel.TaskupToDate))
|
| | | {
|
| | | type = _list.IndexOf(taskmodel.TaskupToDate);
|
| | | } |
| | | }
|
| | | else
|
| | | {
|
| | | if (_list.Contains(TaskID))
|
| | | {
|
| | | type = _list.IndexOf(TaskID);
|
| | | } |
| | | type = _list.IndexOf(taskmodel.TaskupToDate);
|
| | | }
|
| | | if (_list.Count <= 2 || type <= 0)
|
| | | {
|