IDataSerialize2.cs 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
//==============================================================
//  Copyright (C) 2019  Inc. All rights reserved.
//
//==============================================================
//  Create by 种道洋 at 2019/12/27 18:45:02.
//  Version 1.0
//  种道洋
//==============================================================
using System;
using System.Collections.Generic;
using System.Text;

namespace Cdy.Tag
{
    /// <summary>
    /// 
    /// </summary>
    public interface IDataSerialize2
    {

        #region ... Variables  ...

        #endregion ...Variables...

        #region ... Events     ...

        #endregion ...Events...

        #region ... Constructor...

        #endregion ...Constructor...

        #region ... Properties ...

        #endregion ...Properties...

        #region ... Methods    ...
        /// <summary>
        /// 请求序列化文件
        /// </summary>
        /// <param name="dataMemory"></param>
        /// <param name="date"></param>
        void RequestToSeriseFile(CompressMemory2 dataMemory,DateTime date);

45 46 47 48 49 50 51 52 53
        /// <summary>
        /// 手动更新历史数据
        /// </summary>
        /// <param name="id"></param>
        /// <param name="time"></param>
        /// <param name="data"></param>
        /// <param name="size"></param>
        void ManualRequestToSeriseFile(int id, DateTime time, MarshalMemoryBlock data, int size);

54 55 56 57 58 59 60 61 62 63 64 65
        /// <summary>
        /// 
        /// </summary>
        void RequestToSave();

        #endregion ...Methods...

        #region ... Interfaces ...

        #endregion ...Interfaces...
    }
}