Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 12.1
edited by Bimit Administrator
on 09.02.2022, 08:57
on 09.02.2022, 08:57
Change comment:
There is no comment for this version
To version 3.1
edited by Bimit Administrator
on 08.02.2022, 15:08
on 08.02.2022, 15:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,6 @@ 4 4 * getProfile 5 5 * getProjectModels 6 6 * getModelRevisions 7 -* getProjectTasks - получение списка всех задач проекта 8 8 * getElement 9 9 * getElements 10 10 * getGeometryElement ... ... @@ -19,35 +19,104 @@ 19 19 * createCondition 20 20 * getProjectCollisions 21 21 * getModelCollisions 21 +* ((( 22 +(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)getProjectTasks - получение списка всех задач проекта 23 +))) 22 22 23 -(% class="box" %) 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 +(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)getProjectTasks - получение списка всех задач проекта 34 + 35 + 36 +(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)getProjectTasks()(%%) метод который возвращеает структуруру списк задач, каждая задачяа представл\яет из себя слудубющую структуру 37 + 38 +поле тип данных поля описание поля метод взяти\ данных поля 39 + 24 24 ((( 25 -**getProjectTasks** - получение списка всех задач проекта 41 +(% cellspacing="0" style="border-collapse:collapse; border:none; width:539px" %) 42 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 43 +(% style="line-height:1.2" %) 44 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)uuid 45 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 46 +(% style="line-height:1.2" %) 47 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)uuid 48 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 49 +(% style="line-height:1.2" %) 50 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)идентификатор задачи 51 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 52 +(% style="line-height:1.2" %) 53 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getUuid() 26 26 ))) 55 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 56 +(% style="line-height:1.2" %) 57 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)title 58 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 59 +(% style="line-height:1.2" %) 60 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)string 61 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 62 +(% style="line-height:1.2" %) 63 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)заголовок задачи 64 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 65 +(% style="line-height:1.2" %) 66 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getTitle() 67 +))) 68 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 69 +(% style="line-height:1.2" %) 70 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)name 71 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 72 +(% style="line-height:1.2" %) 73 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)string 74 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 75 +(% style="line-height:1.2" %) 76 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)наименование задачи 77 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 78 +(% style="line-height:1.2" %) 79 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getName() 80 +))) 81 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 82 +(% style="line-height:1.2" %) 83 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)description 84 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 85 +(% style="line-height:1.2" %) 86 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)string 87 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 88 +(% style="line-height:1.2" %) 89 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)описание задачи 90 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 91 +(% style="line-height:1.2" %) 92 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getDescription() 93 +))) 94 +))) 27 27 28 - ***getProjectTasks()**метод, которыйвозвращает структуру списка задач, каждаязадача представляет из себя следующую структуру:96 +При мер использования 29 29 30 -|поле |тип данных поля|описание поля|метод взяти\ данных поля 31 -| | | | 32 -| | | | 33 -| | | | 34 -| | | | 35 -| | | | 36 36 99 +(% style="line-height:1.2" %) 100 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Пример: 37 37 102 +(% style="line-height:1.2" %) 103 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)def listTasks = bim.getProjectTasks() 38 38 39 -Пример использования 105 +(% style="line-height:1.2" %) 106 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)for (Task task: listTasks ) { 40 40 41 -{{code language="java"}} 42 -def listTasks = bim.getProjectTasks() 43 -for (Task task: listTasks ) { 44 - def taskUuid= task.getUuid() 108 +(% style="line-height:1.2" %) 109 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) def taskUuid= task.getUuid() 45 45 46 - // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” 47 -} 48 -{{/code}} 111 +(% style="line-height:1.2" %) 112 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” 49 49 114 +(% style="line-height:1.2" %) 115 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)….. 50 50 117 +(% style="line-height:1.2" %) 118 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)} 51 51 52 52 53 53