2025-03-28 09:49:56 +08:00

64 lines
1.8 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TransmissionClient.Model
{
/// <summary>
/// 多链路配置类
/// </summary>
public class TransLinkConfigModel
{
/// <summary>
/// 服务区编码
/// </summary>
public string ServerPartCode { get; set; }
/// <summary>
/// 传输链路ID
/// </summary>
public int TransLinkID { get; set; }
/// <summary>
/// 传输链路地址
/// 格式示例http://127.0.0.1:7080
/// </summary>
public string TransLinkURL { get; set; }
/// <summary>
/// 链路传输表控制配置
/// </summary>
public List<TransTableConfigModel> TableConfig { get; set; }
}
/// <summary>
/// 多链路数据传输表配置类
/// </summary>
public class TransTableConfigModel
{
/// <summary>
/// 传输标识表名
/// </summary>
public string TableName { get; set; }
/// <summary>
/// 传输频率(分钟)
/// </summary>
public int TransFrequence { get; set; }
/// <summary>
/// 历史数据回传天数
/// </summary>
public int? HistoryCallbackDays { get; set; }
/// <summary>
/// 历史数据截止日期(该日期后数据全量传输)
/// 历史数据可控制上传每日的指定时间段内数据
/// </summary>
public DateTime? HistoryCallbackDate { get; set; }
/// <summary>
/// 需要上传的历史数据时间段起始
/// </summary>
public int? StartTime { get; set; }
/// <summary>
/// 需要上传的历史数据时间段结束
/// </summary>
public int? EndTime { get; set; }
}
}