43 lines
1.6 KiB
C#
43 lines
1.6 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.ServiceModel;
|
|||
|
using System.Text;
|
|||
|
using Weee.Models;
|
|||
|
using Weee.Models.Paramemter;
|
|||
|
using Weee.Service;
|
|||
|
|
|||
|
namespace Weee.WCFService
|
|||
|
{
|
|||
|
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IWCFParameterService" in both code and config file together.
|
|||
|
[ServiceContract]
|
|||
|
public interface IWCFParameterService
|
|||
|
{
|
|||
|
[OperationContract]
|
|||
|
NonYearlyParameter GetNonYearlyParameter(int nonYearlyParameterId);
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, string> GetNonYearlyParameterOptions(Categories categories);
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, decimal> GetParameterValues(IEnumerable<int> ids);
|
|||
|
[OperationContract]
|
|||
|
IEnumerable<PCR> GetPublicPCRs();
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, string> GetSimaproCategories();
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, string> GetSimaproEncodingsAndValues(List<int> ids);
|
|||
|
[OperationContract]
|
|||
|
SimaproParameter GetSimaproParameter(int simaproParameterId);
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, string> GetSimaproTypeNames(List<int> ids);
|
|||
|
[OperationContract]
|
|||
|
IEnumerable<SimaproParameterType> GetSimaproTypeParameter(int categoryId);
|
|||
|
[OperationContract]
|
|||
|
List<string> GetSimaproUnits();
|
|||
|
[OperationContract]
|
|||
|
IEnumerable<SimaproVersion> GetSimaproVersionCategory();
|
|||
|
[OperationContract]
|
|||
|
Dictionary<int, string> GetYearlyParameterOptions(Categories categories);
|
|||
|
}
|
|||
|
}
|