
templates.enUS.SimulationReportPage.hbs Maven / Gradle / Ivy
{{#eq classSimpleName "SimulationReport"}}
{{#partial "htmHead"}}{{> htmHeadSimulationReportPage}}{{/partial}}
{{#partial "htmTitle"}}{{> htmTitleSimulationReportPage}}{{/partial}}
{{#partial "htmMeta"}}{{> htmMetaSimulationReportPage}}{{/partial}}
{{#partial "htmStyle"}}{{> htmStyleSimulationReportPage}}{{/partial}}
{{#partial "htmScripts"}}{{> htmScriptsSimulationReportPage}}{{/partial}}
{{#partial "htmScript"}}{{> htmScriptSimulationReportPage}}
{{/partial}}
{{#partial "websocket"}}
websocketSimulationReport(websocketSimulationReportInner2);
{{/partial}}
{{#partial "jsWebsocket"}}
if(vars.includes('customMinGreenTime') || vars.includes('customMaxGreenTime')) {
$('#feature-' + pk + '-customMinGreenTime-slider-range').slider('values', [parseInt($response.find('.Page_customMinGreenTime').val()), parseInt($response.find('.Page_customMaxGreenTime').val())]);
$('#feature-' + pk + '-customMinGreenTime-slider-handle').text(parseInt($response.find('.Page_customMinGreenTime').val()));
$('#feature-' + pk + '-customMaxGreenTime-slider-handle').text(parseInt($response.find('.Page_customMaxGreenTime').val()));
}
{{/partial}}
{{#partial "jsTooltip"}}
if ($('#feature-' + feature.properties.pk + '-customMinGreenTime-slider-range').slider('instance') == undefined) {
$('#feature-' + feature.properties.pk + '-customMinGreenTime-slider-range').slider({
range: true
, min: 1
, max: 50
, values: [ feature.properties.customMinGreenTime, feature.properties.customMaxGreenTime ]
, create: function() {
$('#feature-' + feature.properties.pk + '-customMinGreenTime-slider-handle').text(parseInt(feature.properties.customMinGreenTime));
$('#feature-' + feature.properties.pk + '-customMaxGreenTime-slider-handle').text(parseInt(feature.properties.customMaxGreenTime));
}
, slide: function( event, ui ) {
$('#feature-' + feature.properties.pk + '-customMinGreenTime-slider-handle').text(ui.values[0]);
$('#feature-' + feature.properties.pk + '-customMaxGreenTime-slider-handle').text(ui.values[1]);
}
, stop: function( event, ui ) {
patchTrafficFlowObservedVal([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + feature.properties.pk }], 'setCustomMinGreenTime', ui.values[0].toString(), function() { addGlow($('.Page_customMinGreenTime')); }, function() { addError($('.Page_customMinGreenTime')); });
patchTrafficFlowObservedVal([{ name: 'softCommit', value: 'true' }, { name: 'fq', value: 'pk:' + feature.properties.pk }], 'setCustomMaxGreenTime', ui.values[1].toString(), function() { addGlow($('.Page_customMaxGreenTime')); }, function() { addError($('.Page_customMaxGreenTime')); });
}
});
}
{{/partial}}
{{#partial "htmTooltip"}}
Vehicle ${feature.properties.objectTitle}
Waiting time tolerance:
Queue length threshold:
{{/partial}}
{{#partial "jsLegend"}}{{> jsLegendSimulationReportPage}}{{/partial}}
{{#partial "htmLegend"}}{{> htmLegendSimulationReportPage}}{{/partial}}
{{#partial "jsStyle"}}{{> jsStyleSimulationReportPage}}{{/partial}}
{{#partial "htmBodySidebar"}}{{> htmBodySidebarSimulationReportPage}}{{/partial}}
{{#partial "htmBodyStart"}}{{> htmBodyStartSimulationReportPage}}{{/partial}}
{{#partial "htmBodyMiddle"}}{{> htmBodyMiddleSimulationReportPage}}{{/partial}}
{{#partial "htmBodyEnd"}}{{> htmBodyEndSimulationReportPage}}{{/partial}}
{{#partial "htmBody"}}{{> htmBodySimulationReportPage}}{{/partial}}
{{#partial "htmBodySearch"}}{{> htmBodySearchSimulationReportPage}}{{/partial}}
{{#partial "htmBodyFilters"}}{{> htmBodyFiltersSimulationReportPage}}{{/partial}}
{{#partial "htmBodyRange"}}{{> htmBodyRangeSimulationReportPage}}{{/partial}}
{{#partial "htmBodyPivot"}}{{> htmBodyPivotSimulationReportPage}}{{/partial}}
{{#partial "htmBodyFieldList"}}{{> htmBodyFieldListSimulationReportPage}}{{/partial}}
{{#partial "htmBodyStats"}}{{> htmBodyStatsSimulationReportPage}}{{/partial}}
{{#partial "htmBodyMenu"}}{{> htmBodyMenuSimulationReportPage}}{{/partial}}
{{#partial "htmBodyGraph"}}{{> htmBodyGraphSimulationReportPage}}{{/partial}}
{{#partial "htmBodyGraphLocation"}}{{> htmBodyGraphLocationSimulationReportPage}}{{/partial}}
{{#partial "htmBodyCount0"}}{{> htmBodyCount0SimulationReportPage}}{{/partial}}
{{#partial "htmBodyCount1"}}{{> htmBodyCount1SimulationReportPage}}{{/partial}}
{{#partial "htmBodyAll"}}{{> htmBodyAllSimulationReportPage}}{{/partial}}
{{#partial "htmForm"}}
{{#if id}}
Actions:
{{/if}}
{{> htmFormSimulationReportPage}}
{{#if id}}
{{/if}}
{{/partial}}
{{#partial "htmForms"}}{{> htmFormsSimulationReportPage}}{{/partial}}
{{#partial "htmBodySuggested"}}{{> htmBodySuggestedSimulationReportPage}}{{/partial}}
{{#partial "htmButton_patchSimulationReport"}}{{> htmButtonSimulationReportPage_patchSimulationReport classApiMethodMethod="PATCH"}}{{/partial}}
{{#partial "htmForm_patchSimulationReport"}}{{> htmFormSimulationReportPage_patchSimulationReport classApiMethodMethod="PATCH"}}{{/partial}}
{{#partial "htmFormButton_patchSimulationReport"}}{{> htmFormButtonSimulationReportPage_patchSimulationReport classApiMethodMethod="PATCH"}}{{/partial}}
{{#partial "htmButton_postSimulationReport"}}{{> htmButtonSimulationReportPage_postSimulationReport classApiMethodMethod="POST"}}{{/partial}}
{{#partial "htmForm_postSimulationReport"}}{{> htmFormSimulationReportPage_postSimulationReport classApiMethodMethod="POST"}}{{/partial}}
{{#partial "htmFormButton_postSimulationReport"}}{{> htmFormButtonSimulationReportPage_postSimulationReport classApiMethodMethod="POST"}}{{/partial}}
{{#partial "htmButton_putimportSimulationReport"}}{{> htmButtonSimulationReportPage_putimportSimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmForm_putimportSimulationReport"}}{{> htmFormSimulationReportPage_putimportSimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmFormButton_putimportSimulationReport"}}{{> htmFormButtonSimulationReportPage_putimportSimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmButton_putcopySimulationReport"}}{{> htmButtonSimulationReportPage_putcopySimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmForm_putcopySimulationReport"}}{{> htmFormSimulationReportPage_putcopySimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmFormButton_putcopySimulationReport"}}{{> htmFormButtonSimulationReportPage_putcopySimulationReport classApiMethodMethod="PUT"}}{{/partial}}
{{#partial "htmButton_searchpageSimulationReport"}}{{> htmButtonSimulationReportPage_searchpageSimulationReport classApiMethodMethod="Page"}}{{/partial}}
{{#partial "htmForm_searchpageSimulationReport"}}{{> htmFormSimulationReportPage_searchpageSimulationReport classApiMethodMethod="Page"}}{{/partial}}
{{#partial "htmFormButton_searchpageSimulationReport"}}{{> htmFormButtonSimulationReportPage_searchpageSimulationReport classApiMethodMethod="Page"}}{{/partial}}
{{/eq}}
{{> SimulationReportGenPage}}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy