Skip to content

Commit b55834d

Browse files
committed
Organizando arquivos na raiz e removendo duplicatas
1 parent 4e3832b commit b55834d

104 files changed

Lines changed: 3602 additions & 27 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
在程序所在目录下,通常会有以下这些文件(夹):
2+
3+
<img src="./images/image41.jpg" style="zoom:80%;" />
4+
5+
* TrafficMonitor.exe
6+
7+
TrafficMonitor的主程序。
8+
9+
* skins
10+
11+
包含TrafficMonitor的皮肤
12+
13+
* TrafficMonitor.VisualElementsManifest.xml和Logo文件夹
14+
15+
用来显示固定到Windows10开始屏幕上的磁贴样式。
16+
17+
如果你的操作系统是Windows8.1及以下,那么这几个文件是没有作用的。
18+
19+
* config.ini
20+
21+
配置文件,保存了TrafficMonitor的所有设置。
22+
23+
* error.log
24+
25+
日志文件,里面记录了一些程序的异常信息。
26+
27+
* history_traffic.dat
28+
29+
历史流量数据文件,里面记录了在“历史统计界面”显示的所有历史流量数据。
30+
31+
该文件是以文本形式保存的,你可以通过任意一款文本编辑器打开它。其中每一行保存了日期、上传流量和下载流量,其中的流量数据是以KB为单位记录的。
32+
33+
* history_traffic.dat.bak
34+
35+
自动备份的历史流量数据文件。程序会在退出或你关机的时候自动将history_traffic.dat备份到此文件。
36+
37+
仅当history_traffic.dat.bak中的记录数量少于history_traffic.dat文件时才会自动备份。
38+
39+
当载入历史流量数据时,如果history_traffic.dat.bak中的数量比history_traffic.dat多,则说明history_traffic.dat中的数据可能有损坏,此时会从history_traffic.dat.bak中载入历史流量数据。
40+
41+
* global_cfg.ini
42+
43+
保存配置文件保存位置的配置文件。
44+
45+
此文件中只有一项“portable_mode”配置。
46+
47+
当“portable_mode”为false时,config.ini、history_traffic.dat、history_traffic.dat.bak和error.log这几个文件将会保存到“C:\Users\\<用户名>\AppData\Roaming\TrafficMonitor”目录下。
48+
49+
当“portable_mode”为true时,以上文件将保存到程序所在目录。
50+
51+
你也可以通过[“选项”——“常规设置”——“配置和数据文件”](选项设置#数据和配置文件)来设置global_cfg.ini中的这个选项。
52+
53+
程序在启动时会先读取此文件的内容,再根据“portable_mode”的值来决定从哪个位置读取配置和数据文件。
54+
55+
但是,在以下两种情况下,配置和数据文件会强制保存到“C:\Users\\<用户名>\AppData\Roaming\TrafficMonitor”目录,并且[“选项”——“常规设置”——“配置和数据文件”](选项设置#数据和配置文件)中“保存到程序所在目录”选项将不可用。
56+
57+
* 当程序所在目录没有写入权限时。
58+
* 当程序exe文件是在系统临时目录中启动的时候。
59+
60+
* LibreHardwareMonitorLib.dll
61+
62+
用于实现硬件监控功能的第三方库LibreHardwareMonitor。
63+
64+
如果LibreHardwareMonitor的作者更新了软件,可以用这个文件的最新版本进行替换,以解决某些硬件监控的问题。
65+
66+
* OpenHardwareMonitorApi.dll
67+
68+
用于实现TrafficMonitor对LibreHardwareMonitorLib调用的动态库。

Change-Skin-Function.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
**[简体中文](更换皮肤功能) | English**
2+
3+
Select "More Functions" - "Change Skins" in the main window context menu will open the "Change Skin" dialog.
4+
5+
<img src="./images/skin.gif" style="zoom:80%;" />
6+
7+
You can select a skin you like for main window here.
8+
9+
The skin files are saved in the "skins" directory in the program directory. Each skins are placed in the separated folders.
10+
11+
You can [click here](Skin-Making-up-Tutorial) to view the skin making tutorial.
12+
13+
Each skin has tow set of layouts, so there are two previews in the "Preview" of "Change skin" dialog for each skins. As shown in the picture above. When select "Show More Info" in the main window context menu, you can switch between these two layouts.
14+
15+
Some skins contain the font or display text settings, when selecting these skins, you will see "This skin will overwrite font Settings" or "This skin will overwrite display text settings" at the bottom of the "Preview".
16+
17+
Some skins do not display the label text in front of the value, such as the following skin:
18+
19+
<img src="./images/image34.jpg" style="zoom:80%;" />
20+
21+
Therefore, the "Swap the position of upload and download" option in "Options" - "Main Window Settings" will not be available when using this skin.

0 commit comments

Comments
 (0)