Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class Messages
public static String ControlRange;
public static String Copy;
public static String CopyWithValue;
public static String Description;
public static String DisplayRange;
public static String EnumLbls;
public static String Format;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ private void setMetadata(final VType value)
else if (value instanceof VNumber)
{
final Display dis = ((VNumber) value).getDisplay();
buf.append(Messages.Description).append(dis.getDescription()).append("\n");
buf.append(Messages.Units).append(dis.getUnit()).append("\n");
buf.append(Messages.Format).append(dis.getFormat().format(0.123456789)).append("\n");
buf.append(Messages.DisplayRange).append(dis.getDisplayRange().getMinimum()).append(" .. ").append(dis.getDisplayRange().getMaximum()).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Alarms=Alarms:
ControlRange=Control Range:
Copy=Copy PV to Clipboard
CopyWithValue=Copy PV to Clipboard with Value
Description=Description:
DisplayRange=Display Range:
EnumLbls=Enumeration Labels:
Format=Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Alarms=Alarmes :
ControlRange=Plage de contr\u00F4le :
Copy=Copier le PV dans le presse-papiers
CopyWithValue=Copier la valeur du PV dans le presse-papiers
Description=Description:
DisplayRange=Plage d\u0027affichage :
EnumLbls=\u00C9tiquettes d\u0027\u00E9num\u00E9ration :
Format=Format :
Expand Down