31 lines
1.7 KiB
C#
31 lines
1.7 KiB
C#
using UnityEngine;
|
|
|
|
public class Config
|
|
{
|
|
public static string RootPath = $"sdcard/{Application.productName}";
|
|
public static int TcpPort = 3000;
|
|
public static string TcpHost = "192.168.50.199";// 192.168.50.199 192.168.50.107 192.169.0.199
|
|
public static string IpConfig = $"{RootPath}/ipconfig.txt";
|
|
public static string DeviceModel = $"{RootPath}/设备型号.txt";//平板的型号,和后台分组中一致
|
|
//
|
|
public static string SN;
|
|
public static uint Group = 1;
|
|
public static int times = 100;//倍数
|
|
//
|
|
public static string AppPath = $"{RootPath}/Assets/App";//App资源路径
|
|
public static string AppIconPath = $"{RootPath}/Assets/AppIcon";
|
|
public static string VideoPath = $"{RootPath}/Assets/Video";//视频资源路径
|
|
public static string VideoIconPath = $"{RootPath}/Assets/VideoIcon";
|
|
public static string ImagePath = $"{RootPath}/Assets/Image";//图片资源路径
|
|
public static string FilePath = $"{RootPath}/Assets/File";//文件资源路径
|
|
public static string MapPath = $"sdcard/maps/export";//地图资源路径
|
|
public static string PCappPath = $"{RootPath}/Assets/PCapp";//电脑应用资源路径
|
|
public static string PCappIconPath = $"{RootPath}/Assets/PCappIcon";
|
|
public static string OtherPath = $"{RootPath}/Assets/Other";//其他资源路径
|
|
public static string AssetsInfoPath = $"{RootPath}/Assets/AssetsInfo";//资源信息路径
|
|
public static string AllAssetsInfoPath = $"{RootPath}/Assets/AllAssetsInfo";//组内所有资源信息路径
|
|
public static string UseRecordPath = $"{RootPath}/Assets/UseInfo";//资源使用信息路径
|
|
public static string KouFeiRecordPath = $"{RootPath}/Assets/KouFeiInfo";//扣费信息记录
|
|
public static string UploadUseRecordConfig = $"{RootPath}/上传地址配置.txt";//上传资源使用信息配置文件
|
|
|
|
} |