add frequency control to dynamic config
This commit is contained in:
parent
90f97a5453
commit
292d088a74
@ -2,10 +2,7 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="32d5efaa-a329-4d17-ae1e-897afa4db3d0" name="Default Changelist" comment="">
|
<list default="true" id="32d5efaa-a329-4d17-ae1e-897afa4db3d0" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/resources/views/device/add.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/device/add.blade.php" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/ParkingLot.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/ParkingLot.php" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/public/css/app.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/css/app.css" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/resources/views/home.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/home.blade.php" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/routes/web.php" beforeDir="false" afterPath="$PROJECT_DIR$/routes/web.php" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/routes/web.php" beforeDir="false" afterPath="$PROJECT_DIR$/routes/web.php" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
@ -23,7 +20,7 @@
|
|||||||
<entry file="file://$PROJECT_DIR$/routes/web.php">
|
<entry file="file://$PROJECT_DIR$/routes/web.php">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="326">
|
<state relative-caret-position="326">
|
||||||
<caret line="162" column="4" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="4" />
|
<caret line="197" column="42" selection-start-line="197" selection-start-column="42" selection-end-line="197" selection-end-column="42" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#7#26#0#PHP" expanded="true" />
|
<element signature="e#7#26#0#PHP" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
@ -31,6 +28,15 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/resources/views/device/add.blade.php">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="296">
|
||||||
|
<caret line="41" column="67" selection-start-line="41" selection-start-column="67" selection-end-line="41" selection-end-column="67" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/resources/views/lot/manageone.blade.php">
|
<entry file="file://$PROJECT_DIR$/resources/views/lot/manageone.blade.php">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
@ -103,11 +109,11 @@
|
|||||||
<option value="$PROJECT_DIR$/app/ParkingLot.php" />
|
<option value="$PROJECT_DIR$/app/ParkingLot.php" />
|
||||||
<option value="$PROJECT_DIR$/resources/views/lot/success.blade.php" />
|
<option value="$PROJECT_DIR$/resources/views/lot/success.blade.php" />
|
||||||
<option value="$PROJECT_DIR$/resources/views/home.blade.php" />
|
<option value="$PROJECT_DIR$/resources/views/home.blade.php" />
|
||||||
<option value="$PROJECT_DIR$/resources/views/device/add.blade.php" />
|
|
||||||
<option value="$PROJECT_DIR$/resources/views/device/get.blade.php" />
|
<option value="$PROJECT_DIR$/resources/views/device/get.blade.php" />
|
||||||
<option value="$PROJECT_DIR$/resources/views/lot/manage.blade.php" />
|
<option value="$PROJECT_DIR$/resources/views/lot/manage.blade.php" />
|
||||||
<option value="$PROJECT_DIR$/public/css/app.css" />
|
<option value="$PROJECT_DIR$/public/css/app.css" />
|
||||||
<option value="$PROJECT_DIR$/resources/views/lot/manageone.blade.php" />
|
<option value="$PROJECT_DIR$/resources/views/lot/manageone.blade.php" />
|
||||||
|
<option value="$PROJECT_DIR$/resources/views/device/add.blade.php" />
|
||||||
<option value="$PROJECT_DIR$/routes/web.php" />
|
<option value="$PROJECT_DIR$/routes/web.php" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
@ -364,18 +370,18 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1549706447395</updated>
|
<updated>1549706447395</updated>
|
||||||
<workItem from="1549706448757" duration="961000" />
|
<workItem from="1549706448757" duration="961000" />
|
||||||
<workItem from="1549723735384" duration="34314000" />
|
<workItem from="1549723735384" duration="35043000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="35275000" />
|
<option name="totallyTimeSpent" value="36004000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="0" y="27" width="1920" height="1053" extended-state="6" />
|
<frame x="0" y="27" width="1920" height="1053" extended-state="6" />
|
||||||
<editor active="true" />
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2524013" />
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2524013" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info id="npm" order="2" side_tool="true" />
|
<window_info id="npm" order="2" side_tool="true" />
|
||||||
<window_info id="Favorites" order="3" side_tool="true" />
|
<window_info id="Favorites" order="3" side_tool="true" />
|
||||||
@ -390,7 +396,7 @@
|
|||||||
<window_info anchor="bottom" id="Version Control" order="8" />
|
<window_info anchor="bottom" id="Version Control" order="8" />
|
||||||
<window_info anchor="bottom" id="Database Changes" order="9" />
|
<window_info anchor="bottom" id="Database Changes" order="9" />
|
||||||
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
|
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
|
||||||
<window_info active="true" anchor="bottom" id="Terminal" order="11" visible="true" weight="0.32972974" />
|
<window_info anchor="bottom" id="Terminal" order="11" visible="true" weight="0.32972974" />
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
@ -512,13 +518,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/resources/views/device/add.blade.php">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="255">
|
|
||||||
<caret line="17" column="29" lean-forward="true" selection-start-line="17" selection-start-column="29" selection-end-line="17" selection-end-column="29" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/ParkingLot.php">
|
<entry file="file://$PROJECT_DIR$/app/ParkingLot.php">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="203">
|
<state relative-caret-position="203">
|
||||||
@ -561,10 +560,17 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/resources/views/device/add.blade.php">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="296">
|
||||||
|
<caret line="41" column="67" selection-start-line="41" selection-start-column="67" selection-end-line="41" selection-end-column="67" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/routes/web.php">
|
<entry file="file://$PROJECT_DIR$/routes/web.php">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="326">
|
<state relative-caret-position="326">
|
||||||
<caret line="162" column="4" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="4" />
|
<caret line="197" column="42" selection-start-line="197" selection-start-column="42" selection-end-line="197" selection-end-column="42" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#7#26#0#PHP" expanded="true" />
|
<element signature="e#7#26#0#PHP" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
|
@ -31,6 +31,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label for="freq" class="col-md-4 col-form-label text-md-right">{{ __('Polling Frequency') }}</label>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input id="freq" type="text" class="form-control{{ $errors->has('freq') ? ' is-invalid' : '' }}" name="freq" value="{{ old('freq') }}" placeholder="15" required autofocus>
|
||||||
|
|
||||||
|
@if ($errors->has('freq'))
|
||||||
|
<span class="invalid-feedback" role="alert">
|
||||||
|
<strong>{{ $errors->first('freq') }}</strong>
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="camera" class="col-md-4 col-form-label text-md-right">{{ __('Camera Device Stream') }}</label>
|
<label for="camera" class="col-md-4 col-form-label text-md-right">{{ __('Camera Device Stream') }}</label>
|
||||||
|
|
||||||
|
@ -195,6 +195,7 @@ Route::post('/device/add', function(\Illuminate\Http\Request $request){
|
|||||||
'e_hat' => $request->get('ehat'),
|
'e_hat' => $request->get('ehat'),
|
||||||
'lot_id' => $request->get('lotid'),
|
'lot_id' => $request->get('lotid'),
|
||||||
'stream' => $request->get('camera'),
|
'stream' => $request->get('camera'),
|
||||||
|
'frequency' => $request->get('freq')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return redirect(url('/device/get/'.str_replace(' ', '-', $request->get('code'))));
|
return redirect(url('/device/get/'.str_replace(' ', '-', $request->get('code'))));
|
||||||
|
Loading…
Reference in New Issue
Block a user