点击或拖拽改变大小

FileMarkId 类

文件标记对象类,标记了一个文件的当前状态,是否处于下载中,删除的操作信息
File tag object class, which marks the current status of a file, whether it is downloading, or delete operation information
继承层次
SystemObject
  HslCommunication.CoreFileMarkId

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class FileMarkId

FileMarkId 类型公开以下成员。

构造函数
  名称说明
公共方法FileMarkId
实例化一个文件标记对象,需要传入日志信息和文件名
To instantiate a file tag object, you need to pass in log information and file name
Top
属性
  名称说明
公共属性ActiveTime
当前的对象最后一次活跃的时间
Last active time of the current object
公共属性CreateTime
当前的对象创建的时间
Current object creation time
公共属性DownloadTimes
当前的文件的读取次数,通常也是下载次数。
The current number of reads of the file, usually also the number of downloads.
Top
方法
  名称说明
公共方法AddOperation
新增一个对当前的文件的操作,如果没有读取,就直接执行,如果有读取,就等待读取完成的时候执行。
Add an operation on the current file. If there is no read, it will be executed directly. If there is a read, it will be executed when the read is completed.
公共方法CanClear
获取该对象是否能被清除
Gets whether the object can be cleared
公共方法EnterReadOperator
进入文件的读取状态
Enter the read state of the file
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
公共方法LeaveReadOperator
离开本次的文件读取状态,如果没有任何的客户端在读取了,就执行缓存队列里的操作信息。
Leaving the current file reading status, if no client is reading, the operation information in the cache queue is executed.
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToString (重写 ObjectToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见