37 lines
834 B
C#
37 lines
834 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.ServiceModel;
|
|
using System.ServiceModel.Web;
|
|
using System.Text;
|
|
using bsmd.database;
|
|
|
|
namespace bsmd.nsw.service
|
|
{
|
|
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
|
|
[ServiceContract]
|
|
public interface IService
|
|
{
|
|
|
|
[OperationContract]
|
|
NSWEntry[] GetData(string poc, DateTime? from , DateTime? to);
|
|
|
|
}
|
|
|
|
[DataContract]
|
|
public class NSWEntry
|
|
{
|
|
|
|
[DataMember]
|
|
public string PoC;
|
|
|
|
[DataMember]
|
|
public STAT STAT { get; set; }
|
|
|
|
[DataMember]
|
|
public NOA_NOD NOA_NOD { get; set; }
|
|
|
|
}
|
|
}
|