File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
src/us/mn/state/dot/tms/client/comm Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 11/*
22 * IRIS -- Intelligent Roadway Information System
3- * Copyright (C) 2008-2024 Minnesota Department of Transportation
3+ * Copyright (C) 2008-2026 Minnesota Department of Transportation
44 *
55 * This program is free software; you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -61,10 +61,15 @@ static public boolean isPermitted(Session s) {
6161 public void enumerationComplete () { }
6262 public void update (CommLink cl , String a ) {
6363 if (a == null || a .equals ("connected" )) {
64- connected_lbl . setText ( cl .getConnected ()
64+ String connected = cl .getConnected ()
6565 ? I18N .get ("comm.link.connected" )
66- : I18N .get ("item.style.offline" )
67- );
66+ : I18N .get ("item.style.offline" );
67+ CommConfig cc = cl .getCommConfig ();
68+ if (cc != null && cc .getPollinator ()) {
69+ connected = I18N .get (
70+ "comm.config.pollinator" );
71+ }
72+ connected_lbl .setText (connected );
6873 }
6974 }
7075 public void clear () {
Original file line number Diff line number Diff line change 11/*
22 * IRIS -- Intelligent Roadway Information System
3- * Copyright (C) 2008-2025 Minnesota Department of Transportation
3+ * Copyright (C) 2008-2026 Minnesota Department of Transportation
44 *
55 * This program is free software; you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -166,7 +166,10 @@ public Object getValueAt(Controller c) {
166166 Long .class )
167167 {
168168 public Object getValueAt (Controller c ) {
169- return c .getFailTime ();
169+ if (!ControllerHelper .isPollinator (c ))
170+ return c .getFailTime ();
171+ else
172+ return null ;
170173 }
171174 protected TableCellRenderer createCellRenderer () {
172175 return new TimeCellRenderer ();
You can’t perform that action at this time.
0 commit comments