Skip to content

Commit 259b904

Browse files
committed
Revise weather file on disk UI messages
1 parent 196918a commit 259b904

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

deploy/runtime/ui/Solar Resource Library.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@
463463
},
464464
"Caption": {
465465
"Type": 5.0,
466-
"String": "If you prefer not to use the library, choose a file from disk."
466+
"String": "If you prefer not to use the Solar Resource Library, check Use Weather File on Disk to disable it, and click Browse to choose a weather file."
467467
},
468468
"TextColour": {
469469
"Type": 4.0,
@@ -663,15 +663,15 @@
663663
},
664664
"X": {
665665
"Type": 3.0,
666-
"Integer": 21.0
666+
"Integer": 27.0
667667
},
668668
"Y": {
669669
"Type": 3.0,
670670
"Integer": 495.0
671671
},
672672
"Width": {
673673
"Type": 3.0,
674-
"Integer": 171.0
674+
"Integer": 174.0
675675
},
676676
"Height": {
677677
"Type": 3.0,
@@ -704,15 +704,15 @@
704704
},
705705
"X": {
706706
"Type": 3.0,
707-
"Integer": 195.0
707+
"Integer": 204.0
708708
},
709709
"Y": {
710710
"Type": 3.0,
711711
"Integer": 495.0
712712
},
713713
"Width": {
714714
"Type": 3.0,
715-
"Integer": 567.0
715+
"Integer": 558.0
716716
},
717717
"Height": {
718718
"Type": 3.0,
@@ -958,6 +958,12 @@
958958
"\t\tlibrarynotifytext('solar_resource', ''); //'Everything is fine.'\r",
959959
"\t}\r",
960960
"\r",
961+
"\tif (value('use_specific_weather_file') == 1) {\r",
962+
"\t\tproperty('caption_library','Caption','The Solar Resource library is disabled. Clear the Use Weather File on Disk checkbox below to enable the library.');\r",
963+
"\t}\r",
964+
"\telse {\r",
965+
"\t\tproperty('caption_library','Caption','The Solar Resource library is a list of weather files on your computer. Choose a file from the library and verify the weather data information below.');\r",
966+
"\t}\r",
961967
"\t//msgbox('Debug\\nlibraryget functions'+\r",
962968
"\t//'\\nfiltertext = ' + librarygetfiltertext('solar_resource') \r",
963969
"\t//+ '\\nnumber matches = ' + librarygetnumbermatches('solar_resource') \r",

0 commit comments

Comments
 (0)