|
1 | 1 | <div class="arc-admin"> |
2 | 2 | <h1>ArcGIS Configuration</h1> |
3 | | - <section class="arc-processing"> |
| 3 | + <br/> |
| 4 | + |
| 5 | + <mat-card appearance="outlined"> |
| 6 | + <mat-card-header> |
| 7 | + <mat-card-title> |
| 8 | + Processing <button class="edit-button" mat-icon-button (click)="onEditProcessing()"><mat-icon>edit</mat-icon></button> |
| 9 | + </mat-card-title> |
| 10 | + <mat-card-subtitle>MAGE ArcGIS plugin processing settings.</mat-card-subtitle> |
| 11 | + </mat-card-header> |
| 12 | + <mat-card-content> |
| 13 | + <div class="processing"> |
| 14 | + <table class="processing-table"> |
| 15 | + <tr> |
| 16 | + <th>Enabled |
| 17 | + <button class="info-button" mat-icon-button |
| 18 | + (click)="showInfo('Enabled', 'Process observations and send to configured ArcGIS feature layers')"> |
| 19 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 20 | + </button> |
| 21 | + </th> |
| 22 | + <td>{{config.enabled}}</td> |
| 23 | + </tr> |
| 24 | + <tr> |
| 25 | + <th>Interval (s) |
| 26 | + <button class="info-button" mat-icon-button |
| 27 | + (click)="showInfo('Interval', 'Observation query and processing frequency time interval in seconds')"> |
| 28 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 29 | + </button> |
| 30 | + </th> |
| 31 | + <td>{{config.intervalSeconds}}</td> |
| 32 | + </tr> |
| 33 | + <tr> |
| 34 | + <th>Startup Interval (s) |
| 35 | + <button class="info-button" mat-icon-button |
| 36 | + (click)="showInfo('Startup Interval', 'Startup interval in seconds to wait for feature layer processors to be ready')"> |
| 37 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 38 | + </button> |
| 39 | + </th> |
| 40 | + <td>{{config.startupIntervalSeconds}}</td> |
| 41 | + </tr> |
| 42 | + <tr> |
| 43 | + <th>Update Interval (s) |
| 44 | + <button class="info-button" mat-icon-button |
| 45 | + (click)="showInfo('Update Interval', 'Processing wait time interval in seconds when pending observation updates exist')"> |
| 46 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 47 | + </button> |
| 48 | + </th> |
| 49 | + <td>{{config.updateIntervalSeconds}}</td> |
| 50 | + </tr> |
| 51 | + <tr> |
| 52 | + <th>Batch Size |
| 53 | + <button class="info-button" mat-icon-button |
| 54 | + (click)="showInfo('Batch Size', 'Maximum number of observations to process during a single time interval')"> |
| 55 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 56 | + </button> |
| 57 | + </th> |
| 58 | + <td>{{config.batchSize}}</td> |
| 59 | + </tr> |
| 60 | + <tr> |
| 61 | + <th>Attachment Tolerance (ms) |
| 62 | + <button class="info-button" mat-icon-button |
| 63 | + (click)="showInfo('Attachment Tolerance', 'Time tolerance in milliseconds to consider an attachment as modified compared to the observation')"> |
| 64 | + <mat-icon class="info-icon" [inline]="true">info_outline</mat-icon> |
| 65 | + </button> |
| 66 | + </th> |
| 67 | + <td>{{config.attachmentModifiedTolerance}}</td> |
| 68 | + </tr> |
| 69 | + </table> |
| 70 | + </div> |
| 71 | + </mat-card-content> |
| 72 | + <mat-card-actions> |
| 73 | + <button (click)="onEditProcessing()" mat-button>Edit</button> |
| 74 | + </mat-card-actions> |
| 75 | + </mat-card> |
| 76 | + |
| 77 | + |
| 78 | + <!-- <section class="arc-processing"> |
4 | 79 | <header> |
5 | 80 | <h2>Processing <button class="edit-button" mat-icon-button (click)="onEditProcessing()"><mat-icon>edit</mat-icon></button></h2> |
6 | 81 | <p class="subheading">MAGE ArcGIS plugin processing settings.</p> |
@@ -71,7 +146,7 @@ <h2>Processing <button class="edit-button" mat-icon-button (click)="onEditProces |
71 | 146 | </tr> |
72 | 147 | </table> |
73 | 148 | </div> |
74 | | - </section> |
| 149 | + </section> --> |
75 | 150 | <arc-layer [config]=config (configChanged)=configChanged($event)></arc-layer> |
76 | 151 | <arc-event [config]=config (configChanged)=configChanged($event) [configChangedNotifier]=configChangedNotifier.asObservable()></arc-event> |
77 | 152 | <section class="arc-fields"> |
|
0 commit comments