2018-06-06 19:15:05 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using System.ServiceModel;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2018-06-17 16:52:23 +02:00
|
|
|
|
namespace EHEC_Server
|
2018-06-06 19:15:05 +02:00
|
|
|
|
{
|
|
|
|
|
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService" in both code and config file together.
|
|
|
|
|
[ServiceContract]
|
|
|
|
|
public interface IService
|
|
|
|
|
{
|
2018-06-22 16:29:27 +02:00
|
|
|
|
|
2018-06-08 16:24:10 +02:00
|
|
|
|
[OperationContract]
|
2018-06-30 11:52:50 +02:00
|
|
|
|
Doctor WriteDoctor(Doctor doctor);
|
2018-06-17 19:42:15 +02:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
2018-06-30 11:52:50 +02:00
|
|
|
|
Patient WritePatient(Patient patient);
|
2018-06-17 19:42:15 +02:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
2018-06-30 11:52:50 +02:00
|
|
|
|
Origin WriteOrigin(Origin origin);
|
2018-06-17 19:42:15 +02:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
2018-06-30 11:52:50 +02:00
|
|
|
|
Exam WriteExam(Exam exam);
|
2018-06-17 19:42:15 +02:00
|
|
|
|
|
2018-07-11 08:06:33 +02:00
|
|
|
|
[OperationContract]
|
|
|
|
|
Origin_Exam WriteOrigin_Exam(Origin_Exam origin_exam);
|
|
|
|
|
|
2018-06-17 19:42:15 +02:00
|
|
|
|
[OperationContract]
|
2018-06-30 11:52:50 +02:00
|
|
|
|
Result WriteResult(Result result);
|
2018-06-17 19:42:15 +02:00
|
|
|
|
|
2018-08-19 21:55:46 +02:00
|
|
|
|
[OperationContract]
|
|
|
|
|
City WriteCity(City city);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-30 11:52:50 +02:00
|
|
|
|
[OperationContract]
|
|
|
|
|
List<Result> GetResults();
|
2018-07-14 10:54:24 +02:00
|
|
|
|
|
2018-08-19 21:55:46 +02:00
|
|
|
|
[OperationContract]
|
|
|
|
|
List<City> GetCities();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-01 13:46:05 +02:00
|
|
|
|
[OperationContract]
|
2018-08-14 22:13:10 +02:00
|
|
|
|
bool CreateRandomData(int valueToCreate);
|
2018-08-01 13:46:05 +02:00
|
|
|
|
|
2018-07-14 10:54:24 +02:00
|
|
|
|
[OperationContract]
|
|
|
|
|
String Ping();
|
2018-08-22 22:15:21 +02:00
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
void ReloadCluster();
|
2018-06-06 19:15:05 +02:00
|
|
|
|
}
|
|
|
|
|
}
|