IFixService.cs 1.02 KB
Newer Older
1 2 3
using FObjBase;
using FObjBase.Reflect;
using System;
潘栩锋's avatar
潘栩锋 committed
4
using System.Collections.Generic;
5
using System.ComponentModel;
潘栩锋's avatar
潘栩锋 committed
6 7 8 9 10
using System.Linq;
using System.Text;

namespace FLY.Thick.Base.IService
{
潘栩锋's avatar
潘栩锋 committed
11 12 13
    /// <summary>
    /// 定点测量服务
    /// </summary>
14
    public interface IFixService : INotifyPropertyChanged
潘栩锋's avatar
潘栩锋 committed
15
    {
16 17 18 19
        DateTime UpdateTime { get; }

        [Call(typeof(GetFixDatasReponse))]
        void GetFixDatas(AsyncCBHandler asyncDelegate, object asyncContext);
潘栩锋's avatar
潘栩锋 committed
20 21 22
    }


23
    public class GetFixDatasReponse
潘栩锋's avatar
潘栩锋 committed
24 25 26 27
    {
        /// <summary>
        /// 数据, AD数据!!!!!
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
28
        public int[] ADs { get; set; }
潘栩锋's avatar
潘栩锋 committed
29 30 31
        /// <summary>
        /// 数据, 厚度数据!!!!!
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
32
        public double[] thicks { get; set; }
潘栩锋's avatar
潘栩锋 committed
33 34 35
        /// <summary>
        /// 单数据时间间隔
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
36
        public TimeSpan ts { get; set; }
潘栩锋's avatar
潘栩锋 committed
37 38 39
        /// <summary>
        /// 开始时间点
        /// </summary>
潘栩锋's avatar
潘栩锋 committed
40
        public DateTime time { get; set; }
潘栩锋's avatar
潘栩锋 committed
41 42
    }
}