OEM初版

This commit is contained in:
2025-10-10 17:54:53 +08:00
parent ccbe0f626f
commit 9036f967fc
16 changed files with 1736 additions and 237 deletions

24
FATrace.Com/NVRCom.cs Normal file
View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FATrace.Com
{
/// <summary>
/// NVR 公共的类
/// </summary>
public class NVRCom
{
/// <summary>
/// 获取视频名称
/// </summary>
/// <param name="configKey"></param>
/// <returns></returns>
public static string GetVideoName(string Path,string Code)
{
return $"{Path}\\{DateTime.Now.ToString("yyyy-MM-dd HHmmss")} {Code}.mp4";
}
}
}