IServer.cs 623 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.Serialization;
  5. using System.ServiceModel;
  6. using System.Text;
  7. namespace BBIWARG.API
  8. {
  9. // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServer" in both code and config file together.
  10. [ServiceContract]
  11. public interface IServer
  12. {
  13. [OperationContract]
  14. Grid getGrid();
  15. [OperationContract]
  16. string setGrid(Grid g);
  17. [OperationContract]
  18. Slider getSlider();
  19. [OperationContract]
  20. string setSlider(Slider s);
  21. }
  22. }