IAutoFocus.cs 860 B

1234567891011121314151617181920
  1. using CookComputing.XmlRpc;
  2. namespace MeasureThread
  3. {
  4. /// <summary>
  5. /// 实现XmlRpc代理接口(IXmlRpcProxy), 并指明对应服务类的方法;
  6. /// </summary>
  7. public interface IAutoFocus : IXmlRpcProxy
  8. {
  9. [XmlRpcMethod("autostigfocus")]//其中客户端的web方法名称即[ ]中的名称必须和服务端相同,否则会抛异常。
  10. [return: XmlRpcReturnValue(Description = "autostigfocus: 对焦;")]
  11. string autofocusstig(int search_step, int iter_n, double wd_searh_factor, double stig_range, double iter_range_damping);//,bool normalized
  12. [XmlRpcMethod("autofocus")]
  13. [return: XmlRpcReturnValue(Description = "autofocus: 对焦;")]//注释写什么都可以。
  14. string autofocus(int search_step, double wd_searh_factor, double retry, bool refine);//bool normalized
  15. }
  16. }