├── .gitignore
├── COPYING
├── README.md
├── Translation
├── de-DE
│ └── de-DE.csv
├── fr-FR
│ └── fr-FR.csv
├── new_translation.csv
├── ru-RU
│ └── ru-RU.csv
└── zh-CN
│ └── zh-CN.csv
├── WinNUT_V2
├── .editorconfig
├── AGauge_mod
│ ├── AGauge - FxCop.FxCop
│ ├── AGauge.Designer.cs
│ ├── AGauge.bmp
│ ├── AGauge.cs
│ ├── AGauge.csproj
│ ├── AGauge.csproj.user
│ ├── AGauge.sln
│ └── Properties
│ │ └── AssemblyInfo.cs
├── Setup
│ └── Setup.vdproj
├── WinNUT_GUI
│ ├── .editorconfig
│ ├── About_Gui.Designer.vb
│ ├── About_Gui.de-DE.resx
│ ├── About_Gui.fr-FR.resx
│ ├── About_Gui.resx
│ ├── About_Gui.ru-RU.resx
│ ├── About_Gui.vb
│ ├── About_Gui.zh-CN.resx
│ ├── App.config
│ ├── ApplicationEvents.vb
│ ├── CProgressBar.vb
│ ├── CryptData.vb
│ ├── IniFileVb.vb
│ ├── List_Var_Gui.Designer.vb
│ ├── List_Var_Gui.de-DE.resx
│ ├── List_Var_Gui.fr-FR.resx
│ ├── List_Var_Gui.resx
│ ├── List_Var_Gui.ru-RU.resx
│ ├── List_Var_Gui.vb
│ ├── List_Var_Gui.zh-CN.resx
│ ├── Logger.vb
│ ├── MultilingualResources
│ │ ├── WinNUT-client.de-DE.xlf
│ │ ├── WinNUT-client.fr-FR.xlf
│ │ ├── WinNUT-client.ru-RU.xlf
│ │ └── WinNUT-client.zh-CN.xlf
│ ├── My Project
│ │ ├── Application.Designer.vb
│ │ ├── Application.myapp
│ │ ├── AssemblyInfo.vb
│ │ ├── Resources.Designer.vb
│ │ ├── Resources.de-DE.resx
│ │ ├── Resources.fr-FR.resx
│ │ ├── Resources.resx
│ │ ├── Resources.ru-RU.resx
│ │ ├── Resources.zh-CN.resx
│ │ ├── Settings.Designer.vb
│ │ ├── Settings.settings
│ │ └── app.manifest
│ ├── Pref_Gui.Designer.vb
│ ├── Pref_Gui.de-DE.resx
│ ├── Pref_Gui.fr-FR.resx
│ ├── Pref_Gui.resx
│ ├── Pref_Gui.ru-RU.resx
│ ├── Pref_Gui.vb
│ ├── Pref_Gui.zh-CN.resx
│ ├── Resources
│ │ ├── 1025.ico
│ │ ├── 1026.ico
│ │ ├── 1028.ico
│ │ ├── 1032.ico
│ │ ├── 1040.ico
│ │ ├── 1057.ico
│ │ ├── 1058.ico
│ │ ├── 1060.ico
│ │ ├── 1064.ico
│ │ ├── 1072.ico
│ │ ├── 1079.ico
│ │ ├── 1080.ico
│ │ ├── 1092.ico
│ │ ├── 1096.ico
│ │ ├── 1104.ico
│ │ ├── 1121.ico
│ │ ├── 1122.ico
│ │ ├── 1124.ico
│ │ ├── 1128.ico
│ │ ├── 1136.ico
│ │ ├── 1152.ico
│ │ ├── 1216.ico
│ │ ├── 1280.ico
│ │ ├── 1344.ico
│ │ ├── 2001_ViewLogFile.ico
│ │ ├── 2001_ViewLogFile.png
│ │ ├── 2002_Delete_LogFile.ico
│ │ ├── 2002_Delete_LogFile.png
│ │ ├── Battery_Charged.png
│ │ ├── Battery_Charging.png
│ │ ├── Battery_Discharging.png
│ │ ├── Delete_LogFile_24x24.png
│ │ ├── Delete_LogFile_32x32.png
│ │ ├── ViewLogFile_24x24.png
│ │ ├── ViewLogFile_32x32.png
│ │ ├── WinNUT-Updater.ico
│ │ ├── WinNut.ico
│ │ ├── ups.png
│ │ ├── ups_104x104.bmp
│ │ └── ups_104x104.png
│ ├── Shutdown_Gui.Designer.vb
│ ├── Shutdown_Gui.de-DE.resx
│ ├── Shutdown_Gui.fr-FR.resx
│ ├── Shutdown_Gui.resx
│ ├── Shutdown_Gui.ru-RU.resx
│ ├── Shutdown_Gui.vb
│ ├── Shutdown_Gui.zh-CN.resx
│ ├── ToastPopup.vb
│ ├── UPS_Network.vb
│ ├── Update_Gui.Designer.vb
│ ├── Update_Gui.de-DE.resx
│ ├── Update_Gui.fr-FR.resx
│ ├── Update_Gui.resx
│ ├── Update_Gui.ru-RU.resx
│ ├── Update_Gui.vb
│ ├── Update_Gui.zh-CN.resx
│ ├── WinNUT-client.vbproj
│ ├── WinNUT-client.vbproj.user
│ ├── WinNUT-client_TemporaryKey.pfx
│ ├── WinNUT.Designer.vb
│ ├── WinNUT.de-DE.resx
│ ├── WinNUT.fr-FR.resx
│ ├── WinNUT.resx
│ ├── WinNUT.ru-RU.resx
│ ├── WinNUT.vb
│ ├── WinNUT.zh-CN.resx
│ ├── WinNUT_Globals.vb
│ ├── WinNUT_Params.vb
│ ├── WinNut.ico
│ └── packages.config
├── WinNUT_V2.sln
└── images
│ ├── Base Gimp
│ ├── Battery_State.xcf
│ └── Icon_Set.xcf
│ ├── Ico
│ ├── 1025.ico
│ ├── 1026.ico
│ ├── 1028.ico
│ ├── 1032.ico
│ ├── 1040.ico
│ ├── 1057.ico
│ ├── 1058.ico
│ ├── 1060.ico
│ ├── 1064.ico
│ ├── 1072.ico
│ ├── 1079.ico
│ ├── 1080.ico
│ ├── 1092.ico
│ ├── 1096.ico
│ ├── 1104.ico
│ ├── 1121.ico
│ ├── 1122.ico
│ ├── 1124.ico
│ ├── 1128.ico
│ ├── 1136.ico
│ ├── 1152.ico
│ ├── 1216.ico
│ ├── 1280.ico
│ ├── 1344.ico
│ ├── 2001_ViewLogFile.ico
│ ├── 2001_ViewLogFile.png
│ ├── 2002_Delete_LogFile.ico
│ ├── 2002_Delete_LogFile.png
│ ├── Delete_LogFile_24x24.png
│ ├── Delete_LogFile_32x32.png
│ ├── ViewLogFile_24x24.png
│ ├── ViewLogFile_32x32.png
│ ├── WinNUT-Updater.ico
│ ├── WinNut.ico
│ ├── ups.png
│ ├── ups_104x104.bmp
│ └── ups_104x104.png
│ ├── Jpg
│ ├── Setup_Banner.jpg
│ └── ups.jpg
│ └── Png
│ ├── 1025.png
│ ├── 1026.png
│ ├── 1028.png
│ ├── 1032.png
│ ├── 1040.png
│ ├── 1057.png
│ ├── 1058.png
│ ├── 1060.png
│ ├── 1064.png
│ ├── 1072.png
│ ├── 1079.png
│ ├── 1080.png
│ ├── 1092.png
│ ├── 1096.png
│ ├── 1104.png
│ ├── 1121.png
│ ├── 1122.png
│ ├── 1124.png
│ ├── 1128.png
│ ├── 1136.png
│ ├── 1152.png
│ ├── 1216.png
│ ├── 1280.png
│ ├── 1344.png
│ ├── 2001_ViewLogFile.png
│ ├── 2002_Delete_LogFile.png
│ ├── Battery_Charged.png
│ ├── Battery_Charging.png
│ ├── Battery_Discharging.png
│ ├── WinNUT-Updater.png
│ ├── WinNut.png
│ └── ups.png
├── changelog.md
└── changelog.txt
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | .suo
9 | *.suo
10 | *.user
11 | *.userosscache
12 | *.sln.docstates
13 |
14 | # User-specific files (MonoDevelop/Xamarin Studio)
15 | *.userprefs
16 |
17 | # Mono auto generated files
18 | mono_crash.*
19 |
20 | # Build results
21 | [Dd]ebug/
22 | [Dd]ebugPublic/
23 | [Rr]elease/
24 | [Rr]eleases/
25 | x64/
26 | x86/
27 | [Ww][Ii][Nn]32/
28 | [Aa][Rr][Mm]/
29 | [Aa][Rr][Mm]64/
30 | bld/
31 | [Bb]in/
32 | [Oo]bj/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
364 | *.pdb
365 | *.msi
366 | WinNUT_V2/.vs
367 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # WinNUT-Client
2 |
3 | [](https://www.paypal.com/donate?hosted_button_id=FAFJ3ZKMENGCU)
4 |
5 | ## Installation
6 | To use it, please follow the following steps:
7 | 1. Get the [last available Releases](https://github.com/gawindx/WinNUT-Client/releases)
8 | 2. Install WinNUT-Client using the "WinNUT-Setup.msi" file obtained previously
9 | 3. If you were using an older version of WinNUT (v1.x), copy your "ups.ini" configuration file to the WinNUT-Client installation directory (by default "C:\Program Files(x86)\WinNUT-Client ") for an automatic import of your parameters during the first launch
10 | 4. Start WinNUT V2 and modify the parameters according to your needs
11 |
12 | ## Specific Configuration
13 |
14 | ### For Synology NAS
15 | If your NUT server is hosted on a Synology NAS, be sure to provide the following connection information (default):
16 | Login: upsmon
17 | Password: secret
18 |
19 | It will probably be necessary to allow the WinNUT-Client IP to communicate with the NUT server.
20 | *See issue 47 for more information, specifically [this commentary](https://github.com/gawindx/WinNUT-Client/issues/47#issuecomment-759180793).*
21 |
22 | ###
23 | ## Translation
24 | WinNUT-Client V2 is natively multilingual, so it is no longer necessary to select your language from the software interface.
25 | Currently, WinNUT-Client supports:
26 | - English
27 | - German
28 | - French
29 | - Simplified Chinese
30 | - Russian
31 |
32 | #### To add / correct a language
33 |
34 | ##### Method 1 (preferred)
35 | 1. Fork this repository
36 | 2. In the translation directory:
37 |
38 | For a new translation:
39 | 1. Use the new_translation.csv file to translate the texts
40 | 2. Save this file in xx-XX corresponding to the language code
41 |
42 | For a correction:
43 | 1. Edit the wrong language file
44 | 2. Make the necessary corrections
45 |
46 | 3. Save it instead
47 | 4. Create a pull request on this repository to take into account the translation.
48 |
49 | ##### Method 2
50 | 1. Get the file [new_translation.csv](./Translation/new_translation.csv)
51 | 2. Perform the necessary translations
52 | 3. Save this file in csv format (IMPORTANT)
53 | 4. Create a gist via [gist github](https://gist.github.com) and paste the contents of the previously created csv file
54 | 5. Open a new issue and tell me:
55 | - the link of the gist
56 | - the language to create / correct
57 |
58 | Your translation / correction will be added on a new version and will thus be available to the entire community.
59 |
60 | ## Update WinNUT-Client
61 |
62 | Since version 1.8.0.0, WinNUT-Client includes a process for checking for updates.
63 | This process can be started automatically on startup or manually on demand (and you can choose whether you want to update from the stable or development version)
64 |
65 | During this update, the new installation file will be automatically downloaded and you can easily update your version of WinNUT-Client.
66 |
67 | This process is fully integrated and no longer requires a second executable.
68 |
69 | ## Third Party Components / Acknowledgments
70 |
71 | WinNUT-Client uses:
72 | - a modified version of AGauge initially developed by [Code-Artist](https://github.com/Code-Artist/AGauge) and under [MIT license](https://opensource.org/licenses/MIT)
73 | - Class IniReader developed by [Ludvik Jerabek](https://www.codeproject.com/Articles/21896/INI-Reader-Writer-Class-for-C-VB-NET-and-VBScript) and under [The Code Project Open License](http://www.codeproject.com/info/cpol10.aspx)
74 | - Newtonsoft.Json Library is used in this Project [Newtonsoft.json Website](https://www.newtonsoft.com/json) and under [MIT license](https://opensource.org/licenses/MIT)
75 |
76 | ## License
77 |
78 | WinNUT-Client is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
79 | Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
80 |
81 | This program is free software: you can redistribute it and/or modify it under the terms of the
82 | GNU General Public License as published by the Free Software Foundation, either version 3 of the
83 | License, or any later version.
84 |
85 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
86 |
87 | ## Donation
88 | If you want to support this project or reward the work done, you can do so here:
89 |
90 | [](https://www.paypal.com/donate?hosted_button_id=FAFJ3ZKMENGCU)
91 |
--------------------------------------------------------------------------------
/Translation/new_translation.csv:
--------------------------------------------------------------------------------
1 | Status,Translator,Message,Translation
2 | ,,About,
3 | ,,Activate automatic connection / reconnection,
4 | ,,Additional grace period limit.Accepted value: Numeric value from 0 to 3600.,
5 | ,,Alert,
6 | ,,Allow additional time during the shutdown procedure.Note: This additional time could go beyond the UPS backup time - USE WITH CAUTION!!!,
7 | ,,Allow Extended Shutdown Time,
8 | ,,Application shut down at,
9 | ,,Apply,
10 | ,,Automatic Reconnection,
11 | ,,Battery Charge,
12 | ,,Battery OK,
13 | ,,Battery Voltage,
14 | ,,Battery_Charge : {0} Remaining Time : {1},
15 | ,,Battery_Charge : {WinNUT.UPS_BattCh} Remaining Time : {WinNUT.Lbl_VRTime.Text},
16 | ,,Calibration,
17 | ,,Cancel,
18 | ,,Cancellation of the Extinguishing Process,
19 | ,,Check for updates.,
20 | ,,Checks for updates at startup.,
21 | ,,Clear,
22 | ,,Close,
23 | ,,Close to Systray,
24 | ,,Conditions met for launching the Extinguishing Process,
25 | ,,Connected,
26 | ,,Connection,
27 | ,,Connection to Nut Host {0}:{1} Established,
28 | ,,Connection to Nut Host {0}:{1} Failed: {2},
29 | ,,Copy,
30 | ,,Create a log file (WinNUT-client.log file in the WinNUT installation directory).,
31 | ,,Create LogFile,
32 | ,,Daily,
33 | ,,Debug,
34 | ,,Delay Between Verification,
35 | ,,Delay to Shutdown (sec),
36 | ,,Delete log file.,
37 | ,,Description :,
38 | ,,Devellopement,
39 | ,,Disconnect,
40 | ,,Disconnected from Nut Host,
41 | ,,Download New Version from :,
42 | ,,Error,
43 | ,,Exit,
44 | ,,Extinction In Progress,
45 | ,,File,
46 | ,,Firmware :,
47 | ,,Frequency,
48 | ,,Frequency of verification.,
49 | ,,Frequency Supply,
50 | ,,Grace Delay to Shutdown (sec),
51 | ,,Grace Time,
52 | ,,Help,
53 | ,,Hibernate,
54 | ,,Hide ChangeLog,
55 | ,,Immediate Shutdown,
56 | ,,Immediate stop action,
57 | ,,Import Ini File (v1.x),
58 | ,,Indicates whether a shutdown should be performed when the NUT server signals a forced shutdown (FSD = Force ShutDown),
59 | ,,Input Frequency,
60 | ,,Input Voltage,
61 | ,,Item Properties,
62 | ,,List UPS Variables,
63 | ,,Log file log level,
64 | ,,Logging level,
65 | ,,Logging level.,
66 | ,,Login,
67 | ,,Login credentials to the Nut server (leave blank if not required),
68 | ,,Lost Connect To {0}:{1},
69 | ,,Low Battery,
70 | ,,Lower backup time limit triggering the shutdown procedure. Accepted value: Numeric value from 0 to 3600.,
71 | ,,Lower limit of the battery level triggering the shutdown procedure. Accepted value: Numeric value from 0 to 100.,
72 | ,,Manufacturer :,
73 | ,,Max,
74 | ,,Max Retry reached. Wait for manual Reconnection,
75 | ,,Maximum Battery Voltage. Accepted value: Numeric value from 0 to 100.,
76 | ,,Maximum input frequency. Accepted value: Numeric value from 0 to 100.,
77 | ,,Maximum input voltage. Accepted value: Numeric value from 0 to 999.,
78 | ,,Maximum Load Level of the UPS. Accepted value: Numeric value from 0 to 100.,
79 | ,,Maximum Output Voltage. Accepted value: Numeric value from 0 to 999.,
80 | ,,Min,
81 | ,,Minimize to Systray,
82 | ,,Minimum Battery Voltage. Accepted value: Numeric value from 0 to 100.,
83 | ,,Minimum Charge Level of the UPS. Accepted value: Numeric value from 0 to 100.,
84 | ,,Minimum input frequency. Accepted value: Numeric value from 0 to 100.,
85 | ,,Minimum input voltage. Accepted value: Numeric value from 0 to 999.,
86 | ,,Minimum Output Voltage. Accepted value: Numeric value from 0 to 999.,
87 | ,,Miscellanous,
88 | ,,Monthly,
89 | ,,Name :,
90 | ,,No Update Available,
91 | ,,Not Connected,
92 | ,,Notice,
93 | ,,NUT host,
94 | ,,NUT Port,
95 | ,,Nut server address. Accepted value: IPV4 / IPV6 / FQDN address.,
96 | ,,Nut Server Port Number (default = 3493). Accepted value: Numeric value from 1 to 65535.,
97 | ,,Ok,
98 | ,,Old ups.ini imported,
99 | ,,Old ups.ini imported Ini File Moved to {0}.old,
100 | ,,On Battery ({0}%),
101 | ,,On Line,
102 | ,,Open the log file.,
103 | ,,Options,
104 | ,,Output Voltage,
105 | ,,Password,
106 | ,,Polling Interval,
107 | ,,Reconnect,
108 | ,,Reconnection In Progress,
109 | ,,Reduced to the taskbar or Systray.,
110 | ,,Re-establish connection,
111 | ,,Reload,
112 | ,,Remaining Time :,
113 | ,,Restarting WinNUT after waking up from Windows.,
114 | ,,Sends in Systray at closing.,
115 | ,,Serial :,
116 | ,,Sets the input frequency if not supplied by the UPS.,
117 | ,,Settings,
118 | ,,Show ChangeLog,
119 | ,,Shutdown,
120 | ,,Shutdown if battery lower than,
121 | ,,Shutdown if runtime lower than (sec),
122 | ,,Shutdown on Nut's FSD Signal,
123 | ,,Shutdown Options,
124 | ,,Sleep,
125 | ,,Stable,
126 | ,,Stable Or Dev Branch,
127 | ,,Start Minimized,
128 | ,,Start with Windows,
129 | ,,Starts the shutdown procedure immediately or timed.,
130 | ,,Starts WinNut Minimized.,
131 | ,,Starts WinNUT when Windows starts.,
132 | ,,Stop condition imposed by the NUT server,
133 | ,,Stop procedure delay if delayed. Accepted value: Numeric value from 0 to 3600.,
134 | ,,Time between each update of UPS data (default = 5).Accepted value: Numerical value from 1 to 60 seconds.,
135 | ,,Try {0} of {1},
136 | ,,Try Reconnect {0} / {1},
137 | ,,Type of Stop,
138 | ,,Type of stop at the end of the stop procedure.,
139 | ,,Unknown UPS Name,
140 | ,,Update,
141 | ,,Update Available : Version {0},
142 | ,,Update WinNUT-Client Now? Ok to Close WinNut and Install New Version Cancel to Save Msi and Install Later,
143 | ,,UPS Battery Low,
144 | ,,UPS Load,
145 | ,,UPS Name,
146 | ,,UPS name to monitor. Accepted Value: Name of the UPS configured in the Nut server.,
147 | ,,UPS On Battery,
148 | ,,UPS On Line,
149 | ,,UPS Overload,
150 | ,,UPS Variable,
151 | ,,Use the Stable or Devellop branch during verification.,
152 | ,,Value :,
153 | ,,Verify Update,
154 | ,,Verify Update At Start,
155 | ,,Version {0} Available,
156 | ,,Weekly,
157 | ,,WinNut Preferences Changed,
158 | ,,Windows standby, WinNUT will disconnect.,
159 | ,,Wrong Login ID (Username or Password),
--------------------------------------------------------------------------------
/Translation/zh-CN/zh-CN.csv:
--------------------------------------------------------------------------------
1 | Status,Translator,Message,Translate
2 | Valid,nonPointer,About,关于
3 | Valid,nonPointer,Activate automatic connection / reconnection,启用自动连接/重连
4 | Valid,nonPointer,Additional grace period limit. Accepted value: Numeric value from 0 to 3600.,额外的宽限期限制。取值:0-3600。
5 | Valid,nonPointer,Alert,警告
6 | Valid,nonPointer,Allow additional time during the shutdown procedure. Note: This additional time could go beyond the UPS backup time - USE WITH CAUTION!!!,在关机过程中允许的额外时间。注意: 这段额外时间可能超过 UPS 的续航时间 - 谨慎使用!!!
7 | Valid,nonPointer,Allow Extended Shutdown Time,允许的延时关机时间
8 | Valid,nonPointer,Application shut down at,应用程序被关闭于
9 | Valid,nonPointer,Apply,应用
10 | Valid,nonPointer,Automatic Reconnection,自动重连
11 | Valid,nonPointer,Battery Charge,电池电量
12 | Valid,nonPointer,Battery OK,电池正常
13 | Valid,nonPointer,Battery_Charge : {0} Remaining Time : {1},电池电量 : {0} 剩余时间 : {1}
14 | Valid,nonPointer,Battery_Charge : {WinNUT.UPS_BattCh} Remaining Time : {WinNUT.Lbl_VRTime.Text},电池电量 : {WinNUT.UPS_BattCh} 剩余时间 : {WinNUT.Lbl_VRTime.Text}
15 | Valid,nonPointer,Battery Voltage,电池电压
16 | Valid,nonPointer,Calibration,校准
17 | Valid,nonPointer,Cancel,取消
18 | Valid,nonPointer,Cancellation of the Extinguishing Process,取消关机进程
19 | Valid,nonPointer,Check for updates.,检查应用更新。
20 | Valid,nonPointer,Checks for updates at startup.,在启动时检查更新。
21 | Valid,Gawindx,Clear,清空
22 | Valid,nonPointer,Close,关闭
23 | Valid,Gawindx,Close to Systray,关闭至系统托盘
24 | Valid,nonPointer,Conditions met for launching the Extinguishing Process,触发关机流程所需满足的条件
25 | Valid,nonPointer,Connected,已连接
26 | Valid,nonPointer,Connection,连接
27 | Valid,nonPointer,Connection to Nut Host {0}:{1} Established,至 Nut 主机 {0}:{1} 的连接建立成功
28 | Valid,nonPointer,Connection to Nut Host {0}:{1} Failed: {2},至 Nut 主机 {0}:{1} 的连接建立失败: {2}
29 | Valid,Gawindx,Copy,复制
30 | Valid,nonPointer,Create a log file (WinNUT-client.log file in the WinNUT installation directory).,创建日志文件(WinNUT-client.log 文件位于 WinNUT 的安装目录)。
31 | Valid,nonPointer,Create LogFile,创建日志文件
32 | Valid,nonPointer,Daily,每天
33 | Valid,nonPointer,Debug,调试
34 | Valid,nonPointer,Delay Between Verification,每次检验的延时
35 | Valid,nonPointer,Delay to Shutdown (sec),延时关机(秒)
36 | Valid,nonPointer,Delete log file.,删除日志文件。
37 | Valid,Gawindx,Description :,描述:
38 | Valid,nonPointer,Development,开发版
39 | Valid,nonPointer,Disconnect,断开连接
40 | Valid,nonPointer,Disconnected from Nut Host,断开了至 Nut 主机的连接。
41 | Valid,nonPointer,Download New Version from :,下载了新版本于:
42 | Valid,nonPointer,Error,错误
43 | Valid,nonPointer,Exit,退出
44 | Valid,nonPointer,Extinction In Progress,正在关机
45 | Valid,nonPointer,File,文件
46 | Valid,nonPointer,Firmware :,固件:
47 | Valid,Gawindx,Frequency,频率
48 | Valid,nonPointer,Frequency of verification.,验证频率。
49 | Valid,nonPointer,Frequency Supply,供电频率
50 | Valid,nonPointer,Grace Delay to Shutdown (sec),关机的宽限延时(秒):
51 | Valid,nonPointer,Grace Time,宽限时间
52 | Valid,nonPointer,Help,帮助
53 | Valid,nonPointer,Hibernate,休眠
54 | Valid,nonPointer,Hide ChangeLog,隐藏更新日志
55 | Valid,nonPointer,Immediate Shutdown,立即关机
56 | Valid,nonPointer,Immediate stop action,即时停机操作
57 | Valid,nonPointer,Import Ini File (v1.x),导入 Ini 文件(v1.x 版本)
58 | Valid,Gawindx,Indicates whether a shutdown should be performed when the NUT server signals a forced shutdown (FSD = Force ShutDown),指示当NUT服务器发出强制关机信号(FSD)时是否应执行关机操作
59 | Valid,nonPointer,Input Frequency,输入频率
60 | Valid,nonPointer,Input Voltage,输入电压
61 | Valid,Gawindx,Item Properties,项目属性
62 | To Validate,Gawindx,List UPS Variables,UPS变量列表
63 | Valid,nonPointer,Log file log level,日志记录等级
64 | Valid,nonPointer,Logging level,日志等级
65 | Valid,nonPointer,Logging level.,日志等级。
66 | Valid,nonPointer,Login,登录
67 | Valid,nonPointer,Login credentials to the Nut server (leave blank if not required),Nut服务器的登录凭据(如果不需要,请留空)
68 | Valid,nonPointer,Lost Connect To {0}:{1},断开了至 {0} 的连接:{1}
69 | Valid,nonPointer,Low Battery,电池电量过低
70 | Valid,nonPointer,Lower backup time limit triggering the shutdown procedure. Accepted value: Numeric value from 0 to 3600.,触发停机流程的最低续航时间。取值:0-3600 之间的数值。
71 | Valid,nonPointer,Lower limit of the battery level triggering the shutdown procedure. Accepted value: Numeric value from 0 to 100.,触发停机流程的最低电池电量百分比。取值:0-100 之间的数值。
72 | Valid,nonPointer,Manufacturer :,制造商:
73 | Valid,nonPointer,Max,最高
74 | Valid,nonPointer,Max Retry reached. Wait for manual Reconnection,达到最大重试次数。等待手动重连。
75 | Valid,nonPointer,Maximum Battery Voltage. Accepted value: Numeric value from 0 to 100.,最高电池电压。取值:0-100 之间的数值。
76 | Valid,nonPointer,Maximum input frequency. Accepted value: Numeric value from 0 to 100.,最高输入频率。取值:0-100 之间的数值。
77 | Valid,nonPointer,Maximum input voltage. Accepted value: Numeric value from 0 to 999.,最高输入电压。取值:0-999 之间的数值。
78 | Valid,nonPointer,Maximum Load Level of the UPS. Accepted value: Numeric value from 0 to 100.,最高 UPS 电量等级。取值:0-100 之间的数值。
79 | Valid,nonPointer,Maximum Output Voltage. Accepted value: Numeric value from 0 to 999.,最高输出电压。取值:0-999 之间的数值。
80 | Valid,nonPointer,Min,最低
81 | Valid,Gawindx,Minimize to tray,最小化至系统托盘
82 | Valid,nonPointer,Minimum Battery Voltage. Accepted value: Numeric value from 0 to 100.,最低电池电压。取值:0-100 之间的数值。
83 | Valid,nonPointer,Minimum Charge Level of the UPS. Accepted value: Numeric value from 0 to 100.,最低 UPS 电量等级。取值:0-100 之间的数值。
84 | Valid,nonPointer,Minimum input frequency. Accepted value: Numeric value from 0 to 100.,最低输入频率。取值:0-100 之间的数值。
85 | Valid,nonPointer,Minimum input voltage. Accepted value: Numeric value from 0 to 999.,最低输入电压。取值:0-999 之间的数值。
86 | Valid,nonPointer,Minimum Output Voltage. Accepted value: Numeric value from 0 to 999.,最低输出电压。取值:0-999 之间的数值。
87 | Valid,nonPointer,Miscellanous,其他
88 | Valid,nonPointer,Monthly,每月
89 | Valid,nonPointer,Name :,名称:
90 | Valid,nonPointer,No Update Available,没有可用的更新
91 | Valid,nonPointer,Not Connected,未连接
92 | Valid,nonPointer,Notice,注意
93 | Valid,nonPointer,NUT host,NUT 主机
94 | Valid,nonPointer,NUT Port,NUT 端口
95 | Valid,nonPointer,Nut server address. Accepted value: IPV4 / IPV6 / FQDN address.,Nut 服务器地址。取值:IPv4/IPv6/FQDN 地址
96 | To validate,Gawindx,NUT server connection identifier,NUT服务器连接标识符
97 | To validate,Gawindx,NUT server login password,NUT服务器登录密码
98 | Valid,nonPointer,Nut Server Port Number (default = 3493). Accepted value: Numeric value from 1 to 65535.,Nut 服务器端口(默认为3493)。取值:1-65535 之间的数值。
99 | Valid,nonPointer,Ok,好的
100 | Valid,nonPointer,Old ups.ini imported,导入了旧的 ups.ini
101 | Valid,nonPointer,Old ups.ini imported Ini File Moved to {0}.old,导入了旧的 ups.ini Ini 文件重命名为 {0}.old
102 | Valid,nonPointer,On Battery ({0}%),使用电池中 ({0}%)
103 | Valid,nonPointer,On Line,使用市电中
104 | Valid,nonPointer,Open the log file.,打开日志文件。
105 | Valid,nonPointer,Options,选项
106 | Valid,nonPointer,Output Voltage,输出电压
107 | Valid,nonPointer,Password,密码
108 | Valid,Gawindx,Polling Interval,轮询间隔
109 | Valid,nonPointer,Reconnect,重新连接
110 | Valid,nonPointer,Reconnection In Progress,重连中
111 | Valid,nonPointer,Reduced to the taskbar or Systray.,缩小至任务栏或系统托盘。
112 | Valid,nonPointer,Re-establish connection,重新建立连接
113 | Valid,Gawindx,Reload,重载
114 | Valid,nonPointer,Remaining Time :,剩余时间:
115 | To Validate,Gawindx,Restarting WinNUT after waking up from Windows.,从Windows唤醒后重新启动WinNUT。
116 | Valid,nonPointer,Sends in Systray at closing.,关闭程序时缩小至托盘。
117 | Valid,nonPointer,Serial :,序列号:
118 | Valid,nonPointer,Sets the input frequency if not supplied by the UPS.,设置输入频率(如果UPS未提供)
119 | Valid,nonPointer,Settings,设置
120 | Valid,nonPointer,Show ChangeLog,显示更新日志
121 | Valid,nonPointer,Shutdown,关机
122 | Valid,nonPointer,Shutdown if battery lower than,如果电池低于百分比则关机
123 | Valid,nonPointer,Shutdown if runtime lower than (sec),如果续航时间低于则关机
124 | Valid,Gawindx,Shutdown on NUT's FSD Signal,收到 FSD(强制关机)信号后关机
125 | Valid,nonPointer,Shutdown Options,关机选项
126 | Valid,nonPointer,Sleep,睡眠
127 | Valid,nonPointer,Stable,稳定
128 | Valid,nonPointer,Stable Or Dev Branch,稳定或开发分支
129 | Valid,nonPointer,Start Minimized,启动时最小化当前应用
130 | Valid,nonPointer,Start with Windows,随 Windows 启动当前应用
131 | Valid,nonPointer,Starts the shutdown procedure immediately or timed.,立刻或定时执行关机流程。
132 | Valid,nonPointer,Starts WinNut Minimized.,启动时最小化 WinNUT。
133 | Valid,nonPointer,Starts WinNUT when Windows starts.,随 Windows 启动 WinNUT。
134 | To validate,Gawindx,Stop condition imposed by the NUT server,NUT服务器施加的停止条件
135 | Valid,nonPointer,Stop procedure delay if delayed. Accepted value: Numeric value from 0 to 3600.,停机流程延时。取值:0-3600 秒之间的数值。
136 | Valid,gawindx,Time between each update of UPS data (default = 5).Accepted value: Numerical value from 1 to 60 seconds.,UPS 数据的更新频率(默认值5秒)。接受值:1到60秒之间的数值。
137 | Valid,nonPointer,Try {0} of {1},尝试 {1} 的 {0}
138 | Valid,nonPointer,Try Reconnect {0} / {1},尝试重连 {0} / {1}
139 | Valid,nonPointer,Type of Stop,停机类型
140 | Valid,nonPointer,Type of stop at the end of the stop procedure.,停机流程结束时的停机类型
141 | Valid,nonPointer,Unknown UPS Name,未知的 UPS 名称
142 | Valid,nonPointer,Update,更新
143 | Valid,nonPointer,Update Available : Version {0},可用的新版本:{0}
144 | Valid,nonPointer,Update WinNUT-Client Now? Ok to Close WinNut and Install New Version Cancel to Save Msi and Install Later,立即更新WinNUT-Client吗?单击确定以关闭WinNut并安装新版本 取消以保存 Msi 并于稍后安装
145 | Valid,nonPointer,UPS Battery Low,UPS 电池电量低
146 | Valid,nonPointer,UPS Load,UPS 负载
147 | Valid,nonPointer,UPS Name,UPS 名称
148 | Valid,nonPointer,UPS name to monitor. Accepted Value: Name of the UPS configured in the Nut server.,监控的 UPS 名称。允许值:在 UPS 的 Nut 服务端所配置的名称。
149 | Valid,nonPointer,UPS On Battery,UPS 使用电池工作
150 | Valid,nonPointer,UPS On Line,UPS 已接入市电
151 | Valid,nonPointer,UPS Overload,UPS 过载
152 | Valid,nonPointer,UPS Variable,UPS 变量
153 | Valid,nonPointer,Use the Stable or Devellop branch during verification.,在验证期间使用稳定或开发分支。
154 | Valid,Gawindx,Value :,值:
155 | Valid,nonPointer,Verify Update,验证更新
156 | Valid,nonPointer,Verify Update At Start,在启动时验证更新
157 | Valid,nonPointer,Version {0} Available,新版本 {0} 可供更新
158 | Valid,nonPointer,Weekly,每周
159 | Valid,nonPointer,WinNut Preferences Changed,WinNut 设置已修改
160 | to Validate, Gawindx,Windows standby. WinNUT will disconnect.,Windows待机。 WinNUT将断开连接。
161 | Valid,nonPointer,Wrong Login ID (Username or Password),错误的登录凭据(用户名或密码)
--------------------------------------------------------------------------------
/WinNUT_V2/.editorconfig:
--------------------------------------------------------------------------------
1 | # Pour en savoir plus sur .editorconfig, consultez https://aka.ms/editorconfigdocs
2 | ###############################
3 | # Core EditorConfig Options #
4 | ###############################
5 | # All files
6 | [*]
7 | indent_style = space
8 | file_header_template = WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.\nCopyright (C) 2019-2021 Gawindx (Decaux Nicolas)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the\nGNU General Public License as published by the Free Software Foundation, either version 3 of the\nLicense, or any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.\nIf not, see https://www.gnu.org/licenses/.\n
9 | # Code files
10 | [*.{cs,csx,vb,vbx}]
11 | indent_size = 4
12 | insert_final_newline = true
13 | charset = utf-8-bom
14 | ###############################
15 | # .NET Coding Conventions #
16 | ###############################
17 | [*.{cs,vb}]
18 | # Organize usings
19 | dotnet_sort_system_directives_first = true
20 | # this. preferences
21 | dotnet_style_qualification_for_field = false:silent
22 | dotnet_style_qualification_for_property = false:silent
23 | dotnet_style_qualification_for_method = false:silent
24 | dotnet_style_qualification_for_event = false:silent
25 | # Language keywords vs BCL types preferences
26 | dotnet_style_predefined_type_for_locals_parameters_members = true:silent
27 | dotnet_style_predefined_type_for_member_access = true:silent
28 | # Parentheses preferences
29 | dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
30 | dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
31 | dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
32 | dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
33 | # Modifier preferences
34 | dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
35 | dotnet_style_readonly_field = true:suggestion
36 | # Expression-level preferences
37 | dotnet_style_object_initializer = true:suggestion
38 | dotnet_style_collection_initializer = true:suggestion
39 | dotnet_style_explicit_tuple_names = true:suggestion
40 | dotnet_style_null_propagation = true:suggestion
41 | dotnet_style_coalesce_expression = true:suggestion
42 | dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
43 | dotnet_style_prefer_inferred_tuple_names = true:suggestion
44 | dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
45 | dotnet_style_prefer_auto_properties = true:silent
46 | dotnet_style_prefer_conditional_expression_over_assignment = true:silent
47 | dotnet_style_prefer_conditional_expression_over_return = true:silent
48 | ###############################
49 | # Naming Conventions #
50 | ###############################
51 | # Style Definitions
52 | dotnet_naming_style.pascal_case_style.capitalization = pascal_case
53 | # Use PascalCase for constant fields
54 | dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
55 | dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
56 | dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
57 | dotnet_naming_symbols.constant_fields.applicable_kinds = field
58 | dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
59 | dotnet_naming_symbols.constant_fields.required_modifiers = const
60 | ###############################
61 | # C# Coding Conventions #
62 | ###############################
63 | [*.cs]
64 | # var preferences
65 | csharp_style_var_for_built_in_types = true:silent
66 | csharp_style_var_when_type_is_apparent = true:silent
67 | csharp_style_var_elsewhere = true:silent
68 | # Expression-bodied members
69 | csharp_style_expression_bodied_methods = false:silent
70 | csharp_style_expression_bodied_constructors = false:silent
71 | csharp_style_expression_bodied_operators = false:silent
72 | csharp_style_expression_bodied_properties = true:silent
73 | csharp_style_expression_bodied_indexers = true:silent
74 | csharp_style_expression_bodied_accessors = true:silent
75 | # Pattern matching preferences
76 | csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
77 | csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
78 | # Null-checking preferences
79 | csharp_style_throw_expression = true:suggestion
80 | csharp_style_conditional_delegate_call = true:suggestion
81 | # Modifier preferences
82 | csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
83 | # Expression-level preferences
84 | csharp_prefer_braces = true:silent
85 | csharp_style_deconstructed_variable_declaration = true:suggestion
86 | csharp_prefer_simple_default_expression = true:suggestion
87 | csharp_style_pattern_local_over_anonymous_function = true:suggestion
88 | csharp_style_inlined_variable_declaration = true:suggestion
89 | ###############################
90 | # C# Formatting Rules #
91 | ###############################
92 | # New line preferences
93 | csharp_new_line_before_open_brace = all
94 | csharp_new_line_before_else = true
95 | csharp_new_line_before_catch = true
96 | csharp_new_line_before_finally = true
97 | csharp_new_line_before_members_in_object_initializers = true
98 | csharp_new_line_before_members_in_anonymous_types = true
99 | csharp_new_line_between_query_expression_clauses = true
100 | # Indentation preferences
101 | csharp_indent_case_contents = true
102 | csharp_indent_switch_labels = true
103 | csharp_indent_labels = flush_left
104 | # Space preferences
105 | csharp_space_after_cast = false
106 | csharp_space_after_keywords_in_control_flow_statements = true
107 | csharp_space_between_method_call_parameter_list_parentheses = false
108 | csharp_space_between_method_declaration_parameter_list_parentheses = false
109 | csharp_space_between_parentheses = false
110 | csharp_space_before_colon_in_inheritance_clause = true
111 | csharp_space_after_colon_in_inheritance_clause = true
112 | csharp_space_around_binary_operators = before_and_after
113 | csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
114 | csharp_space_between_method_call_name_and_opening_parenthesis = false
115 | csharp_space_between_method_call_empty_parameter_list_parentheses = false
116 | # Wrapping preferences
117 | csharp_preserve_single_line_statements = true
118 | csharp_preserve_single_line_blocks = true
119 | ###############################
120 | # VB Coding Conventions #
121 | ###############################
122 | [*.vb]
123 | # Modifier preferences
124 | visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
125 |
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/AGauge.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace System.Windows.Forms
2 | {
3 | partial class AGauge
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing)
17 | {
18 | if (null != gaugeBitmap)
19 | gaugeBitmap.Dispose();
20 |
21 | if (null != components)
22 | components.Dispose();
23 | }
24 | base.Dispose(disposing);
25 | }
26 |
27 | #region Component Designer generated code
28 |
29 | ///
30 | /// Required method for Designer support - do not modify
31 | /// the contents of this method with the code editor.
32 | ///
33 | private void InitializeComponent()
34 | {
35 | components = new System.ComponentModel.Container();
36 | }
37 |
38 | #endregion
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/AGauge.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/AGauge_mod/AGauge.bmp
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/AGauge.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}
9 | Library
10 | Properties
11 | System.Windows.Forms
12 | AGauge
13 | v4.0
14 | 512
15 |
16 |
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 | false
25 |
26 |
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | Component
48 |
49 |
50 | AGauge.cs
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
68 |
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/AGauge.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/AGauge.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30204.135
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AGauge", "AGauge.csproj", "{CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {1586E473-36E5-4EDA-8ADA-4217772EEF1F}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/WinNUT_V2/AGauge_mod/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("AGauge")]
9 | [assembly: AssemblyDescription("AGauge Compoent by A.J.Bauer")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Code Art Engineering")]
12 | [assembly: AssemblyProduct("AGauge")]
13 | [assembly: AssemblyCopyright("Copyright © CodeArtEng 2012")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("cddfb4ae-46c7-4151-98dd-cbd9e7c1d04d")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("2.0.2.0")]
36 | [assembly: AssemblyFileVersion("2.0.2.0")]
37 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/.editorconfig:
--------------------------------------------------------------------------------
1 | # Pour en savoir plus sur .editorconfig, consultez https://aka.ms/editorconfigdocs
2 | ###############################
3 | # Core EditorConfig Options #
4 | ###############################
5 | root = true
6 | # All files
7 | [*]
8 | indent_style = space
9 | file_header_template = WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.\nCopyright (C) 2019-2021 Gawindx (Decaux Nicolas)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the\nGNU General Public License as published by the Free Software Foundation, either version 3 of the\nLicense, or any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.\nIf not, see https://www.gnu.org/licenses/.\n
10 | # Code files
11 | [*.{cs,csx,vb,vbx}]
12 | indent_size = 4
13 | insert_final_newline = true
14 | charset = utf-8-bom
15 | ###############################
16 | # .NET Coding Conventions #
17 | ###############################
18 | [*.{cs,vb}]
19 | # Organize usings
20 | dotnet_sort_system_directives_first = true
21 | # this. preferences
22 | dotnet_style_qualification_for_field = false:silent
23 | dotnet_style_qualification_for_property = false:silent
24 | dotnet_style_qualification_for_method = false:silent
25 | dotnet_style_qualification_for_event = false:silent
26 | # Language keywords vs BCL types preferences
27 | dotnet_style_predefined_type_for_locals_parameters_members = true:silent
28 | dotnet_style_predefined_type_for_member_access = true:silent
29 | # Parentheses preferences
30 | dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
31 | dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
32 | dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
33 | dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
34 | # Modifier preferences
35 | dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
36 | dotnet_style_readonly_field = true:suggestion
37 | # Expression-level preferences
38 | dotnet_style_object_initializer = true:suggestion
39 | dotnet_style_collection_initializer = true:suggestion
40 | dotnet_style_explicit_tuple_names = true:suggestion
41 | dotnet_style_null_propagation = true:suggestion
42 | dotnet_style_coalesce_expression = true:suggestion
43 | dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
44 | dotnet_style_prefer_inferred_tuple_names = true:suggestion
45 | dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
46 | dotnet_style_prefer_auto_properties = true:silent
47 | dotnet_style_prefer_conditional_expression_over_assignment = true:silent
48 | dotnet_style_prefer_conditional_expression_over_return = true:silent
49 | ###############################
50 | # Naming Conventions #
51 | ###############################
52 | # Style Definitions
53 | dotnet_naming_style.pascal_case_style.capitalization = pascal_case
54 | # Use PascalCase for constant fields
55 | dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
56 | dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
57 | dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
58 | dotnet_naming_symbols.constant_fields.applicable_kinds = field
59 | dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
60 | dotnet_naming_symbols.constant_fields.required_modifiers = const
61 | ###############################
62 | # C# Coding Conventions #
63 | ###############################
64 | [*.cs]
65 | # var preferences
66 | csharp_style_var_for_built_in_types = true:silent
67 | csharp_style_var_when_type_is_apparent = true:silent
68 | csharp_style_var_elsewhere = true:silent
69 | # Expression-bodied members
70 | csharp_style_expression_bodied_methods = false:silent
71 | csharp_style_expression_bodied_constructors = false:silent
72 | csharp_style_expression_bodied_operators = false:silent
73 | csharp_style_expression_bodied_properties = true:silent
74 | csharp_style_expression_bodied_indexers = true:silent
75 | csharp_style_expression_bodied_accessors = true:silent
76 | # Pattern matching preferences
77 | csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
78 | csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
79 | # Null-checking preferences
80 | csharp_style_throw_expression = true:suggestion
81 | csharp_style_conditional_delegate_call = true:suggestion
82 | # Modifier preferences
83 | csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
84 | # Expression-level preferences
85 | csharp_prefer_braces = true:silent
86 | csharp_style_deconstructed_variable_declaration = true:suggestion
87 | csharp_prefer_simple_default_expression = true:suggestion
88 | csharp_style_pattern_local_over_anonymous_function = true:suggestion
89 | csharp_style_inlined_variable_declaration = true:suggestion
90 | ###############################
91 | # C# Formatting Rules #
92 | ###############################
93 | # New line preferences
94 | csharp_new_line_before_open_brace = all
95 | csharp_new_line_before_else = true
96 | csharp_new_line_before_catch = true
97 | csharp_new_line_before_finally = true
98 | csharp_new_line_before_members_in_object_initializers = true
99 | csharp_new_line_before_members_in_anonymous_types = true
100 | csharp_new_line_between_query_expression_clauses = true
101 | # Indentation preferences
102 | csharp_indent_case_contents = true
103 | csharp_indent_switch_labels = true
104 | csharp_indent_labels = flush_left
105 | # Space preferences
106 | csharp_space_after_cast = false
107 | csharp_space_after_keywords_in_control_flow_statements = true
108 | csharp_space_between_method_call_parameter_list_parentheses = false
109 | csharp_space_between_method_declaration_parameter_list_parentheses = false
110 | csharp_space_between_parentheses = false
111 | csharp_space_before_colon_in_inheritance_clause = true
112 | csharp_space_after_colon_in_inheritance_clause = true
113 | csharp_space_around_binary_operators = before_and_after
114 | csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
115 | csharp_space_between_method_call_name_and_opening_parenthesis = false
116 | csharp_space_between_method_call_empty_parameter_list_parentheses = false
117 | # Wrapping preferences
118 | csharp_preserve_single_line_statements = true
119 | csharp_preserve_single_line_blocks = true
120 | ###############################
121 | # VB Coding Conventions #
122 | ###############################
123 | [*.vb]
124 | # Modifier preferences
125 | visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
126 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.Designer.vb:
--------------------------------------------------------------------------------
1 | _
2 | Partial Class About_Gui
3 | Inherits System.Windows.Forms.Form
4 |
5 | 'Form remplace la méthode Dispose pour nettoyer la liste des composants.
6 | _
7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8 | Try
9 | If disposing AndAlso components IsNot Nothing Then
10 | components.Dispose()
11 | End If
12 | Finally
13 | MyBase.Dispose(disposing)
14 | End Try
15 | End Sub
16 |
17 | 'Requise par le Concepteur Windows Form
18 | Private components As System.ComponentModel.IContainer
19 |
20 | 'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
21 | 'Elle peut être modifiée à l'aide du Concepteur Windows Form.
22 | 'Ne la modifiez pas à l'aide de l'éditeur de code.
23 | _
24 | Private Sub InitializeComponent()
25 | Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(About_Gui))
26 | Me.GBox = New System.Windows.Forms.GroupBox()
27 | Me.LkLbl_Github = New System.Windows.Forms.LinkLabel()
28 | Me.Lbl_Github = New System.Windows.Forms.Label()
29 | Me.Lbl_Sf = New System.Windows.Forms.Label()
30 | Me.Lbl_Copyright_2019 = New System.Windows.Forms.Label()
31 | Me.Lbl_Copyright_2006 = New System.Windows.Forms.Label()
32 | Me.Lbl_ProgNameVersion = New System.Windows.Forms.Label()
33 | Me.PictureBox1 = New System.Windows.Forms.PictureBox()
34 | Me.Btn_OK = New System.Windows.Forms.Button()
35 | Me.Label_License = New System.Windows.Forms.Label()
36 | Me.GBox.SuspendLayout()
37 | CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
38 | Me.SuspendLayout()
39 | '
40 | 'GBox
41 | '
42 | Me.GBox.Controls.Add(Me.Label_License)
43 | Me.GBox.Controls.Add(Me.LkLbl_Github)
44 | Me.GBox.Controls.Add(Me.Lbl_Github)
45 | Me.GBox.Controls.Add(Me.Lbl_Sf)
46 | Me.GBox.Controls.Add(Me.Lbl_Copyright_2019)
47 | Me.GBox.Controls.Add(Me.Lbl_Copyright_2006)
48 | Me.GBox.Controls.Add(Me.Lbl_ProgNameVersion)
49 | Me.GBox.Controls.Add(Me.PictureBox1)
50 | Me.GBox.Location = New System.Drawing.Point(4, 4)
51 | Me.GBox.Name = "GBox"
52 | Me.GBox.Size = New System.Drawing.Size(360, 364)
53 | Me.GBox.TabIndex = 0
54 | Me.GBox.TabStop = False
55 | '
56 | 'LkLbl_Github
57 | '
58 | Me.LkLbl_Github.AutoSize = True
59 | Me.LkLbl_Github.Location = New System.Drawing.Point(8, 167)
60 | Me.LkLbl_Github.Name = "LkLbl_Github"
61 | Me.LkLbl_Github.Size = New System.Drawing.Size(215, 13)
62 | Me.LkLbl_Github.TabIndex = 6
63 | Me.LkLbl_Github.TabStop = True
64 | Me.LkLbl_Github.Text = "https://github.com/gawindx/WinNUT-Client"
65 | '
66 | 'Lbl_Github
67 | '
68 | Me.Lbl_Github.AutoSize = True
69 | Me.Lbl_Github.Location = New System.Drawing.Point(8, 154)
70 | Me.Lbl_Github.Name = "Lbl_Github"
71 | Me.Lbl_Github.Size = New System.Drawing.Size(146, 13)
72 | Me.Lbl_Github.TabIndex = 5
73 | Me.Lbl_Github.Text = "Source Available from GitHub"
74 | '
75 | 'Lbl_Sf
76 | '
77 | Me.Lbl_Sf.AutoSize = True
78 | Me.Lbl_Sf.Location = New System.Drawing.Point(8, 119)
79 | Me.Lbl_Sf.Name = "Lbl_Sf"
80 | Me.Lbl_Sf.Size = New System.Drawing.Size(220, 26)
81 | Me.Lbl_Sf.TabIndex = 4
82 | Me.Lbl_Sf.Text = "Based from Winnut Sf" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "https://sourceforge.net/projects/winnutclient"
83 | '
84 | 'Lbl_Copyright_2019
85 | '
86 | Me.Lbl_Copyright_2019.AutoSize = True
87 | Me.Lbl_Copyright_2019.Location = New System.Drawing.Point(122, 90)
88 | Me.Lbl_Copyright_2019.Name = "Lbl_Copyright_2019"
89 | Me.Lbl_Copyright_2019.Size = New System.Drawing.Size(179, 26)
90 | Me.Lbl_Copyright_2019.TabIndex = 3
91 | Me.Lbl_Copyright_2019.Text = "Copyright Gawindx (Decaux Nicolas)" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "2019-2020"
92 | '
93 | 'Lbl_Copyright_2006
94 | '
95 | Me.Lbl_Copyright_2006.AutoSize = True
96 | Me.Lbl_Copyright_2006.Location = New System.Drawing.Point(122, 53)
97 | Me.Lbl_Copyright_2006.Name = "Lbl_Copyright_2006"
98 | Me.Lbl_Copyright_2006.Size = New System.Drawing.Size(137, 26)
99 | Me.Lbl_Copyright_2006.TabIndex = 2
100 | Me.Lbl_Copyright_2006.Text = "Copyright Michael Liberman" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "© 2006-2007"
101 | '
102 | 'Lbl_ProgNameVersion
103 | '
104 | Me.Lbl_ProgNameVersion.AutoSize = True
105 | Me.Lbl_ProgNameVersion.Location = New System.Drawing.Point(119, 20)
106 | Me.Lbl_ProgNameVersion.Name = "Lbl_ProgNameVersion"
107 | Me.Lbl_ProgNameVersion.Size = New System.Drawing.Size(184, 13)
108 | Me.Lbl_ProgNameVersion.TabIndex = 1
109 | Me.Lbl_ProgNameVersion.Text = "WinNUT_Globals.LongProgramName"
110 | '
111 | 'PictureBox1
112 | '
113 | Me.PictureBox1.Image = Global.WinNUT_client.My.Resources.Resources.ups_104x104
114 | Me.PictureBox1.Location = New System.Drawing.Point(8, 12)
115 | Me.PictureBox1.Name = "PictureBox1"
116 | Me.PictureBox1.Size = New System.Drawing.Size(104, 104)
117 | Me.PictureBox1.TabIndex = 0
118 | Me.PictureBox1.TabStop = False
119 | '
120 | 'Btn_OK
121 | '
122 | Me.Btn_OK.Location = New System.Drawing.Point(157, 372)
123 | Me.Btn_OK.Name = "Btn_OK"
124 | Me.Btn_OK.Size = New System.Drawing.Size(70, 23)
125 | Me.Btn_OK.TabIndex = 1
126 | Me.Btn_OK.Text = "OK"
127 | Me.Btn_OK.UseVisualStyleBackColor = True
128 | '
129 | 'Label_License
130 | '
131 | Me.Label_License.AutoSize = True
132 | Me.Label_License.Location = New System.Drawing.Point(8, 200)
133 | Me.Label_License.Name = "Label_License"
134 | Me.Label_License.Size = New System.Drawing.Size(344, 156)
135 | Me.Label_License.TabIndex = 7
136 | Me.Label_License.Text = resources.GetString("Label_License.Text")
137 | '
138 | 'About_Gui
139 | '
140 | Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
141 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
142 | Me.ClientSize = New System.Drawing.Size(368, 401)
143 | Me.Controls.Add(Me.Btn_OK)
144 | Me.Controls.Add(Me.GBox)
145 | Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
146 | Me.MaximizeBox = False
147 | Me.MinimizeBox = False
148 | Me.Name = "About_Gui"
149 | Me.Text = "About"
150 | Me.GBox.ResumeLayout(False)
151 | Me.GBox.PerformLayout()
152 | CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
153 | Me.ResumeLayout(False)
154 |
155 | End Sub
156 |
157 | Friend WithEvents GBox As GroupBox
158 | Friend WithEvents PictureBox1 As PictureBox
159 | Friend WithEvents Lbl_ProgNameVersion As Label
160 | Friend WithEvents Lbl_Copyright_2019 As Label
161 | Friend WithEvents Lbl_Copyright_2006 As Label
162 | Friend WithEvents Lbl_Github As Label
163 | Friend WithEvents Lbl_Sf As Label
164 | Friend WithEvents LkLbl_Github As LinkLabel
165 | Friend WithEvents Btn_OK As Button
166 | Friend WithEvents Label_License As Label
167 | End Class
168 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Public Class About_Gui
11 | Private LogFile As Logger
12 | Private Sub About_Gui_Load(sender As Object, e As EventArgs) Handles MyBase.Load
13 | Lbl_ProgNameVersion.Text = WinNUT_Globals.LongProgramName & vbNewLine & "Version " & WinNUT_Globals.ProgramVersion
14 | Lbl_Copyright_2019.Text = Strings.Replace(WinNUT_Globals.Copyright, "©", vbNewLine & "©")
15 | LkLbl_Github.Text = WinNUT_Globals.GitHubURL
16 | Me.Icon = WinNUT.Icon
17 | Me.LogFile = WinNUT.LogFile
18 | LogFile.LogTracing("Load About Gui", LogLvl.LOG_DEBUG, Me)
19 | End Sub
20 |
21 | Private Sub Btn_OK_Click(sender As Object, e As EventArgs) Handles Btn_OK.Click
22 | LogFile.LogTracing("Close About Gui", LogLvl.LOG_DEBUG, Me)
23 | Me.Close()
24 | End Sub
25 |
26 | Private Sub LkLbl_Github_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LkLbl_Github.LinkClicked
27 | System.Diagnostics.Process.Start(sender.Text)
28 | End Sub
29 | End Class
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/About_Gui.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
32 |
35 |
38 |
41 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/ApplicationEvents.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Namespace My
11 | ' Les événements suivants sont disponibles pour MyApplication :
12 | ' Startup : Déclenché au démarrage de l'application avant la création du formulaire de démarrage.
13 | ' Shutdown : Déclenché après la fermeture de tous les formulaires de l'application. Cet événement n'est pas déclenché si l'application se termine de façon anormale.
14 | ' UnhandledException : Déclenché si l'application rencontre une exception non gérée.
15 | ' StartupNextInstance : Déclenché lors du lancement d'une application à instance unique et si cette application est déjà active.
16 | ' NetworkAvailabilityChanged : Déclenché quand la connexion réseau est connectée ou déconnectée.
17 | Partial Friend Class MyApplication
18 | Private CrashBug_Form As New Form
19 | Private BtnClose As New Button
20 | Private BtnGenerate As New Button
21 | Private Msg_Crash As New Label
22 | Private Msg_Error As New TextBox
23 | Private Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException
24 | e.ExitApplication = False
25 |
26 | Dim Frms As New FormCollection
27 | Frms = Application.OpenForms()
28 |
29 | With Msg_Crash
30 | .Location = New Point(6, 6)
31 | .Text = "WinNUT has encountered a critical error and will close soon." & vbNewLine &
32 | "You can :" & vbNewLine &
33 | "- generate a crash report which will contain most of the configured parameters (without sensitive" & vbNewLine &
34 | " information such as your connection information to your NUT server), the last 50 events logged" & vbNewLine &
35 | " and the error message displayed below." & vbNewLine &
36 | " This information will Then be copied To your clipboard For easy reporting." & vbNewLine &
37 | "- simply close WinNUT without generating a report."
38 | .Size = New Point(470, 100)
39 | End With
40 |
41 | Dim Exception_data As String = String.Format("Exception type: {0}" & vbNewLine & "Exception message: {1}" & vbNewLine & "Exception stack trace: " & vbNewLine & "{2}",
42 | e.Exception.GetType.ToString, e.Exception.Message, e.Exception.StackTrace)
43 | With Msg_Error
44 | .Location = New Point(6, 110)
45 | .Multiline = True
46 | .ScrollBars = ScrollBars.Vertical
47 | .ReadOnly = True
48 | .Text = Exception_data
49 | .Size = New Point(470, 300)
50 | End With
51 |
52 | With BtnClose
53 | .Location = New Point(370, 425)
54 | .TextAlign = ContentAlignment.MiddleCenter
55 | .Text = "Close WinNUT"
56 | .Size = New Point(100, 25)
57 | End With
58 |
59 | With BtnGenerate
60 | .Location = New Point(160, 425)
61 | .TextAlign = ContentAlignment.MiddleCenter
62 | .Text = "Generate Report and Close WinNUT"
63 | .Size = New Point(200, 25)
64 | End With
65 |
66 | With CrashBug_Form
67 | .Icon = Resources.WinNut
68 | .Size = New Point(500, 500)
69 | .FormBorderStyle = FormBorderStyle.Sizable
70 | .MaximizeBox = False
71 | .MinimizeBox = False
72 | .StartPosition = FormStartPosition.CenterParent
73 | .Text = "Critical Error Occurred in WinNUT"
74 | .Controls.Add(Msg_Crash)
75 | .Controls.Add(Msg_Error)
76 | .Controls.Add(BtnClose)
77 | .Controls.Add(BtnGenerate)
78 | End With
79 |
80 | AddHandler BtnClose.Click, AddressOf My.Application.Close_Button_Click
81 | AddHandler BtnGenerate.Click, AddressOf My.Application.Generate_Button_Click
82 | AddHandler CrashBug_Form.FormClosing, AddressOf My.Application.CrashBug_FormClosing
83 |
84 | CrashBug_Form.Show()
85 | CrashBug_Form.BringToFront()
86 | WinNUT.HasCrased = True
87 | End Sub
88 |
89 | Private Sub CrashBug_FormClosing(sender As Object, e As FormClosingEventArgs)
90 | End
91 | End Sub
92 | Private Sub Close_Button_Click(sender As Object, e As EventArgs)
93 | End
94 | End Sub
95 |
96 | Private Sub Generate_Button_Click(sender As Object, e As EventArgs)
97 | 'Generate a bug report with all essential datas
98 | Dim Crash_Report As String = "WinNUT Bug Report" & vbNewLine
99 | Dim WinNUT_Config As New Dictionary(Of String, Object)(WinNUT_Params.Arr_Reg_Key)
100 | Dim WinNUT_UserData_Dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\WinNUT-Client"
101 | Dim CrashLog_Dir = WinNUT_UserData_Dir & "\CrashLog"
102 | Dim CrashLog_Filename As String = "Crash_Report_" & Format(Now, "dd-MM-yyyy") & "_" &
103 | String.Format("{0}-{1}-{2}.txt", Now.Hour.ToString("00"), Now.Minute.ToString("00"), Now.Second.ToString("00"))
104 |
105 | For Each kvp As KeyValuePair(Of String, Object) In WinNUT_Params.Arr_Reg_Key
106 | Select Case kvp.Key
107 | Case "ServerAddress", "Port", "UPSName", "NutLogin", "NutPassword"
108 | WinNUT_Config.Remove(kvp.Key)
109 | End Select
110 | Next
111 |
112 | Crash_Report &= "Os Version : " & My.Computer.Info.OSVersion & vbNewLine
113 | Crash_Report &= "WinNUT Version : " & System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString & vbNewLine
114 |
115 | Crash_Report &= vbNewLine & "WinNUT Parameters : " & vbNewLine
116 |
117 | Crash_Report &= Newtonsoft.Json.JsonConvert.SerializeObject(WinNUT_Config, Newtonsoft.Json.Formatting.Indented) & vbNewLine
118 | Crash_Report &= vbNewLine & "Error Message : " & vbNewLine
119 | Crash_Report &= Msg_Error.Text & vbNewLine & vbNewLine
120 | Crash_Report &= "Last Events :" & vbNewLine
121 |
122 | For Each WinNUT_Event In WinNUT.LogFile.LastEvents
123 | Crash_Report &= WinNUT_Event & vbNewLine
124 | Next
125 | My.Computer.Clipboard.SetText(Crash_Report)
126 |
127 | If Not My.Computer.FileSystem.DirectoryExists(CrashLog_Dir) Then
128 | My.Computer.FileSystem.CreateDirectory(CrashLog_Dir)
129 | End If
130 |
131 | Dim CrashLog_Report As System.IO.StreamWriter
132 | CrashLog_Report = My.Computer.FileSystem.OpenTextFileWriter(CrashLog_Dir & "\" & CrashLog_Filename, True)
133 | CrashLog_Report.WriteLine(Crash_Report)
134 | CrashLog_Report.Close()
135 | End
136 | End Sub
137 | End Class
138 | End Namespace
139 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/CProgressBar.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Namespace WinFormControls
11 | Public Class CProgressBar
12 | Inherits ProgressBar
13 | Private Const WmPaint = 15
14 | Protected Overrides ReadOnly Property CreateParams() As CreateParams
15 | Get
16 | Dim result As CreateParams = MyBase.CreateParams
17 | If (Environment.OSVersion.Platform = PlatformID.Win32NT And Environment.OSVersion.Version.Major >= 6) Then
18 | Dim vIn() As Byte = New Byte() {0, 2, 0, 0, 0, 0, 0, 0}
19 | result.ExStyle = result.ExStyle Or BitConverter.ToInt32(vIn, 0) 'WS_EX_COMPOSITED
20 | End If
21 | Return result
22 | End Get
23 | End Property
24 |
25 | Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
26 | MyBase.WndProc(m)
27 | If (m.Msg = WmPaint) Then
28 | Dim graphics As Graphics = CreateGraphics()
29 | Dim brush As SolidBrush = New SolidBrush(ForeColor)
30 | Dim textSize As SizeF = graphics.MeasureString(Text, Font)
31 | graphics.DrawString(Text, Font, brush, (Width - textSize.Width) / 2, (Height - textSize.Height) / 2)
32 | End If
33 | End Sub
34 |
35 |
36 |
37 | Public Overrides Property Text As String
38 | Get
39 | Return MyBase.Text
40 | End Get
41 | Set
42 |
43 | MyBase.Text = Value
44 | Refresh()
45 | End Set
46 | End Property
47 |
48 |
49 |
50 | Public Overrides Property Font As Font
51 | Get
52 |
53 | Return MyBase.Font
54 | End Get
55 | Set
56 |
57 | MyBase.Font = Value
58 | Refresh()
59 | End Set
60 | End Property
61 | End Class
62 | End Namespace
63 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/CryptData.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Imports System.Security.Cryptography
11 | Imports System.Text
12 | Imports System.Management
13 | Public NotInheritable Class CryptData
14 | Private TripleDes As New TripleDESCryptoServiceProvider
15 | Sub New()
16 | ' Initialize the crypto provider.
17 |
18 | TripleDes.Key = TruncateHash(Get_UniqueKey_Hash(), TripleDes.KeySize \ 8)
19 | TripleDes.IV = TruncateHash("", TripleDes.BlockSize \ 8)
20 | End Sub
21 | Private Function TruncateHash(ByVal key As String, ByVal length As Integer) As Byte()
22 |
23 | Dim sha1 As New SHA1CryptoServiceProvider
24 |
25 | ' Hash the key.
26 | Dim keyBytes() As Byte =
27 | System.Text.Encoding.Unicode.GetBytes(key)
28 | Dim hash() As Byte = sha1.ComputeHash(keyBytes)
29 |
30 | ' Truncate or pad the hash.
31 | ReDim Preserve hash(length - 1)
32 | Return hash
33 | End Function
34 |
35 | Public Function EncryptData(ByVal plaintext As String) As String
36 |
37 | ' An empty string ("") passed as an argument is received as 'Nothing'
38 | If IsNothing(plaintext) Then
39 | plaintext = ""
40 | End If
41 |
42 | ' Convert the plaintext string to a byte array.
43 | Dim plaintextBytes() As Byte =
44 | System.Text.Encoding.Unicode.GetBytes(plaintext)
45 |
46 | ' Create the stream.
47 | Dim ms As New System.IO.MemoryStream
48 | ' Create the encoder to write to the stream.
49 | Dim encStream As New CryptoStream(ms,
50 | TripleDes.CreateEncryptor(),
51 | System.Security.Cryptography.CryptoStreamMode.Write)
52 |
53 | ' Use the crypto stream to write the byte array to the stream.
54 | encStream.Write(plaintextBytes, 0, plaintextBytes.Length)
55 | encStream.FlushFinalBlock()
56 |
57 | ' Convert the encrypted stream to a printable string.
58 | Return Convert.ToBase64String(ms.ToArray)
59 | End Function
60 |
61 | Public Function DecryptData(ByVal encryptedtext As String) As String
62 |
63 | ' Convert the encrypted text string to a byte array.
64 | Dim encryptedBytes() As Byte = Convert.FromBase64String(encryptedtext)
65 |
66 | ' Create the stream.
67 | Dim ms As New System.IO.MemoryStream
68 | ' Create the decoder to write to the stream.
69 | Dim decStream As New CryptoStream(ms,
70 | TripleDes.CreateDecryptor(), System.Security.Cryptography.CryptoStreamMode.Write)
71 |
72 | ' Use the crypto stream to write the byte array to the stream.
73 | decStream.Write(encryptedBytes, 0, encryptedBytes.Length)
74 | decStream.FlushFinalBlock()
75 |
76 | ' Convert the plaintext stream to a string.
77 | Return System.Text.Encoding.Unicode.GetString(ms.ToArray)
78 | End Function
79 | Public Function IsCryptedtData(ByVal encryptedtext As String) As Boolean
80 |
81 | Try
82 | ' Convert the encrypted text string to a byte array.
83 | Dim encryptedBytes() As Byte = Convert.FromBase64String(encryptedtext)
84 |
85 | If encryptedtext = EncryptData(DecryptData(encryptedtext)) Then
86 | Return True
87 | Else
88 | Return True
89 | End If
90 | Catch
91 | Return False
92 | End Try
93 | End Function
94 | Private Function Get_UniqueKey_Hash() As String
95 | Dim Unique_key = GetMotherBoardID() & GetProcessorId()
96 | Dim hash = New SHA1Managed().ComputeHash(Encoding.UTF8.GetBytes(Unique_key))
97 | Return String.Concat(hash.[Select](Function(b) b.ToString("x2")))
98 | End Function
99 |
100 | Private Function GetMotherBoardID() As String
101 | Dim query As New SelectQuery("Win32_BaseBoard")
102 | Dim search As New ManagementObjectSearcher(query)
103 | For Each info As ManagementObject In search.Get()
104 | Return info("SerialNumber").ToString()
105 | Next
106 | Return ""
107 | End Function
108 |
109 | Private Function GetProcessorId() As String
110 | Dim query As New SelectQuery("Win32_processor")
111 | Dim search As New ManagementObjectSearcher(query)
112 | Dim info As ManagementObject
113 | For Each info In search.Get()
114 | Return info("processorId").ToString()
115 | Next
116 | Return ""
117 | End Function
118 | End Class
119 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.Designer.vb:
--------------------------------------------------------------------------------
1 | _
2 | Partial Class List_Var_Gui
3 | Inherits System.Windows.Forms.Form
4 |
5 | 'Form remplace la méthode Dispose pour nettoyer la liste des composants.
6 | _
7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8 | Try
9 | If disposing AndAlso components IsNot Nothing Then
10 | components.Dispose()
11 | End If
12 | Finally
13 | MyBase.Dispose(disposing)
14 | End Try
15 | End Sub
16 |
17 | 'Requise par le Concepteur Windows Form
18 | Private components As System.ComponentModel.IContainer
19 |
20 | 'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
21 | 'Elle peut être modifiée à l'aide du Concepteur Windows Form.
22 | 'Ne la modifiez pas à l'aide de l'éditeur de code.
23 | _
24 | Private Sub InitializeComponent()
25 | Me.components = New System.ComponentModel.Container()
26 | Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(List_Var_Gui))
27 | Me.TView_UPSVar = New System.Windows.Forms.TreeView()
28 | Me.GB1 = New System.Windows.Forms.GroupBox()
29 | Me.Lbl_D_Value = New System.Windows.Forms.Label()
30 | Me.Lbl_V_Value = New System.Windows.Forms.Label()
31 | Me.Lbl_N_Value = New System.Windows.Forms.Label()
32 | Me.Lbl_D = New System.Windows.Forms.Label()
33 | Me.Lbl_V = New System.Windows.Forms.Label()
34 | Me.Lbl_Name = New System.Windows.Forms.Label()
35 | Me.Btn_Reload = New System.Windows.Forms.Button()
36 | Me.Btn_Clear = New System.Windows.Forms.Button()
37 | Me.Btn_Close = New System.Windows.Forms.Button()
38 | Me.Timer_Update_List = New System.Windows.Forms.Timer(Me.components)
39 | Me.Btn_Clip = New System.Windows.Forms.Button()
40 | Me.GB1.SuspendLayout()
41 | Me.SuspendLayout()
42 | '
43 | 'TView_UPSVar
44 | '
45 | resources.ApplyResources(Me.TView_UPSVar, "TView_UPSVar")
46 | Me.TView_UPSVar.Name = "TView_UPSVar"
47 | Me.TView_UPSVar.PathSeparator = "."
48 | '
49 | 'GB1
50 | '
51 | resources.ApplyResources(Me.GB1, "GB1")
52 | Me.GB1.Controls.Add(Me.Lbl_D_Value)
53 | Me.GB1.Controls.Add(Me.Lbl_V_Value)
54 | Me.GB1.Controls.Add(Me.Lbl_N_Value)
55 | Me.GB1.Controls.Add(Me.Lbl_D)
56 | Me.GB1.Controls.Add(Me.Lbl_V)
57 | Me.GB1.Controls.Add(Me.Lbl_Name)
58 | Me.GB1.Name = "GB1"
59 | Me.GB1.TabStop = False
60 | '
61 | 'Lbl_D_Value
62 | '
63 | resources.ApplyResources(Me.Lbl_D_Value, "Lbl_D_Value")
64 | Me.Lbl_D_Value.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
65 | Me.Lbl_D_Value.Name = "Lbl_D_Value"
66 | '
67 | 'Lbl_V_Value
68 | '
69 | resources.ApplyResources(Me.Lbl_V_Value, "Lbl_V_Value")
70 | Me.Lbl_V_Value.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
71 | Me.Lbl_V_Value.Name = "Lbl_V_Value"
72 | '
73 | 'Lbl_N_Value
74 | '
75 | resources.ApplyResources(Me.Lbl_N_Value, "Lbl_N_Value")
76 | Me.Lbl_N_Value.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
77 | Me.Lbl_N_Value.ForeColor = System.Drawing.SystemColors.ControlText
78 | Me.Lbl_N_Value.Name = "Lbl_N_Value"
79 | '
80 | 'Lbl_D
81 | '
82 | resources.ApplyResources(Me.Lbl_D, "Lbl_D")
83 | Me.Lbl_D.Name = "Lbl_D"
84 | '
85 | 'Lbl_V
86 | '
87 | resources.ApplyResources(Me.Lbl_V, "Lbl_V")
88 | Me.Lbl_V.Name = "Lbl_V"
89 | '
90 | 'Lbl_Name
91 | '
92 | resources.ApplyResources(Me.Lbl_Name, "Lbl_Name")
93 | Me.Lbl_Name.Name = "Lbl_Name"
94 | '
95 | 'Btn_Reload
96 | '
97 | resources.ApplyResources(Me.Btn_Reload, "Btn_Reload")
98 | Me.Btn_Reload.Name = "Btn_Reload"
99 | Me.Btn_Reload.UseVisualStyleBackColor = True
100 | '
101 | 'Btn_Clear
102 | '
103 | resources.ApplyResources(Me.Btn_Clear, "Btn_Clear")
104 | Me.Btn_Clear.Name = "Btn_Clear"
105 | Me.Btn_Clear.UseVisualStyleBackColor = True
106 | '
107 | 'Btn_Close
108 | '
109 | resources.ApplyResources(Me.Btn_Close, "Btn_Close")
110 | Me.Btn_Close.Name = "Btn_Close"
111 | Me.Btn_Close.UseVisualStyleBackColor = True
112 | '
113 | 'Timer_Update_List
114 | '
115 | Me.Timer_Update_List.Enabled = True
116 | Me.Timer_Update_List.Interval = 1000
117 | '
118 | 'Btn_Clip
119 | '
120 | resources.ApplyResources(Me.Btn_Clip, "Btn_Clip")
121 | Me.Btn_Clip.Name = "Btn_Clip"
122 | Me.Btn_Clip.UseVisualStyleBackColor = True
123 | '
124 | 'List_Var_Gui
125 | '
126 | resources.ApplyResources(Me, "$this")
127 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
128 | Me.Controls.Add(Me.Btn_Clip)
129 | Me.Controls.Add(Me.Btn_Close)
130 | Me.Controls.Add(Me.Btn_Clear)
131 | Me.Controls.Add(Me.Btn_Reload)
132 | Me.Controls.Add(Me.GB1)
133 | Me.Controls.Add(Me.TView_UPSVar)
134 | Me.MaximizeBox = False
135 | Me.MinimizeBox = False
136 | Me.Name = "List_Var_Gui"
137 | Me.GB1.ResumeLayout(False)
138 | Me.GB1.PerformLayout()
139 | Me.ResumeLayout(False)
140 |
141 | End Sub
142 |
143 | Friend WithEvents TView_UPSVar As TreeView
144 | Friend WithEvents GB1 As GroupBox
145 | Friend WithEvents Lbl_D_Value As Label
146 | Friend WithEvents Lbl_V_Value As Label
147 | Friend WithEvents Lbl_N_Value As Label
148 | Friend WithEvents Lbl_D As Label
149 | Friend WithEvents Lbl_V As Label
150 | Friend WithEvents Lbl_Name As Label
151 | Friend WithEvents Btn_Reload As Button
152 | Friend WithEvents Btn_Clear As Button
153 | Friend WithEvents Btn_Close As Button
154 | Friend WithEvents Timer_Update_List As Timer
155 | Friend WithEvents Btn_Clip As Button
156 | End Class
157 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Beschreibung :
17 |
18 |
19 | Value :
20 |
21 |
22 | Name :
23 |
24 |
25 | Item Properties
26 |
27 |
28 | Neu laden
29 |
30 |
31 | Leer
32 |
33 |
34 | Schließen
35 |
36 |
37 | Kopieren
38 |
39 |
40 | Liste der UPS Variablen
41 |
42 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Description :
17 |
18 |
19 | Valeur :
20 |
21 |
22 | Nom :
23 |
24 |
25 | Propriétés
26 |
27 |
28 | Recharger
29 |
30 |
31 | Vider
32 |
33 |
34 | Fermer
35 |
36 |
37 | Copier
38 |
39 |
40 | Liste des Variables de L'UPS
41 |
42 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Свойства
17 |
18 |
19 | Описание:
20 |
21 |
22 | Значение:
23 |
24 |
25 | Название:
26 |
27 |
28 | Обновить
29 |
30 |
31 | Очистить
32 |
33 |
34 | Закрыть
35 |
36 |
37 | Копировать
38 |
39 |
40 | Список переменных ИБП
41 |
42 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Public Class List_Var_Gui
11 | Private List_Var_Datas As List(Of UPS_Var_Node)
12 | Private LogFile As Logger
13 | Private Sub List_Var_Gui_Load(sender As Object, e As EventArgs) Handles MyBase.Load
14 | Me.LogFile = WinNUT.LogFile
15 | LogFile.LogTracing("Load List Var Gui", LogLvl.LOG_DEBUG, Me)
16 | Me.Icon = WinNUT.Icon
17 | Me.PopulateTreeView()
18 | End Sub
19 | Private Sub PopulateTreeView()
20 | LogFile.LogTracing("Populate TreeView", LogLvl.LOG_DEBUG, Me)
21 | List_Var_Datas = WinNUT.UPS_Network.ListUPSVars()
22 | If List_Var_Datas Is Nothing Then
23 | LogFile.LogTracing("ListUPSVars return Nothing Value", LogLvl.LOG_DEBUG, Me)
24 | Return
25 | End If
26 | TView_UPSVar.Nodes.Clear()
27 | TView_UPSVar.Nodes.Add(WinNUT_Params.Arr_Reg_Key.Item("UPSName"), WinNUT_Params.Arr_Reg_Key.Item("UPSName"))
28 | Dim TreeChild As New TreeNode
29 | Dim LastNode As New TreeNode
30 | LastNode = TView_UPSVar.Nodes(0)
31 | For Each UPS_Var In List_Var_Datas
32 | Dim FullPathNode = String.Empty
33 | For Each SubPath In (Strings.Split(UPS_Var.VarKey, "."))
34 | FullPathNode += SubPath & "."
35 | Dim Nodes = TView_UPSVar.Nodes.Find(FullPathNode, True)
36 | If Nodes.Length = 0 Then
37 | If LastNode.Text = "" Then
38 | LastNode = TView_UPSVar.Nodes.Add(FullPathNode, SubPath)
39 | Else
40 | LastNode = LastNode.Nodes.Add(FullPathNode, SubPath)
41 | End If
42 | Else
43 | LastNode = Nodes(0)
44 | End If
45 | Next
46 | LastNode = TView_UPSVar.Nodes(0)
47 | Next
48 | End Sub
49 | Private Sub Btn_Clear_Click(sender As Object, e As EventArgs) Handles Btn_Clear.Click
50 | TView_UPSVar.CollapseAll()
51 | Lbl_N_Value.Text = ""
52 | Lbl_V_Value.Text = ""
53 | Lbl_D_Value.Text = ""
54 | End Sub
55 | Private Function FindNodeByValue(ByVal value As String, ByVal nodes As TreeNodeCollection) As TreeNode
56 | For Each n As TreeNode In nodes
57 | If n.Text = value Then
58 | Return n
59 | Else
60 | 'Recursively call the Function
61 | Dim nodeToFind As TreeNode = FindNodeByValue(value, n.Nodes)
62 | If nodeToFind IsNot Nothing Then
63 | Return nodeToFind
64 | End If
65 | End If
66 | Next
67 |
68 | Return Nothing
69 | End Function
70 | Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer_Update_List.Tick
71 | Dim SelectedNode As TreeNode = TView_UPSVar.SelectedNode
72 | Dim UPSNAme = WinNUT.UPS_Network.NutUPS
73 | If SelectedNode IsNot Nothing Then
74 | If SelectedNode.Parent IsNot Nothing Then
75 | If SelectedNode.Parent.Text <> UPSNAme And SelectedNode.Nodes.Count = 0 Then
76 | Dim VarName = Strings.Replace(TView_UPSVar.SelectedNode.FullPath, WinNUT.UPS_Network.NutUPS & ".", "")
77 | LogFile.LogTracing("Update {VarName}", LogLvl.LOG_DEBUG, Me)
78 | Lbl_V_Value.Text = WinNUT.UPS_Network.GetUPSVar(VarName)
79 | End If
80 | End If
81 | End If
82 | End Sub
83 |
84 | Private Sub Btn_Close_Click(sender As Object, e As EventArgs) Handles Btn_Close.Click
85 | LogFile.LogTracing("Close List Var Gui", LogLvl.LOG_DEBUG, Me)
86 | Me.Close()
87 | End Sub
88 |
89 | Private Sub Btn_Reload_Click(sender As Object, e As EventArgs) Handles Btn_Reload.Click
90 | LogFile.LogTracing("Reload Treeview from Button", LogLvl.LOG_DEBUG, Me)
91 | Lbl_N_Value.Text = ""
92 | Lbl_V_Value.Text = ""
93 | Lbl_D_Value.Text = ""
94 | TView_UPSVar.Nodes.Clear()
95 | Me.PopulateTreeView()
96 | End Sub
97 |
98 | Private Sub TView_UPSVar_NodeMouseClick(sender As Object, e As TreeNodeMouseClickEventArgs) Handles TView_UPSVar.NodeMouseClick
99 | Dim index As Integer = 0
100 | Dim UPSName = WinNUT_Params.Arr_Reg_Key.Item("UPSName")
101 | Dim SelectedChild = Strings.Replace(e.Node.FullPath, UPSName & ".", "")
102 | Dim FindChild As Predicate(Of UPS_Var_Node) = Function(ByVal x As UPS_Var_Node)
103 | If x.VarKey = SelectedChild Then
104 | Return True
105 | Else
106 | index += 1
107 | Return False
108 | End If
109 | End Function
110 | If Not SelectedChild = UPSName And List_Var_Datas.FindIndex(FindChild) <> -1 Then
111 | LogFile.LogTracing("Select {List_Var_Datas.Item(index).VarKey} Node", LogLvl.LOG_DEBUG, Me)
112 | Lbl_N_Value.Text = List_Var_Datas.Item(index).VarKey
113 | Lbl_V_Value.Text = List_Var_Datas.Item(index).VarValue
114 | Lbl_D_Value.Text = List_Var_Datas.Item(index).VarDesc
115 | Else
116 | Lbl_N_Value.Text = ""
117 | Lbl_V_Value.Text = ""
118 | Lbl_D_Value.Text = ""
119 | End If
120 | End Sub
121 |
122 | Private Sub Btn_Clip_Click(sender As Object, e As EventArgs) Handles Btn_Clip.Click
123 | LogFile.LogTracing("Export TreeView To Clipboard", LogLvl.LOG_DEBUG, Me)
124 | Dim ToClipboard As String = WinNUT_Params.Arr_Reg_Key.Item("UPSName") & " (" & WinNUT.UPS_Mfr & "/" & WinNUT.UPS_Model & "/" & WinNUT.UPS_Firmware & ")" & vbNewLine
125 | For Each LDatas In List_Var_Datas
126 | ToClipboard &= LDatas.VarKey & " (" & LDatas.VarDesc & ") : " & LDatas.VarValue & vbNewLine
127 | Next
128 | My.Computer.Clipboard.SetText(ToClipboard)
129 | End Sub
130 | Function GetChildren(parentNode As TreeNode) As List(Of String)
131 | Dim nodes As List(Of String) = New List(Of String)
132 | GetAllChildren(parentNode, nodes)
133 | Return nodes
134 | End Function
135 |
136 | Sub GetAllChildren(parentNode As TreeNode, nodes As List(Of String))
137 | For Each childNode As TreeNode In parentNode.Nodes
138 | nodes.Add(childNode.Text)
139 | GetAllChildren(childNode, nodes)
140 | Next
141 | End Sub
142 | End Class
143 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/List_Var_Gui.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | 描述:
17 |
18 |
19 | 值:
20 |
21 |
22 | 名称:
23 |
24 |
25 | 物产
26 |
27 |
28 | 重装
29 |
30 |
31 | 清洁
32 |
33 |
34 | 关闭
35 |
36 |
37 | 复印
38 |
39 |
40 | UPS变量列表
41 |
42 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Logger.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Public Class Logger
11 | Private ReadOnly LogFile As New FileLogTraceListener()
12 | Private ReadOnly TEventCache As New TraceEventCache()
13 | ' Enable writing to a log file.
14 | Public WriteLogValue As Boolean
15 | Public LogLevelValue As LogLvl
16 | Private L_CurrentLogData As String
17 | Private LastEventsList As New List(Of Object)
18 | Public Event NewData(ByVal sender As Object)
19 | Public Property CurrentLogData() As String
20 | Get
21 | Dim Tmp_Data = Me.L_CurrentLogData
22 | Me.L_CurrentLogData = Nothing
23 | Return Tmp_Data
24 | End Get
25 | Set(ByVal Value As String)
26 | Me.L_CurrentLogData = Value
27 | End Set
28 | End Property
29 | Public ReadOnly Property LastEvents() As List(Of Object)
30 | Get
31 | Return Me.LastEventsList
32 | End Get
33 | End Property
34 | Public Sub New(ByVal WriteLog As Boolean, ByVal LogLevel As LogLvl)
35 | Me.WriteLogValue = WriteLog
36 | Me.LogLevelValue = LogLevel
37 | Me.LogFile.TraceOutputOptions = TraceOptions.DateTime Or TraceOptions.ProcessId
38 | Me.LogFile.Append = True
39 | Me.LogFile.AutoFlush = True
40 | Me.LogFile.BaseFileName = "WinNUT-CLient"
41 | Me.LogFile.LogFileCreationSchedule = Logging.LogFileCreationScheduleOption.Daily
42 | Me.LogFile.Location = LogFileLocation.Custom
43 | Me.LogFile.CustomLocation = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\WinNUT-Client"
44 | Me.LastEventsList.Capacity = 50
45 | WinNUT_Globals.LogFilePath = Me.LogFile.FullLogFileName
46 | End Sub
47 |
48 | Public Property WriteLog() As Boolean
49 | Get
50 | Return Me.WriteLogValue
51 | End Get
52 | Set(ByVal Value As Boolean)
53 | Me.WriteLogValue = Value
54 | If Not Me.WriteLogValue Then
55 | LogFile.Dispose()
56 | End If
57 | End Set
58 | End Property
59 |
60 | Public Property LogLevel() As LogLvl
61 | Get
62 | Return Me.LogLevelValue
63 | End Get
64 | Set(ByVal Value As LogLvl)
65 | Me.LogLevelValue = Value
66 | End Set
67 | End Property
68 |
69 | Public Sub LogTracing(ByVal message As String, ByVal LvlError As Int16, sender As Object, Optional ByVal LogToDisplay As String = Nothing)
70 | Dim Pid = TEventCache.ProcessId
71 | Dim SenderName = sender.GetType.Name
72 | Dim EventTime = Now.ToLocalTime
73 | Dim FinalMsg = EventTime & " Pid: " & Pid & " " & SenderName & " : " & message
74 |
75 | 'Update LogFilePath to make sure it's still the correct path
76 | WinNUT_Globals.LogFilePath = Me.LogFile.FullLogFileName
77 |
78 | ' Always write log messages to the attached debug messages window.
79 | #If DEBUG Then
80 | Debug.WriteLine(FinalMsg)
81 | #End If
82 | 'Create Event in EventList in case of crash for generate Report
83 | If Me.LastEventsList.Count = Me.LastEventsList.Capacity Then
84 | Me.LastEventsList.RemoveAt(0)
85 | End If
86 |
87 | Me.LastEventsList.Add(FinalMsg)
88 |
89 | If Me.WriteLogValue AndAlso Me.LogLevel >= LvlError Then
90 | LogFile.WriteLine(FinalMsg)
91 | End If
92 | 'If LvlError = LogLvl.LOG_NOTICE Then
93 | If LogToDisplay IsNot Nothing Then
94 | Me.L_CurrentLogData = LogToDisplay
95 | RaiseEvent NewData(sender)
96 | End If
97 | End Sub
98 | End Class
99 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Application.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' Ce code a été généré par un outil.
4 | ' Version du runtime :4.0.30319.42000
5 | '
6 | ' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
7 | ' le code est régénéré.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | 'REMARQUE : Ce fichier étant généré automatiquement, ne le modifiez pas directement. Pour apporter des modifications,
18 | ' ou si vous rencontrez des erreurs de build dans ce fichier, accédez au Concepteur de projets
19 | ' (allez dans les propriétés du projet ou double-cliquez sur le nœud My Project dans
20 | ' l'Explorateur de solutions), puis apportez vos modifications sous l'onglet Application.
21 | '
22 | Partial Friend Class MyApplication
23 |
24 | _
25 | Public Sub New()
26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27 | Me.IsSingleInstance = true
28 | Me.EnableVisualStyles = true
29 | Me.SaveMySettingsOnExit = true
30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31 | End Sub
32 |
33 | _
34 | Protected Overrides Sub OnCreateMainForm()
35 | Me.MainForm = Global.WinNUT_client.WinNUT
36 | End Sub
37 | End Class
38 | End Namespace
39 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Application.myapp:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 | WinNUT
5 | true
6 | 0
7 | true
8 | 0
9 | true
10 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/AssemblyInfo.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Imports System.Resources
11 | Imports System
12 | Imports System.Reflection
13 | Imports System.Runtime.InteropServices
14 |
15 | ' Les informations générales relatives à un assembly dépendent de
16 | ' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
17 | ' associées à un assembly.
18 |
19 | ' Vérifiez les valeurs des attributs de l'assembly
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | 'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
31 |
32 |
33 | ' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
34 | '
35 | ' Version principale
36 | ' Version secondaire
37 | ' Numéro de build
38 | ' Révision
39 | '
40 | ' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
41 | ' en utilisant '*', comme indiqué ci-dessous :
42 | '
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Resources.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Anwendung heruntergefahren um
17 |
18 |
19 | Batterieladung: {0}
20 | Verbleibende Zeit: {1}
21 |
22 |
23 | Update verfügbar : Version {0}
24 |
25 |
26 | ChangeLog anzeigen
27 |
28 |
29 | ChangeLog ausblenden
30 |
31 |
32 | WinNUT-Client jetzt aktualisieren?
33 | Ok, um WinNut zu schließen und neue Version zu installieren
34 | Abbrechen, um Msi zu speichern und später zu installieren
35 |
36 |
37 | Neue Version herunterladen von :
38 |
39 |
40 | Alte ups.ini importiert
41 | Ini-Datei nach {0}.old verschoben
42 |
43 |
44 | Alte ups.ini importiert
45 |
46 |
47 | Wiederverbindung läuft
48 |
49 |
50 | Versuchen Sie {0} von {1}
51 |
52 |
53 | Nicht verbunden
54 |
55 |
56 | In Verbindung gebracht
57 |
58 |
59 | Online
60 |
61 |
62 | Batterie ({0}%)
63 |
64 |
65 | Niedriger Batteriestatus
66 |
67 |
68 | WinNut-Einstellungen geändert
69 |
70 |
71 | Verbindung zum Nut Host {0}:{1} hergestellt
72 |
73 |
74 | Verbindung zum Nut Host {0}: {1} fehlgeschlagen: {2}
75 |
76 |
77 | Automatische Wiederverbindung
78 |
79 |
80 | Vom Nut Host getrennt
81 |
82 |
83 | Versuchen Sie erneut, {0} / {1} zu verbinden
84 |
85 |
86 | Max Retry erreicht. Warten Sie auf die manuelle Wiederverbindung
87 |
88 |
89 | Voraussetzungen für den Start des Löschprozesses
90 |
91 |
92 | Aufhebung des Löschprozesses
93 |
94 |
95 | Kein Update verfügbar
96 |
97 |
98 | Version {0} Verfügbar
99 |
100 |
101 | Batterie OK
102 |
103 |
104 | Unbekannter USV-Name
105 |
106 |
107 | Verlorene Verbindung zu {0}:{1}
108 |
109 |
110 | Falsche Login-ID (Benutzername oder Passwort)
111 |
112 |
113 | Vom NUT-Server auferlegte Stoppbedingung
114 |
115 |
116 | Windows Standby, WinNUT wird getrennt.
117 |
118 |
119 | Windows Standby. WinNUT wird getrennt.
120 |
121 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Resources.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Application arrêtée à
17 |
18 |
19 | Charge Batterie : {0}
20 | Temps restant : {1}
21 |
22 |
23 | Mise à jour disponible : version {0}
24 |
25 |
26 | Afficher ChangeLog
27 |
28 |
29 | Cacher ChangeLog
30 |
31 |
32 | Mettre à jour WinNUT-Client maintenant?
33 | Ok pour fermer WinNut et installer une nouvelle version
34 | Annuler pour enregistrer Msi et installer plus tard
35 |
36 |
37 | Téléchargez la nouvelle version depuis :
38 |
39 |
40 | Ancien Fichier "ups.ini" importé
41 | Fichier Ini déplacé vers {0}.old
42 |
43 |
44 | Ancien Fichier "ups.ini" importé
45 |
46 |
47 | Reconnexion en cours
48 |
49 |
50 | Essai {0} sur {1}
51 |
52 |
53 | Non connecté
54 |
55 |
56 | Connecté
57 |
58 |
59 | Sur Secteur
60 |
61 |
62 | Sur Batterie ({0}%)
63 |
64 |
65 | Batterie Basse
66 |
67 |
68 | Préférences de WinNUT Modifiées
69 |
70 |
71 | Connexion au Serveur NUT {0}:{1} établie
72 |
73 |
74 | Connexion au Serveur NUT {0}:{1} échouée : {2}
75 |
76 |
77 | Re-connexion Automatique
78 |
79 |
80 | Déconnectée du serveur NUT
81 |
82 |
83 | Tentative de reconnexion {0} / {1}
84 |
85 |
86 | Nombre maximale d'essai atteint. En attente de reconnexion manuelle
87 |
88 |
89 | Conditions atteintes pour le lancement du Processus d'Extinction
90 |
91 |
92 | Annulation du Processus d'Extinction
93 |
94 |
95 | Pas de mise a jour disponible
96 |
97 |
98 | Version {0} disponible
99 |
100 |
101 | Batterie OK
102 |
103 |
104 | Nom UPS Inconnu
105 |
106 |
107 | Connexion perdue à {0}:{1}
108 |
109 |
110 | ID de connexion incorrect (nom d'utilisateur ou mot de passe)
111 |
112 |
113 | Condition d'arrêt forcée signalée par le serveur NUT
114 |
115 |
116 | Redémarrage de WinNUT après la sortie de veille de Windows.
117 |
118 |
119 | Mise en veille de Windows. WinNUT va se déconnecter.
120 |
121 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Resources.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Программное отключение в
17 |
18 |
19 | Старая версия ups.ini перемещена в {0}.old
20 |
21 |
22 | Старая версия ups.ini импортирована
23 |
24 |
25 | Переподключение в процессе
26 |
27 |
28 | Попытка {0} из {1}
29 |
30 |
31 | Не подключено
32 |
33 |
34 | Подключено
35 |
36 |
37 | От сети
38 |
39 |
40 | От батареи ({0}%)
41 |
42 |
43 | Низкий заряд батареи
44 |
45 |
46 | Батарея ОК
47 |
48 |
49 | Название ИБП неизвестно
50 |
51 |
52 | Потеря подключения к {0}:{1}
53 |
54 |
55 | Неправильные данные авторизации (логин или пароль)
56 |
57 |
58 | Перезапуск WinNUT после выхода из Windows.
59 |
60 |
61 | Ожидание Windows. WinNUT отключится.
62 |
63 |
64 | Заряд : {0}
65 | Осталось времени : {1}
66 |
67 |
68 | Доступно обновление: Версия {0}
69 |
70 |
71 | Показать список изменений
72 |
73 |
74 | Скрыть список изменений
75 |
76 |
77 | Обновить WinNUT сейчас?
78 | "ОК" - закрыть WinNUT и установить новую версию.
79 | "Отмена" - сохранить MSI и установить позже.
80 |
81 |
82 | Скачать новую версию с:
83 |
84 |
85 | Настройки WinNUT изменены
86 |
87 |
88 | Соединение с сервером NUT {0}:{1} Успех
89 |
90 |
91 | Соединение с сервером NUT {0}:{1} Отказ: {2}
92 |
93 |
94 | Автоматическое переподключение
95 |
96 |
97 | Отключиться от сервера NUT
98 |
99 |
100 | Попытка переподключения {0} / {1}
101 |
102 |
103 | Достигнуто макимальное количество попыток повторного подключения.
104 | Ожидается ручное переподключение
105 |
106 |
107 | Достигнуты условия для запуска процесса отключения
108 |
109 |
110 | Отмена процесса отключения
111 |
112 |
113 | Обновлений нет
114 |
115 |
116 | Доступна версия {0}
117 |
118 |
119 | Условие отключения наложенное сервером NUT
120 |
121 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Resources.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | 应用程序被关闭于
17 |
18 |
19 | 导入了旧的 ups.ini
20 | Ini 文件重命名为 {0}.old
21 |
22 |
23 | 导入了旧的 ups.ini
24 |
25 |
26 | 重连中
27 |
28 |
29 | 尝试 {1} 的 {0}
30 |
31 |
32 | 未连接
33 |
34 |
35 | 已连接
36 |
37 |
38 | 使用市电中
39 |
40 |
41 | 使用电池中 ({0}%)
42 |
43 |
44 | 电池电量过低
45 |
46 |
47 | 电池正常
48 |
49 |
50 | 未知的 UPS 名称
51 |
52 |
53 | 断开了至 {0} 的连接:{1}
54 |
55 |
56 | 错误的登录凭据(用户名或密码)
57 |
58 |
59 | 电池电量 : {0}
60 | 剩余时间 : {1}
61 |
62 |
63 | 可用的新版本:{0}
64 |
65 |
66 | 显示更新日志
67 |
68 |
69 | 隐藏更新日志
70 |
71 |
72 | 立即更新WinNUT-Client吗?
73 | 单击确定以关闭WinNut并安装新版本
74 | 取消以保存 Msi 并于稍后安装
75 |
76 |
77 | 下载了新版本于:
78 |
79 |
80 | WinNut 设置已修改
81 |
82 |
83 | 至 Nut 主机 {0}:{1} 的连接建立成功
84 |
85 |
86 | 至 Nut 主机 {0}:{1} 的连接建立失败: {2}
87 |
88 |
89 | 自动重连
90 |
91 |
92 | 从 Nut 主机断开了连接。
93 |
94 |
95 | 尝试重连 {0} / {1}
96 |
97 |
98 | 达到最大重试次数。等待手动重连。
99 |
100 |
101 | 触发关机流程所需满足的条件
102 |
103 |
104 | 取消关机进程
105 |
106 |
107 | 没有可用的更新
108 |
109 |
110 | 新版本 {0} 可以更新
111 |
112 |
113 | NUT服务器施加的停止条件
114 |
115 |
116 | 重启计算机后自动运行 WinNUT。
117 |
118 |
119 | Windows 待机。WinNUT 将断开连接。
120 |
121 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Settings.Designer.vb:
--------------------------------------------------------------------------------
1 | '------------------------------------------------------------------------------
2 | '
3 | ' Ce code a été généré par un outil.
4 | ' Version du runtime :4.0.30319.42000
5 | '
6 | ' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
7 | ' le code est régénéré.
8 | '
9 | '------------------------------------------------------------------------------
10 |
11 | Option Strict On
12 | Option Explicit On
13 |
14 |
15 | Namespace My
16 |
17 | _
20 | Partial Friend NotInheritable Class MySettings
21 | Inherits Global.System.Configuration.ApplicationSettingsBase
22 |
23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
24 |
25 | #Region "Fonctionnalité Enregistrement automatique My.Settings"
26 | #If _MyType = "WindowsForms" Then
27 | Private Shared addedHandler As Boolean
28 |
29 | Private Shared addedHandlerLockObject As New Object
30 |
31 | _
32 | Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
33 | If My.Application.SaveMySettingsOnExit Then
34 | My.Settings.Save()
35 | End If
36 | End Sub
37 | #End If
38 | #End Region
39 |
40 | Public Shared ReadOnly Property [Default]() As MySettings
41 | Get
42 |
43 | #If _MyType = "WindowsForms" Then
44 | If Not addedHandler Then
45 | SyncLock addedHandlerLockObject
46 | If Not addedHandler Then
47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48 | addedHandler = True
49 | End If
50 | End SyncLock
51 | End If
52 | #End If
53 | Return defaultInstance
54 | End Get
55 | End Property
56 | End Class
57 | End Namespace
58 |
59 | Namespace My
60 |
61 | _
64 | Friend Module MySettingsProperty
65 |
66 | _
67 | Friend ReadOnly Property Settings() As Global.WinNUT_client.My.MySettings
68 | Get
69 | Return Global.WinNUT_client.My.MySettings.Default
70 | End Get
71 | End Property
72 | End Module
73 | End Namespace
74 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/My Project/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
52 |
59 |
60 |
61 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1025.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1025.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1026.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1026.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1028.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1028.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1032.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1032.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1040.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1040.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1057.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1057.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1058.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1058.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1060.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1060.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1064.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1064.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1072.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1072.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1079.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1079.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1080.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1080.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1092.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1092.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1096.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1096.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1104.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1104.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1121.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1121.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1122.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1122.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1124.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1124.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1128.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1128.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1136.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1136.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1152.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1152.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1216.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1216.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1280.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1280.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/1344.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/1344.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/2001_ViewLogFile.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/2001_ViewLogFile.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/2001_ViewLogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/2001_ViewLogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/2002_Delete_LogFile.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/2002_Delete_LogFile.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/2002_Delete_LogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/2002_Delete_LogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/Battery_Charged.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/Battery_Charged.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/Battery_Charging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/Battery_Charging.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/Battery_Discharging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/Battery_Discharging.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/Delete_LogFile_24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/Delete_LogFile_24x24.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/Delete_LogFile_32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/Delete_LogFile_32x32.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/ViewLogFile_24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/ViewLogFile_24x24.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/ViewLogFile_32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/ViewLogFile_32x32.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/WinNUT-Updater.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/WinNUT-Updater.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/WinNut.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/WinNut.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/ups.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/ups.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/ups_104x104.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/ups_104x104.bmp
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Resources/ups_104x104.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/Resources/ups_104x104.png
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.Designer.vb:
--------------------------------------------------------------------------------
1 |
2 | Partial Class Shutdown_Gui
3 | Inherits System.Windows.Forms.Form
4 |
5 | 'Form remplace la méthode Dispose pour nettoyer la liste des composants.
6 |
7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8 | Try
9 | If disposing AndAlso components IsNot Nothing Then
10 | components.Dispose()
11 | End If
12 | Finally
13 | MyBase.Dispose(disposing)
14 | End Try
15 | End Sub
16 |
17 | 'Requise par le Concepteur Windows Form
18 | Private components As System.ComponentModel.IContainer
19 |
20 | 'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
21 | 'Elle peut être modifiée à l'aide du Concepteur Windows Form.
22 | 'Ne la modifiez pas à l'aide de l'éditeur de code.
23 |
24 | Private Sub InitializeComponent()
25 | Me.components = New System.ComponentModel.Container()
26 | Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Shutdown_Gui))
27 | Me.Grace_Button = New System.Windows.Forms.Button()
28 | Me.ShutDown_Btn = New System.Windows.Forms.Button()
29 | Me.lbl_UPSStatus = New System.Windows.Forms.Label()
30 | Me.Run_Timer = New System.Windows.Forms.Timer(Me.components)
31 | Me.SuspendLayout()
32 | '
33 | 'Grace_Button
34 | '
35 | resources.ApplyResources(Me.Grace_Button, "Grace_Button")
36 | Me.Grace_Button.Name = "Grace_Button"
37 | Me.Grace_Button.UseVisualStyleBackColor = True
38 | Me.Grace_Button.UseWaitCursor = True
39 | '
40 | 'ShutDown_Btn
41 | '
42 | resources.ApplyResources(Me.ShutDown_Btn, "ShutDown_Btn")
43 | Me.ShutDown_Btn.Name = "ShutDown_Btn"
44 | Me.ShutDown_Btn.UseVisualStyleBackColor = True
45 | Me.ShutDown_Btn.UseWaitCursor = True
46 | '
47 | 'lbl_UPSStatus
48 | '
49 | resources.ApplyResources(Me.lbl_UPSStatus, "lbl_UPSStatus")
50 | Me.lbl_UPSStatus.ForeColor = System.Drawing.SystemColors.ControlText
51 | Me.lbl_UPSStatus.Name = "lbl_UPSStatus"
52 | Me.lbl_UPSStatus.UseWaitCursor = True
53 | '
54 | 'Run_Timer
55 | '
56 | Me.Run_Timer.Enabled = True
57 | Me.Run_Timer.Interval = 1000
58 | '
59 | 'Shutdown_Gui
60 | '
61 | resources.ApplyResources(Me, "$this")
62 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
63 | Me.Controls.Add(Me.lbl_UPSStatus)
64 | Me.Controls.Add(Me.ShutDown_Btn)
65 | Me.Controls.Add(Me.Grace_Button)
66 | Me.MaximizeBox = False
67 | Me.MinimizeBox = False
68 | Me.Name = "Shutdown_Gui"
69 | Me.TopMost = True
70 | Me.UseWaitCursor = True
71 | Me.ResumeLayout(False)
72 | Me.PerformLayout()
73 |
74 | End Sub
75 |
76 | Friend WithEvents Grace_Button As Button
77 | Friend WithEvents ShutDown_Btn As Button
78 | Friend WithEvents lbl_UPSStatus As Label
79 | Friend WithEvents Run_Timer As Timer
80 | End Class
81 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Grace Time
17 |
18 |
19 | Sofortiges Herunterfahren
20 |
21 |
22 | Batterieladung: {WinNUT.UPS_BattCh}
23 | Verbleibende Zeit: {WinNUT.Lbl_VRTime.Text}
24 |
25 |
26 | Aussterben im Gange
27 |
28 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Temps de grâce
17 |
18 |
19 | Arrêt immédiat
20 |
21 |
22 | Charge batterie: {WinNUT.UPS_BattCh}
23 | Temps restant: {WinNUT.Lbl_VRTime.Text}
24 |
25 |
26 | Extinction en cours
27 |
28 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Время задержки
17 |
18 |
19 | Немедленное выключение
20 |
21 |
22 | Заряд : {WinNUT.UPS_BattCh}
23 | Осталось времени : {WinNUT.Lbl_VRTime.Text}
24 |
25 |
26 | Отключение в процессе
27 |
28 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Public Class Shutdown_Gui
11 | Private LogFile As Logger
12 | Private RedText As Boolean = True
13 | Private ReadOnly Shutdown_PBar As New WinFormControls.CProgressBar
14 | Private Start_Shutdown As DateTime
15 | Private Offset_STimer As Double = 0
16 | Private STimer As Double = 0
17 | Private Remained As Double = 0
18 | Public Grace_Timer As New Timer
19 | Public Shutdown_Timer As New Timer
20 |
21 | Private Sub Grace_Button_Click(sender As Object, e As EventArgs) Handles Grace_Button.Click
22 | Me.Shutdown_Timer.Stop()
23 | Me.Shutdown_Timer.Enabled = False
24 | Grace_Button.Enabled = False
25 | Me.Grace_Timer.Enabled = True
26 | Me.Grace_Timer.Start()
27 | Me.Offset_STimer = WinNUT_Params.Arr_Reg_Key.Item("ExtendedShutdownDelay")
28 | End Sub
29 |
30 | Private Sub Shutdown_Gui_Load(sender As Object, e As EventArgs) Handles MyBase.Load
31 | Me.Icon = WinNUT.Icon
32 | Me.LogFile = WinNUT.LogFile
33 | LogFile.LogTracing("Load ShutDown Gui", LogLvl.LOG_DEBUG, Me)
34 | Me.Grace_Timer.Enabled = False
35 | Me.Grace_Timer.Stop()
36 | 'If ExtendedShutdownDelay = 0 (the default value), the next line fails and the whole shutdown sequence fails - Thus no shutdown
37 | 'Moved next line lower down
38 | 'Me.Grace_Timer.Interval = (WinNUT_Params.Arr_Reg_Key.Item("ExtendedShutdownDelay") * 1000)
39 | Shutdown_Timer.Interval = (WinNUT_Params.Arr_Reg_Key.Item("DelayToShutdown") * 1000)
40 | Me.STimer = WinNUT_Params.Arr_Reg_Key.Item("DelayToShutdown")
41 | Me.Remained = Me.STimer
42 | If WinNUT_Params.Arr_Reg_Key.Item("AllowExtendedShutdownDelay") Then
43 | Grace_Button.Enabled = True
44 | 'Moved here so it is only used if grace period is allowed
45 | Try
46 | Me.Grace_Timer.Interval = (WinNUT_Params.Arr_Reg_Key.Item("ExtendedShutdownDelay") * 1000)
47 | Catch ex As Exception
48 | 'Disable Grace peroid option if Interval is set to 0
49 | Grace_Button.Enabled = False
50 | End Try
51 | Else
52 | Grace_Button.Enabled = False
53 | End If
54 | Start_Shutdown = Now
55 | With Shutdown_PBar
56 | .Location = New Point(10, 150)
57 | .Size = New Point(400, 23)
58 | .Style = ProgressBarStyle.Continuous
59 | .Font = New Font(.Font, .Font.Style Or FontStyle.Bold)
60 | .ForeColor = Color.Black
61 | Dim TimeToShow As String
62 | Dim iSpan As TimeSpan = TimeSpan.FromSeconds(Shutdown_Timer.Interval / 1000)
63 | If Shutdown_Timer.Interval = (3600 * 1000) Then
64 | TimeToShow = iSpan.Hours.ToString.PadLeft(2, "0"c) & ":" &
65 | iSpan.Minutes.ToString.PadLeft(2, "0"c) & ":" &
66 | iSpan.Seconds.ToString.PadLeft(2, "0"c)
67 | Else
68 | TimeToShow = iSpan.Minutes.ToString.PadLeft(2, "0"c) & ":" &
69 | iSpan.Seconds.ToString.PadLeft(2, "0"c)
70 | End If
71 | .Text = TimeToShow
72 | .Value = 0
73 | End With
74 | Me.Controls.Add(Shutdown_PBar)
75 | AddHandler Grace_Timer.Tick, AddressOf Grace_Timer_Tick
76 | AddHandler Shutdown_Timer.Tick, AddressOf Shutdown_Timer_Tick
77 | End Sub
78 |
79 | Private Sub Shutdown_Gui_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
80 | Me.Shutdown_Timer.Enabled = True
81 | Me.Shutdown_Timer.Start()
82 | lbl_UPSStatus.Text = String.Format(WinNUT_Globals.StrLog.Item(AppResxStr.STR_SHUT_STAT), WinNUT.UPS_BattCh.ToString(), WinNUT.Lbl_VRTime.Text)
83 | End Sub
84 |
85 | Private Sub Grace_Timer_Tick(sender As Object, e As EventArgs)
86 | Me.Shutdown_Timer.Interval = Me.Remained * 1000
87 | Me.Shutdown_Timer.Enabled = True
88 | Me.Shutdown_Timer.Start()
89 | End Sub
90 |
91 | Private Sub ShutDown_Btn_Click(sender As Object, e As EventArgs) Handles ShutDown_Btn.Click
92 | WinNUT.Shutdown_Action()
93 | End Sub
94 |
95 | Private Sub Shutdown_Timer_Tick(sender As Object, e As EventArgs)
96 | Shutdown_PBar.Value = 100
97 | System.Threading.Thread.Sleep(1000)
98 | WinNUT.Shutdown_Action()
99 | Run_Timer.Enabled = False
100 | End Sub
101 |
102 | Private Sub Run_Timer_Tick(sender As Object, e As EventArgs) Handles Run_Timer.Tick
103 | If RedText Then
104 | lbl_UPSStatus.ForeColor = Color.Red
105 | RedText = False
106 | Else
107 | lbl_UPSStatus.ForeColor = Color.Black
108 | RedText = True
109 | End If
110 | If Me.Shutdown_Timer.Enabled = True And Me.Remained > 0 Then
111 | Me.Remained = Int(STimer + Offset_STimer - Now.Subtract(Start_Shutdown).TotalSeconds)
112 | Dim NewValue As Integer = 100
113 | If Me.Remained > 0 Then
114 | NewValue -= (100 * (Me.Remained / Me.STimer))
115 | If NewValue > 100 Then
116 | NewValue = 100
117 | End If
118 | End If
119 | Dim TimeToShow As String
120 | Dim iSpan As TimeSpan = TimeSpan.FromSeconds(Me.Remained)
121 | If Me.Shutdown_Timer.Interval = (3600 * 1000) Then
122 | TimeToShow = iSpan.Hours.ToString.PadLeft(2, "0"c) & ":" &
123 | iSpan.Minutes.ToString.PadLeft(2, "0"c) & ":" &
124 | iSpan.Seconds.ToString.PadLeft(2, "0"c)
125 | Else
126 | TimeToShow = iSpan.Minutes.ToString.PadLeft(2, "0"c) & ":" &
127 | iSpan.Seconds.ToString.PadLeft(2, "0"c)
128 | End If
129 | Shutdown_PBar.Text = TimeToShow
130 | Shutdown_PBar.Value = NewValue
131 | lbl_UPSStatus.Text = String.Format(WinNUT_Globals.StrLog.Item(AppResxStr.STR_SHUT_STAT), WinNUT.UPS_BattCh.ToString(), WinNUT.Lbl_VRTime.Text)
132 | End If
133 | End Sub
134 |
135 | Private Sub Shutdown_Gui_FormClosing(sender As Object, e As FormClosingEventArgs) Handles MyBase.FormClosing
136 | If Me.Visible Then
137 | e.Cancel = True
138 | End If
139 | End Sub
140 | End Class
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Shutdown_Gui.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | 宽限时间
17 |
18 |
19 | 立即关机
20 |
21 |
22 | 电池电量 : {WinNUT.UPS_BattCh}
23 | 剩余时间 : {WinNUT.Lbl_VRTime.Text}
24 |
25 |
26 | 正在关机
27 |
28 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/ToastPopup.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Public Class ToastPopup
11 | 'Public toastCollectionId As String = "WinNUTToastCollection"
12 | 'Create a toast collection
13 | 'Public Async Sub CreateToastCollection(ByVal IconUri As String)
14 | 'Public Sub CreateToastCollection(ByVal IconUri As String)
15 | 'Dim displayName As String = "WinNUT"
16 | 'Dim launchArg As String = "WinNUTNotifications"
17 | 'Dim IconToast As Uri = New Uri(IconUri)
18 |
19 | 'Constructor
20 | 'Dim WinNutToastCollection As Windows.UI.Notifications.ToastCollection = New Windows.UI.Notifications.ToastCollection(
21 | 'Me.toastCollectionId,
22 | ' displayName,
23 | ' launchArg,
24 | ' IconToast)
25 | 'Calls the platform to create the collection
26 | ' Await Windows.UI.Notifications.ToastNotificationManager.GetDefault.GetToastCollectionManager.SaveToastCollectionAsync(WinNutToastCollection).GetResults()
27 | 'GetDefault().GetToastCollectionManager().SaveToastCollectionAsync(WinNutToastCollection)
28 | 'Windows.UI.Notifications.ToastNotificationManager.GetDefault().GetToastCollectionManager().SaveToastCollectionAsync(WinNutToastCollection)
29 | ' End Sub
30 | Public Sub SendToast(ByVal ToastParts As String())
31 | 'Get a toast XML template
32 | Dim TemplateToast As Windows.UI.Notifications.ToastTemplateType
33 | If ToastParts.Count >= 3 Then
34 | TemplateToast = Windows.UI.Notifications.ToastTemplateType.ToastText04
35 | Else
36 | TemplateToast = Windows.UI.Notifications.ToastTemplateType.ToastText02
37 | End If
38 |
39 | Dim toastXml As Windows.Data.Xml.Dom.XmlDocument = Windows.UI.Notifications.ToastNotificationManager.GetTemplateContent(TemplateToast)
40 |
41 | 'Fill in the text elements
42 | Dim stringElements As Windows.Data.Xml.Dom.XmlNodeList = toastXml.GetElementsByTagName("text")
43 | For i = 0 To ((ToastParts.Count - 1) And (stringElements.Count - 1)) Step 1
44 | stringElements.Item(i).InnerText = ToastParts.ElementAt(i)
45 | Next
46 |
47 | 'Specify the absolute path to an image
48 | 'Dim imagePath As String = "pack://application:,,,/Resources/WinNut.ico"
49 | 'Dim imageElements As Windows.Data.Xml.Dom.XmlNodeList = toastXml.GetElementsByTagName("image")
50 | 'imageElements.Item(0).Attributes.GetNamedItem("src").NodeValue = imagePath
51 |
52 | 'Create the toast And attach event listeners
53 | Dim toast As Windows.UI.Notifications.ToastNotification = New Windows.UI.Notifications.ToastNotification(toastXml)
54 | 'toast.Activated += ToastActivated
55 | 'toast.Dismissed += ToastDismissed
56 | 'toast.Failed += ToastFailed
57 |
58 | 'Show the toast. Be sure to specify the AppUserModelId on your application's shortcut!
59 | Dim AppId As String = WinNUT_Globals.ProgramName & " - " & WinNUT_Globals.ShortProgramVersion
60 | Windows.UI.Notifications.ToastNotificationManager.CreateToastNotifier(AppId).Show(toast)
61 | End Sub
62 | End Class
63 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Update_Gui.Designer.vb:
--------------------------------------------------------------------------------
1 | _
2 | Partial Class Update_Gui
3 | Inherits System.Windows.Forms.Form
4 |
5 | 'Form remplace la méthode Dispose pour nettoyer la liste des composants.
6 | _
7 | Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8 | Try
9 | If disposing AndAlso components IsNot Nothing Then
10 | components.Dispose()
11 | End If
12 | Finally
13 | MyBase.Dispose(disposing)
14 | End Try
15 | End Sub
16 |
17 | 'Requise par le Concepteur Windows Form
18 | Private components As System.ComponentModel.IContainer
19 |
20 | 'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
21 | 'Elle peut être modifiée à l'aide du Concepteur Windows Form.
22 | 'Ne la modifiez pas à l'aide de l'éditeur de code.
23 | _
24 | Private Sub InitializeComponent()
25 | Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Update_Gui))
26 | Me.GB1 = New System.Windows.Forms.GroupBox()
27 | Me.TB_ChgLog = New System.Windows.Forms.TextBox()
28 | Me.Lbl = New System.Windows.Forms.Label()
29 | Me.Update_Btn = New System.Windows.Forms.Button()
30 | Me.ShowLog_Button = New System.Windows.Forms.Button()
31 | Me.Close_Btn = New System.Windows.Forms.Button()
32 | Me.GB1.SuspendLayout()
33 | Me.SuspendLayout()
34 | '
35 | 'GB1
36 | '
37 | resources.ApplyResources(Me.GB1, "GB1")
38 | Me.GB1.Controls.Add(Me.TB_ChgLog)
39 | Me.GB1.Controls.Add(Me.Lbl)
40 | Me.GB1.Name = "GB1"
41 | Me.GB1.TabStop = False
42 | '
43 | 'TB_ChgLog
44 | '
45 | resources.ApplyResources(Me.TB_ChgLog, "TB_ChgLog")
46 | Me.TB_ChgLog.Name = "TB_ChgLog"
47 | '
48 | 'Lbl
49 | '
50 | resources.ApplyResources(Me.Lbl, "Lbl")
51 | Me.Lbl.Name = "Lbl"
52 | '
53 | 'Update_Btn
54 | '
55 | resources.ApplyResources(Me.Update_Btn, "Update_Btn")
56 | Me.Update_Btn.Name = "Update_Btn"
57 | Me.Update_Btn.UseVisualStyleBackColor = True
58 | '
59 | 'ShowLog_Button
60 | '
61 | resources.ApplyResources(Me.ShowLog_Button, "ShowLog_Button")
62 | Me.ShowLog_Button.Name = "ShowLog_Button"
63 | Me.ShowLog_Button.UseVisualStyleBackColor = True
64 | '
65 | 'Close_Btn
66 | '
67 | resources.ApplyResources(Me.Close_Btn, "Close_Btn")
68 | Me.Close_Btn.Name = "Close_Btn"
69 | Me.Close_Btn.UseVisualStyleBackColor = True
70 | '
71 | 'Update_Gui
72 | '
73 | resources.ApplyResources(Me, "$this")
74 | Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
75 | Me.Controls.Add(Me.Close_Btn)
76 | Me.Controls.Add(Me.GB1)
77 | Me.Controls.Add(Me.Update_Btn)
78 | Me.Controls.Add(Me.ShowLog_Button)
79 | Me.MaximizeBox = False
80 | Me.MinimizeBox = False
81 | Me.Name = "Update_Gui"
82 | Me.GB1.ResumeLayout(False)
83 | Me.GB1.PerformLayout()
84 | Me.ResumeLayout(False)
85 |
86 | End Sub
87 |
88 | Friend WithEvents GB1 As GroupBox
89 | Friend WithEvents Lbl As Label
90 | Friend WithEvents Close_Btn As Button
91 | Friend WithEvents ShowLog_Button As Button
92 | Friend WithEvents Update_Btn As Button
93 | Friend WithEvents TB_ChgLog As TextBox
94 | End Class
95 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Update_Gui.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Update verfügbar: Version {0}
17 |
18 |
19 | Aktualisieren
20 |
21 |
22 | ChangeLog anzeigen
23 |
24 |
25 | Schließen
26 |
27 |
28 | Aktualisieren
29 |
30 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Update_Gui.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Mise à jour disponible : version {0}
17 |
18 |
19 | Mise à jour
20 |
21 |
22 | Afficher ChangeLog
23 |
24 |
25 | Fermer
26 |
27 |
28 | Mise à jour
29 |
30 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Update_Gui.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Доступно обновление: Версия {0}
17 |
18 |
19 | Обновить
20 |
21 |
22 | Показать список изменений
23 |
24 |
25 | Закрыть
26 |
27 |
28 | Обновить
29 |
30 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/Update_Gui.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | 可用的新版本:{0}
17 |
18 |
19 | 更新
20 |
21 |
22 | 显示更新日志
23 |
24 |
25 | 关闭
26 |
27 |
28 | 更新
29 |
30 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT-client.vbproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Users\Nicolas\OneDrive\Documents\GitHub\WinNUT-Client\Releases\|publish\
5 |
6 |
7 |
8 |
9 |
10 | fr-FR
11 | false
12 | ShowAllFiles
13 |
14 |
15 | false
16 |
17 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT-client_TemporaryKey.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/WinNUT-client_TemporaryKey.pfx
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT.de-DE.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | USV-Variable
17 |
18 |
19 | Ausgang
20 |
21 |
22 | Datei
23 |
24 |
25 | Erneut verbinden
26 |
27 |
28 | Trennen
29 |
30 |
31 | Verbindung
32 |
33 |
34 | die Einstellungen
35 |
36 |
37 | Über
38 |
39 |
40 | Überprüfen Sie das Update
41 |
42 |
43 | Hilfe
44 |
45 |
46 | Windows NUT Client
47 |
48 |
49 | die Einstellungen
50 |
51 |
52 | Überprüfen Sie das Update
53 |
54 |
55 | Über
56 |
57 |
58 | Ausgang
59 |
60 |
61 | Firmware:
62 |
63 |
64 | Seriennummer:
65 |
66 |
67 | Name :
68 |
69 |
70 | Hersteller:
71 |
72 |
73 | Verbleibende Zeit :
74 |
75 |
76 | USV-Batterie schwach
77 |
78 |
79 | USV-Überlastung
80 |
81 |
82 | USV im Akkubetrieb
83 |
84 |
85 | USV angeschlossen
86 |
87 |
88 | Batterieladung
89 |
90 |
91 | Frequenz
92 |
93 |
94 | Ausgangsspannung
95 |
96 |
97 | USV laden
98 |
99 |
100 | Batteriespannung
101 |
102 |
103 | Eingangsspannung
104 |
105 |
106 | Ini-Datei importieren (v1.x)
107 |
108 |
109 | NoControl
110 |
111 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT.fr-FR.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Variable de l'UPS
17 |
18 |
19 | Quitter
20 |
21 |
22 | Fichier
23 |
24 |
25 | Re-Connecter
26 |
27 |
28 | Déconnecter
29 |
30 |
31 | Connexion
32 |
33 |
34 | Réglages
35 |
36 |
37 | A Propos
38 |
39 |
40 | Vérifier la mise à jour
41 |
42 |
43 | Aide
44 |
45 |
46 | Windows NUT Client
47 |
48 |
49 | Réglages
50 |
51 |
52 | Vérifier la mise à jour
53 |
54 |
55 | A Propos
56 |
57 |
58 | Quitter
59 |
60 |
61 | Firmware :
62 |
63 |
64 | Serial :
65 |
66 |
67 | Nom :
68 |
69 |
70 | Fabricant :
71 |
72 |
73 | Temps de Sauvegarde :
74 |
75 |
76 | Batteries Basse UPS
77 |
78 |
79 | Surcharge UPS
80 |
81 |
82 | UPS Sur Batteries
83 |
84 |
85 | UPS Sur Secteur
86 |
87 |
88 | Charge Batterie
89 |
90 |
91 | Fréquence
92 |
93 |
94 | Tension de Sortie
95 |
96 |
97 | Charge UPS
98 |
99 |
100 | Tension de Batterie
101 |
102 |
103 | Tension d'Entrée
104 |
105 |
106 | Import Fichier Ini (v1.x)
107 |
108 |
109 | NoControl
110 |
111 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT.ru-RU.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | Настройки
17 |
18 |
19 | Проверять обновления
20 |
21 |
22 | О программе
23 |
24 |
25 | Выход
26 |
27 |
28 | Импорт ini (из версии 1.x)
29 |
30 |
31 | Переменные ИБП
32 |
33 |
34 | Выход
35 |
36 |
37 | Файл
38 |
39 |
40 | Переподключиться
41 |
42 |
43 | Отключиться
44 |
45 |
46 | Соединение
47 |
48 |
49 | Настройки
50 |
51 |
52 | О программе
53 |
54 |
55 | Проверять обновления
56 |
57 |
58 | Помощь
59 |
60 |
61 | Прошивка:
62 |
63 |
64 | Серийный номер:
65 |
66 |
67 | Название:
68 |
69 |
70 | Производитель:
71 |
72 |
73 | Осталось времени:
74 |
75 |
76 | ИБП Низкий заряд батареи
77 |
78 |
79 | ИБП Перегрузка
80 |
81 |
82 | ИБП От батареи
83 |
84 |
85 | ИБП От сети
86 |
87 |
88 | Входное напряжение
89 |
90 |
91 | Выходное напряжение
92 |
93 |
94 | Заряд батареи
95 |
96 |
97 | Нагрузка ИБП
98 |
99 |
100 | Напряжение батареи
101 |
102 |
103 | Частота
104 |
105 |
106 | Windows NUT CLient
107 |
108 |
109 | NoControl
110 |
111 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT.zh-CN.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | text/microsoft-resx
5 |
6 |
7 | 2.0
8 |
9 |
10 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
11 |
12 |
13 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
14 |
15 |
16 | 设置
17 |
18 |
19 | 验证更新
20 |
21 |
22 | 关于
23 |
24 |
25 | 退出
26 |
27 |
28 | 导入 Ini 文件(v1.x 版本)
29 |
30 |
31 | UPS 变量
32 |
33 |
34 | 退出
35 |
36 |
37 | 文件
38 |
39 |
40 | 重新连接
41 |
42 |
43 | 断开连接
44 |
45 |
46 | 连接
47 |
48 |
49 | 设置
50 |
51 |
52 | 关于
53 |
54 |
55 | 验证更新
56 |
57 |
58 | 帮助
59 |
60 |
61 | 固件:
62 |
63 |
64 | 序列号:
65 |
66 |
67 | 名称:
68 |
69 |
70 | 制造商:
71 |
72 |
73 | 剩余时间:
74 |
75 |
76 | UPS 电池电量低
77 |
78 |
79 | UPS 过载
80 |
81 |
82 | UPS 使用电池工作
83 |
84 |
85 | UPS 已接入市电
86 |
87 |
88 | 输入电压
89 |
90 |
91 | 输出电压
92 |
93 |
94 | 电池电量
95 |
96 |
97 | UPS 负载
98 |
99 |
100 | 电池电压
101 |
102 |
103 | 频率
104 |
105 |
106 | Windows NUT Client
107 |
108 |
109 | NoControl
110 |
111 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNUT_Globals.vb:
--------------------------------------------------------------------------------
1 | ' WinNUT is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2 | ' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3 | '
4 | ' This program is free software: you can redistribute it and/or modify it under the terms of the
5 | ' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6 | ' License, or any later version.
7 | '
8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9 |
10 | Module WinNUT_Globals
11 | Public LongProgramName As String
12 | Public ProgramName As String
13 | Public ProgramVersion As String
14 | Public ShortProgramVersion As String
15 | Public GitHubURL As String
16 | Public Copyright As String
17 | Public Directory_AppData As String
18 | Public IsConnected As Boolean
19 | Public LogFile As String
20 | Public AppIcon As Dictionary(Of Integer, Icon)
21 | Public StrLog As New List(Of String)
22 | Public LogFilePath As String
23 | Public Sub Init_Globals()
24 | LongProgramName = My.Application.Info.Description
25 | ProgramName = My.Application.Info.ProductName
26 | ProgramVersion = System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString
27 | ShortProgramVersion = ProgramVersion.Substring(0, ProgramVersion.IndexOf(".", ProgramVersion.IndexOf(".") + 1))
28 | GitHubURL = My.Application.Info.Trademark
29 | Copyright = My.Application.Info.Copyright
30 | Directory_AppData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\WinNUT-Client"
31 |
32 | If Not System.IO.Directory.Exists(Directory_AppData) Then
33 | My.Computer.FileSystem.CreateDirectory(Directory_AppData)
34 | End If
35 | IsConnected = False
36 |
37 | 'Add Main Gui's Strings
38 | StrLog.Insert(AppResxStr.STR_MAIN_OLDINI_RENAMED, My.Resources.Frm_Main_Str_01)
39 | StrLog.Insert(AppResxStr.STR_MAIN_OLDINI, My.Resources.Frm_Main_Str_02)
40 | StrLog.Insert(AppResxStr.STR_MAIN_RECONNECT, My.Resources.Frm_Main_Str_03)
41 | StrLog.Insert(AppResxStr.STR_MAIN_RETRY, My.Resources.Frm_Main_Str_04)
42 | StrLog.Insert(AppResxStr.STR_MAIN_NOTCONN, My.Resources.Frm_Main_Str_05)
43 | StrLog.Insert(AppResxStr.STR_MAIN_CONN, My.Resources.Frm_Main_Str_06)
44 | StrLog.Insert(AppResxStr.STR_MAIN_OL, My.Resources.Frm_Main_Str_07)
45 | StrLog.Insert(AppResxStr.STR_MAIN_OB, My.Resources.Frm_Main_Str_08)
46 | StrLog.Insert(AppResxStr.STR_MAIN_LOWBAT, My.Resources.Frm_Main_Str_09)
47 | StrLog.Insert(AppResxStr.STR_MAIN_BATOK, My.Resources.Frm_Main_Str_10)
48 | StrLog.Insert(AppResxStr.STR_MAIN_UNKNOWN_UPS, My.Resources.Frm_Main_Str_11)
49 | StrLog.Insert(AppResxStr.STR_MAIN_LOSTCONNECT, My.Resources.Frm_Main_Str_12)
50 | StrLog.Insert(AppResxStr.STR_MAIN_INVALIDLOGIN, My.Resources.Frm_Main_Str_13)
51 | StrLog.Insert(AppResxStr.STR_MAIN_EXITSLEEP, My.Resources.Frm_Main_Str_14)
52 | StrLog.Insert(AppResxStr.STR_MAIN_GOTOSLEEP, My.Resources.Frm_Main_Str_15)
53 |
54 | 'Add Update Gui's Strings
55 | StrLog.Insert(AppResxStr.STR_UP_AVAIL, My.Resources.Frm_Update_Str_01)
56 | StrLog.Insert(AppResxStr.STR_UP_SHOW, My.Resources.Frm_Update_Str_02)
57 | StrLog.Insert(AppResxStr.STR_UP_HIDE, My.Resources.Frm_Update_Str_03)
58 | StrLog.Insert(AppResxStr.STR_UP_UPMSG, My.Resources.Frm_Update_Str_04)
59 | StrLog.Insert(AppResxStr.STR_UP_DOWNFROM, My.Resources.Frm_Update_Str_05)
60 |
61 | 'Add Shutdown Gui's Strings
62 | StrLog.Insert(AppResxStr.STR_SHUT_STAT, My.Resources.Frm_Shutdown_Str_01)
63 |
64 | 'Add App Event's Strings
65 | StrLog.Insert(AppResxStr.STR_APP_SHUT, My.Resources.App_Event_Str_01)
66 |
67 | 'Add Log's Strings
68 | StrLog.Insert(AppResxStr.STR_LOG_PREFS, My.Resources.Log_Str_01)
69 | StrLog.Insert(AppResxStr.STR_LOG_CONNECTED, My.Resources.Log_Str_02)
70 | StrLog.Insert(AppResxStr.STR_LOG_CON_FAILED, My.Resources.Log_Str_03)
71 | StrLog.Insert(AppResxStr.STR_LOG_CON_RETRY, My.Resources.Log_Str_04)
72 | StrLog.Insert(AppResxStr.STR_LOG_LOGOFF, My.Resources.Log_Str_05)
73 | StrLog.Insert(AppResxStr.STR_LOG_NEW_RETRY, My.Resources.Log_Str_06)
74 | StrLog.Insert(AppResxStr.STR_LOG_STOP_RETRY, My.Resources.Log_Str_07)
75 | StrLog.Insert(AppResxStr.STR_LOG_SHUT_START, My.Resources.Log_Str_08)
76 | StrLog.Insert(AppResxStr.STR_LOG_SHUT_STOP, My.Resources.Log_Str_09)
77 | StrLog.Insert(AppResxStr.STR_LOG_NO_UPDATE, My.Resources.Log_Str_10)
78 | StrLog.Insert(AppResxStr.STR_LOG_UPDATE, My.Resources.Log_Str_11)
79 | StrLog.Insert(AppResxStr.STR_LOG_NUT_FSD, My.Resources.Log_Str_12)
80 | End Sub
81 |
82 | End Module
83 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/WinNut.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/WinNUT_GUI/WinNut.ico
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_GUI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/WinNUT_V2/WinNUT_V2.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30204.135
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WinNUT-client", "WInNUT_GUI\WinNUT-client.vbproj", "{194AB29D-1F80-497B-86BE-4F35DACBA6BC}"
7 | EndProject
8 | Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "WinNUT-Setup", "Setup\Setup.vdproj", "{FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AGauge", "AGauge_mod\AGauge.csproj", "{CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}"
11 | EndProject
12 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5DD84426-132B-4C1F-9618-93535F5E8261}"
13 | EndProject
14 | Global
15 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
16 | Debug|Any CPU = Debug|Any CPU
17 | Debug|ARM = Debug|ARM
18 | Debug|ARM64 = Debug|ARM64
19 | Debug|x64 = Debug|x64
20 | Debug|x86 = Debug|x86
21 | Release|Any CPU = Release|Any CPU
22 | Release|ARM = Release|ARM
23 | Release|ARM64 = Release|ARM64
24 | Release|x64 = Release|x64
25 | Release|x86 = Release|x86
26 | EndGlobalSection
27 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
28 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
30 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|ARM.ActiveCfg = Debug|Any CPU
31 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|ARM.Build.0 = Debug|Any CPU
32 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|ARM64.ActiveCfg = Debug|Any CPU
33 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|ARM64.Build.0 = Debug|Any CPU
34 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|x64.ActiveCfg = Debug|Any CPU
35 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|x64.Build.0 = Debug|Any CPU
36 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|x86.ActiveCfg = Debug|Any CPU
37 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Debug|x86.Build.0 = Debug|Any CPU
38 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
39 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|Any CPU.Build.0 = Release|Any CPU
40 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|ARM.ActiveCfg = Release|Any CPU
41 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|ARM.Build.0 = Release|Any CPU
42 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|ARM64.ActiveCfg = Release|Any CPU
43 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|ARM64.Build.0 = Release|Any CPU
44 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|x64.ActiveCfg = Release|Any CPU
45 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|x64.Build.0 = Release|Any CPU
46 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|x86.ActiveCfg = Release|Any CPU
47 | {194AB29D-1F80-497B-86BE-4F35DACBA6BC}.Release|x86.Build.0 = Release|Any CPU
48 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|Any CPU.ActiveCfg = Debug
49 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|Any CPU.Build.0 = Debug
50 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|ARM.ActiveCfg = Debug
51 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|ARM64.ActiveCfg = Debug
52 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|x64.ActiveCfg = Debug
53 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Debug|x86.ActiveCfg = Debug
54 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|Any CPU.ActiveCfg = Release
55 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|Any CPU.Build.0 = Release
56 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|ARM.ActiveCfg = Release
57 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|ARM64.ActiveCfg = Release
58 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|x64.ActiveCfg = Release
59 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|x64.Build.0 = Release
60 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|x86.ActiveCfg = Release
61 | {FAFFBA8B-E9DB-419E-9669-999E8EFEFCB5}.Release|x86.Build.0 = Release
62 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
63 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
64 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|ARM.ActiveCfg = Debug|Any CPU
65 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|ARM.Build.0 = Debug|Any CPU
66 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|ARM64.ActiveCfg = Debug|Any CPU
67 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|ARM64.Build.0 = Debug|Any CPU
68 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|x64.ActiveCfg = Debug|Any CPU
69 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|x64.Build.0 = Debug|Any CPU
70 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|x86.ActiveCfg = Debug|Any CPU
71 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Debug|x86.Build.0 = Debug|Any CPU
72 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
73 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|Any CPU.Build.0 = Release|Any CPU
74 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|ARM.ActiveCfg = Release|Any CPU
75 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|ARM.Build.0 = Release|Any CPU
76 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|ARM64.ActiveCfg = Release|Any CPU
77 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|ARM64.Build.0 = Release|Any CPU
78 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|x64.ActiveCfg = Release|Any CPU
79 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|x64.Build.0 = Release|Any CPU
80 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|x86.ActiveCfg = Release|Any CPU
81 | {CBDB1D25-5A95-43D4-A958-BF6AE65C6C3F}.Release|x86.Build.0 = Release|Any CPU
82 | EndGlobalSection
83 | GlobalSection(SolutionProperties) = preSolution
84 | HideSolutionNode = FALSE
85 | EndGlobalSection
86 | GlobalSection(ExtensibilityGlobals) = postSolution
87 | SolutionGuid = {67D03C8E-4204-40C3-BB9A-57E7F542C832}
88 | EndGlobalSection
89 | EndGlobal
90 |
--------------------------------------------------------------------------------
/WinNUT_V2/images/Base Gimp/Battery_State.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Base Gimp/Battery_State.xcf
--------------------------------------------------------------------------------
/WinNUT_V2/images/Base Gimp/Icon_Set.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Base Gimp/Icon_Set.xcf
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1025.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1025.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1026.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1026.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1028.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1028.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1032.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1032.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1040.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1040.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1057.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1057.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1058.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1058.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1060.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1060.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1064.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1064.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1072.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1072.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1079.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1079.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1080.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1080.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1092.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1092.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1096.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1096.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1104.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1104.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1121.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1121.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1122.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1122.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1124.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1124.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1128.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1128.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1136.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1136.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1152.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1152.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1216.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1216.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1280.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1280.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/1344.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/1344.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/2001_ViewLogFile.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/2001_ViewLogFile.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/2001_ViewLogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/2001_ViewLogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/2002_Delete_LogFile.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/2002_Delete_LogFile.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/2002_Delete_LogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/2002_Delete_LogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/Delete_LogFile_24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/Delete_LogFile_24x24.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/Delete_LogFile_32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/Delete_LogFile_32x32.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/ViewLogFile_24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/ViewLogFile_24x24.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/ViewLogFile_32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/ViewLogFile_32x32.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/WinNUT-Updater.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/WinNUT-Updater.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/WinNut.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/WinNut.ico
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/ups.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/ups.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/ups_104x104.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/ups_104x104.bmp
--------------------------------------------------------------------------------
/WinNUT_V2/images/Ico/ups_104x104.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Ico/ups_104x104.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Jpg/Setup_Banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Jpg/Setup_Banner.jpg
--------------------------------------------------------------------------------
/WinNUT_V2/images/Jpg/ups.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Jpg/ups.jpg
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1025.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1025.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1026.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1026.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1028.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1028.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1032.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1032.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1040.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1040.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1057.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1057.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1058.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1058.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1060.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1060.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1064.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1064.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1072.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1072.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1079.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1079.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1080.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1080.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1092.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1092.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1096.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1096.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1104.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1104.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1121.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1121.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1122.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1122.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1124.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1124.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1128.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1136.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1136.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1152.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1216.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1216.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1280.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1280.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/1344.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/1344.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/2001_ViewLogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/2001_ViewLogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/2002_Delete_LogFile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/2002_Delete_LogFile.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/Battery_Charged.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/Battery_Charged.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/Battery_Charging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/Battery_Charging.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/Battery_Discharging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/Battery_Discharging.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/WinNUT-Updater.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/WinNUT-Updater.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/WinNut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/WinNut.png
--------------------------------------------------------------------------------
/WinNUT_V2/images/Png/ups.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gawindx/WinNUT-Client/8ab11a54ba94e2b00007994478dc9f6ac177b50e/WinNUT_V2/images/Png/ups.png
--------------------------------------------------------------------------------