Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From 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
To version 5.1
edited by Bimit Administrator
on 08.02.2022, 16:18
on 08.02.2022, 16:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,6 +4,7 @@ 4 4 * getProfile 5 5 * getProjectModels 6 6 * getModelRevisions 7 +* getProjectTasks - получение списка всех задач проекта 7 7 * getElement 8 8 * getElements 9 9 * getGeometryElement ... ... @@ -18,9 +18,6 @@ 18 18 * createCondition 19 19 * getProjectCollisions 20 20 * 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 -))) 24 24 25 25 26 26 ... ... @@ -28,94 +28,83 @@ 28 28 29 29 30 30 29 +(% class="box" %) 30 +((( 31 +**getProjectTasks** - получение списка всех задач проекта 32 +))) 31 31 34 +* **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: 32 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 38 поле тип данных поля описание поля метод взяти\ данных поля 39 39 40 40 ((( 41 -(% cellspacing="0" style="border-collapse:collapse; border:none; width: 539px" %)39 +(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:271px; width:1001px" %) 42 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 43 (% style="line-height:1.2" %) 44 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:42 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid 45 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 46 (% style="line-height:1.2" %) 47 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:45 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid 48 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 49 (% style="line-height:1.2" %) 50 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:48 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор задачи 51 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 52 (% style="line-height:1.2" %) 53 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:51 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() 54 54 ))) 55 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 56 (% style="line-height:1.2" %) 57 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:55 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title 58 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 59 (% style="line-height:1.2" %) 60 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:58 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 61 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 62 (% style="line-height:1.2" %) 63 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:61 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок задачи 64 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 65 (% style="line-height:1.2" %) 66 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:64 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() 67 67 ))) 68 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 69 (% style="line-height:1.2" %) 70 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:68 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)name 71 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 72 (% style="line-height:1.2" %) 73 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:71 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 74 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 75 (% style="line-height:1.2" %) 76 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:74 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование задачи 77 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 78 (% style="line-height:1.2" %) 79 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:77 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getName() 80 80 ))) 81 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 82 (% style="line-height:1.2" %) 83 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:81 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description 84 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 85 (% style="line-height:1.2" %) 86 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:84 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 87 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 88 (% style="line-height:1.2" %) 89 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:87 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание задачи 90 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 91 (% style="line-height:1.2" %) 92 -(% style="o verflow:hidden;overflow-wrap:break-word; font-size:variant:white-space: pre-wrap;font-family:Arial;color: rgb(0, 0, 0);font-weight:nt-style:normal; text-decoration:90 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() 93 93 ))) 94 94 ))) 95 95 96 -При 94 +Пример использования 97 97 96 +{{code language="java"}} 97 +def listTasks = bim.getProjectTasks() 98 +for (Task task: listTasks ) { 99 + def taskUuid= task.getUuid() 98 98 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" %)Пример: 101 + // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” 102 +} 103 +{{/code}} 101 101 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() 104 104 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 ) { 107 107 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() 110 110 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” 113 - 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" %)….. 116 - 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" %)} 119 - 120 - 121 121