初始化
This commit is contained in:
61
BLWLogProduce/Models/WaiBuJianKong.cs
Normal file
61
BLWLogProduce/Models/WaiBuJianKong.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
|
||||
namespace BLWLogProduce.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();
|
||||
|
||||
public static string UDPPackage_TotalRecvPackage = "UDPPackage_TotalRecvPackage";
|
||||
public static string UDPPackage_TotalSendPackage = "UDPPackage_TotalSendPackage";
|
||||
public static string RCU_Online = "RCUOnLine";
|
||||
public static string TakeCardIn = "TakeCardIn";
|
||||
public static string UDPPackage_Heart = "UDPPackage_Heart";
|
||||
public static string UDPPackage_SearchHost = "UDPPackage_SearchHost";
|
||||
public static string UDPPackage_Intercept = "UDPPackage_Intercept";
|
||||
public static string 在线用户 = "在线用户";
|
||||
public static string UDPPackage_能耗 = "UDPPackage_能耗";
|
||||
public static string UDPPackage_StatusPass = "UDPPackage_StatusPass";
|
||||
|
||||
|
||||
public static string UDPPackage_TCL电视Discovery = "UDPPackage_TCL电视Discovery";
|
||||
public static string UDPPackage_TCL电视Control = "UDPPackage_TCL电视Control";
|
||||
|
||||
public static string UDPPackage_小度音箱Discovery = "UDPPackage_小度音箱Discovery";
|
||||
public static string UDPPackage_小度音箱Control = "UDPPackage_小度音箱Control";
|
||||
|
||||
public static string UDPPackage_TianMaoQueryAll = "UDPPackage_TianMaoQueryAll";
|
||||
public static string UDPPackage_TianMaoCONTROL = "UDPPackage_TianMaoCONTROL";
|
||||
}
|
||||
public class grafana_data
|
||||
{
|
||||
public string? WireShark_UDPCapCount { get; set; } = "0";
|
||||
public string? UDP_Upload { get; set; } = "0";
|
||||
public string? UDP_Sent { get; set; } = "0";
|
||||
public string? RCU_Online { get; set; } = "0";
|
||||
public string? RCU_TakeCard { get; set; } = "0";
|
||||
public string? RCU_Heart { get; set; } = "0";
|
||||
public string? RCU_SearchHost { get; set; } = "0";
|
||||
public string? Intercept { get; set; } = "0";
|
||||
public string? WebUser { get; set; } = "0";
|
||||
public string? Energy { get; set; } = "0";
|
||||
public string? RCU_OE { get; set; } = "0";
|
||||
public string? TCL_Ctr_D { get; set; } = "0";
|
||||
public string? TCL_Ctr_C { get; set; } = "0";
|
||||
public string? TM_Ctr_D { get; set; } = "0";
|
||||
public string? TM_Ctr_C { get; set; } = "0";
|
||||
public string? XD_Ctr_D { get; set; } = "0";
|
||||
public string? XD_Ctr_C { get; set; } = "0";
|
||||
public string? Hivi_Ctr { get; set; } = "0";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user