Skip to content

Commit

Permalink
Remove system-wide camera wiper base on precip
Browse files Browse the repository at this point in the history
Should be able to use device actions with
priority 0 and `[rwis_flooding,2]` action tags.
  • Loading branch information
DougLau committed Dec 12, 2024
1 parent f31ffea commit c0328a8
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 110 deletions.
1 change: 0 additions & 1 deletion docs/system_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ System Attribute | Description
`camera_playlist_dwell_sec` | Dwell time for [camera] play lists
`camera_ptz_blind` | Allow [camera] controls to be used even when not currently streaming to the IRIS client
`camera_stream_controls_enable` | Enable [camera] stream control panel (stop, play, etc.)
`camera_wiper_precip_mm_hr` | Precipitation rate to activate [camera] wipers (mm/hour)
`cap_xml_save_enable` | Enable saving CAP XML file for parsing errors
`clearguide_key` | ClearGuide customer key
`client_units_si` | `true` for the client to display units using the International System of Units (SI) or `false` for customary (US) units
Expand Down
1 change: 0 additions & 1 deletion etc/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,6 @@ camera_out_of_service_url=Location of PNG image to display for out of service ca
camera_playlist_dwell_sec=Dwell time for camera play lists.
camera_ptz_blind=Allow camera controls to be used even if the camera is not currently streaming to the IRIS client.
camera_stream_controls_enable=Enable camera stream control panel (stop, play, etc.)
camera_wiper_precip_mm_hr=Precipitation rate to activate camera wipers (mm/hour).
clearguide_key=ClearGuide customer key.
cap_xml_save_enable=Enable saving CAP XML file for parsing errors.
client_units_si=True for the client to display units using the International System of Units (SI) or false for US customary units.
Expand Down
7 changes: 5 additions & 2 deletions sql/migrate-5.64.sql
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ CREATE TRIGGER toll_zone_table_notify_trig
AFTER INSERT OR DELETE ON iris.toll_zone
FOR EACH STATEMENT EXECUTE FUNCTION iris.table_notify();

-- Delete obsolete system attribute
DELETE FROM iris.system_attribute WHERE name = 'email_recipient_aws';
-- Delete obsolete system attributes
DELETE FROM iris.system_attribute WHERE name IN (
'camera_wiper_precip_mm_hr',
'email_recipient_aws'
);

-- Reset all controller status to blank
UPDATE iris.controller SET status = NULL;
Expand Down
1 change: 0 additions & 1 deletion sql/tms-template.sql
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ camera_out_of_service_url
camera_playlist_dwell_sec 5
camera_ptz_blind true
camera_stream_controls_enable false
camera_wiper_precip_mm_hr 8
cap_xml_save_enable true
clearguide_key
client_units_si true
Expand Down
1 change: 0 additions & 1 deletion src/us/mn/state/dot/tms/SystemAttrEnum.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public enum SystemAttrEnum {
CAMERA_PLAYLIST_DWELL_SEC(5, 1, 300),
CAMERA_PTZ_BLIND(true),
CAMERA_STREAM_CONTROLS_ENABLE(false, Change.RESTART_CLIENT),
CAMERA_WIPER_PRECIP_MM_HR(8, 1, 100),
CLEARGUIDE_KEY(""),
CAP_XML_SAVE_ENABLE(true),
CLIENT_UNITS_SI(true),
Expand Down
103 changes: 0 additions & 103 deletions src/us/mn/state/dot/tms/server/CameraWiperJob.java

This file was deleted.

1 change: 0 additions & 1 deletion src/us/mn/state/dot/tms/server/MainServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ static private ServerNamespace createNamespace() throws SonarException {
/** Schedule jobs on TIMER thread */
static private void scheduleTimerJobs() {
TIMER.addJob(new MeteringJob(FLUSH));
TIMER.addJob(new CameraWiperJob());
TIMER.addJob(new SendSettingsJob());
TIMER.addJob(new SendSettingsJob(500));
TIMER.addJob(new TollZoneJob());
Expand Down

0 comments on commit c0328a8

Please sign in to comment.