Wiki source code of Module "Photomonitoring"

Version 5.1 by Андрей Калиновский on 2023/04/25 09:45

Show last authors
1 **Initial setup.**
2
3 The initial setting in the software is not required, to start working, the user must have the right to take a photo, as well as add an object to the system, the terminal of which transmits a sign of photo generation. We invite you to watch the overview video:
4
5
6
7 {{video url="https://www.youtube.com/watch?v=AgHUuyu21Ls" width="50%"/}}
8
9 **Photo work.**
10
11 Working with photos can be divided into 5 use cases:
12
13 * (((
14 Building a report on a photo from an object.
15 )))
16 * (((
17 Building reports "Track", "Messages", "Navigation".
18 )))
19 * (((
20 Building a report based on a photo from a geo object or field.
21 )))
22 * (((
23 Building a report on the photo on the map.
24 )))
25 * (((
26 Create a report in the designer using the Photo template.
27 )))
28
29 **Building a photo report from an object**
30
31 If the user has rights to the photo, the user has the opportunity to build a report on the photos generated by the terminal of the object. To build a report, first of all, you need to enable the display of the “Photo” column in the object tree using the “Three Points” tool.
32
33 Column display is disabled by default:
34
35 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA1.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA1 .png"]]
36
37 After this action, the column will appear in the object tree.
38
39 If the terminal of an object generates a photo, then a photo icon will appear in the line of this object, if the icon is not displayed, then the terminal does not generate or has not yet generated a photo.
40
41 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA2.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA2 .png"]]
42
43 By clicking on the icon, the activity calendar opens, the days in the calendar are colored depending on the number of generated photos:
44
45 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA3.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA3 .png"]]
46
47 After selecting the period of interest, you must click on the build button, a list of photos generated by the object for the selected period will be displayed in the window that opens:
48
49 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA4.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA4 .png"]]
50
51 Photos in the list are grouped by day, from newest to oldest.
52
53 **The list displays:**
54
55 * (((
56 Photo name
57 )))
58
59 The name is generated automatically, it can be edited manually by selecting a photo in the list and clicking on the edit icon in the upper left corner of the window.
60
61 * (((
62 photo status
63 )))
64
65 All possible photo statuses are listed below:
66
67 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA5.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA5 .png"]]
68
69 “Photo is on the device” - the status means that the object's terminal has generated a photo, but the photo has not been received by the system. For further work, the photo must be requested from the device.
70
71 “Photo requested from device” - the status means that the object's terminal generated a photo and it was requested by the system user. To check if a photo has arrived from the device, after requesting a photo, you need to refresh the window.
72
73 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA6.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA6 .png"]]
74
75 “Photo available” - the status means that the object's terminal has generated a photo and it has been received by the system. Photos can be viewed and downloaded.
76
77 “No response from the device” - error when requesting a photo from the terminal, the device did not send a response. For further work with the photo, you must request it again.
78
79 “Photo deleted from device” - the photo was generated by the terminal, but has been deleted.
80
81 There are no actions available for this status.
82
83 * (((
84 photo preview
85 )))
86
87 Preview is displayed only for received photos with the status “Photo available”.
88
89 * (((
90 Date and time of generation
91 )))
92 * (((
93 The channel (input) from which the photo was received.
94 )))
95 * (((
96 Photo info icon, when you click on the icon, you can see more detailed information about the photo: Photo name, object name, channel, date and time, comment, address, status.
97 )))
98 * (((
99 Additional tools are also displayed for individual photos:
100 )))
101
102 The “Download” icon for available photos and the “Request from terminal” icon for photos with the status “On device” and “No response from device”.
103
104 To the right of the list is the photo viewing area.
105
106 In order to view a photo, it is necessary to mark its checkbox in the list.
107
108 The selected photo will be added to the viewing area.
109
110 Photos can be displayed in several modes:
111
112 * (((
113 1x1 - one photo is displayed, if several are selected, you can scroll through them using the arrow icons or using the tool under the photo.
114 )))
115 * (((
116 Photo tile mode 2x2, 3x3, 4x4 - a grid of several photos is displayed: 4, 9, 16 photos.
117 )))
118
119 For already available photos, a photo is displayed in full size or a preview, depending on the selected display mode.
120
121 By default, the photo display mode is 1x1.
122
123 Photos can also be quickly opened to the entire viewing area by double-clicking on an entry in the list, and just as quickly closed by double-clicking on the viewing area.
124
125 You can change the display mode by clicking on the icon located under the photo viewing area.
126
127 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA7.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA7 .png"]]
128
129 To scroll through the selected photos, you need to use the tool in the lower right part of the window, under the photo viewing area.
130
131 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA8.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA8 .png"]]
132
133 When viewing photos in 1x1 mode, there are also options:
134
135 * (((
136 Return the photo to its original scale.
137 )))
138 * (((
139 The photo returns to its original scale if it was zoomed in or out.
140 )))
141 * (((
142 Open original in new tab.
143 )))
144 * (((
145 The photo opens in a new tab at its original resolution.
146 )))
147 * (((
148 Copy link.
149 )))
150
151 The link to the photo in original resolution is copied to the clipboard. The tools are available on the right side of the photo viewing area.
152
153 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA9.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA9 .png"]]
154
155 To change the period for working with photos, you need to call the activity calendar again or select a different request period:
156
157 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA10.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA10 .png"]]
158
159 **Building reports "Track", "Messages", "Navigation".**
160
161 You can go to the photo window from the reports:
162
163 * (((
164 Messages
165 )))
166 * (((
167 navigational
168 )))
169
170 As well as from any subreport of the “Track” report.
171
172 If you have the right to work with a photo and the condition that the terminal of the object transmits a photo, the “Photo” column will be added to the listed reports:
173
174 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA11.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA11 .png"]]
175
176 When you switch to the window for working with photos, all photos generated during the report period will be available. The photos in the list will be grouped by the events of the report from which the user has moved, while the photos inside the selected event will be automatically marked for viewing:
177
178 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA12.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA12 .png"]]
179
180 In the window for working with a photo, when switching from a report, the same tools will be available as when building from a tree of objects, except for changing the period query - for this, you need to build a report again.
181
182 **Building a report based on a photo from a geo object or field.**
183
184 To build a report on a photo from a geo object or field, the user must have the right to work with photos, as well as enable the display of a column with photos in the tree of geo objects and fields.
185
186 To build a report based on a photo, click on the photo icon next to the geoobject or field of interest.
187
188 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA13.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA13 .png"]]
189
190 In the calendar that opens, the days are shaded depending on the number of photos generated during the visit to the selected geo object or field.
191
192 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA14.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA14 .png"]]
193
194 Having built a report on photos from a geo object or field, the photo list will be grouped by visits, the photo group will also contain the name of the object.
195
196 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA15.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA15 .png"]]
197
198 Further, the functionality is completely similar to working with a photo when building from an object.
199
200 You can also go to the window for working with photos by building a report on visits to geo-objects and fields.
201
202 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA16.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA16 .png"]]
203
204 **Building a report on the photo on the map.**
205
206 To build a report on the photo on the map, click on the icon in the map area:
207
208 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA17.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA17 .png"]]
209
210 After that, photos generated for today will appear in the visible area of ​​the map, and previews of all photos will be displayed in the report area.
211
212 You can change the build period by clicking the icon in the generated reports area:
213
214 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA18.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA18 .png"]]
215
216 The working area of ​​the map will be marked with a dotted line frame. Photos will only be found in the marked area. To change the map workspace, you must migrate the map and then refresh the report:
217
218 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA19.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA19 .png"]]
219
220 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA20.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA20 .png"]]
221
222 To view the photo in full, you need to click on the icon on the map, then in the pop-up window that opens on the photo preview.
223
224 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA21.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA21 .png"]]
225
226 After this action, the photo will open on the entire area of ​​the map:
227
228 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA22.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA22 .png"]]
229
230 You can scroll through the photo, choosing the one you need, in the report area, to display it, you need to double-click on the photo preview:
231
232 [[image:https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA23.png||alt="https://docs.glonasssoft.ru/lib/exe/fetch.php?media=wiki:%D1%80%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA23 .png"]]
233
234 **Create a report in the designer using the Photo template.**
235
236 In the report designer section, you can create a custom report with a photo table template.
237
238 The following columns are available in the table:
239
240 * (((
241 Client
242 )))
243
244 The name of the client who owns the item that took the photo.
245
246 * (((
247 An object
248 )))
249
250 The name of the entity that generated the photo.
251
252 * (((
253 Status
254 )))
255
256 The current status of the photo.
257
258 * (((
259 Generation date
260 )))
261
262 Date and time the photo was generated.
263
264 * (((
265 photo name
266 )))
267
268 Name of the photo.
269
270 * (((
271 A comment
272 )))
273
274 Comment added to photo.
275
276 * (((
277 Address
278 )))
279
280 The address where the photo was generated.
281
282 * (((
283 Link
284 )))
285
286 Link to photo in original resolution.

Menu

GLONASSSoft wiki - 2023 г