初始化
This commit is contained in:
20
看板定阅/Models/WaiBuJianKong.cs
Normal file
20
看板定阅/Models/WaiBuJianKong.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Text;
|
||||
using Common;
|
||||
|
||||
namespace 看板定阅.Models
|
||||
{
|
||||
public class WaiBuJianKong
|
||||
{
|
||||
public static string WaiBuJianKongSourceFileName = "Para_copy.yaml";
|
||||
public static string WaiBuJianKongTargetFileName = "C:\\Program Files\\windows_exporter\\textfile_inputs\\Para.prom";
|
||||
public static string Data = "";
|
||||
|
||||
static WaiBuJianKong()
|
||||
{
|
||||
string getdata = File.ReadAllText(WaiBuJianKongSourceFileName, Encoding.UTF8);
|
||||
Data = getdata;
|
||||
}
|
||||
public static grafana_data data = new grafana_data();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user