OEM初版
This commit is contained in:
24
FATrace.Com/NVRCom.cs
Normal file
24
FATrace.Com/NVRCom.cs
Normal 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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user