OSDN Git Service

add vemapi function(spotsize & magnification)
[vem/vem.git] / lib / request.rb
index 9fcea13..bf0846e 100644 (file)
@@ -32,6 +32,10 @@ class Request
       @result = @vem.set_stageA(@params["x"].to_i, @params["y"].to_i, @params["z"].to_i, @params["a"].to_i)
     when "stager"
       @result = @vem.set_stageR(@params["x"].to_i, @params["y"].to_i, @params["z"].to_i, @params["a"].to_i)
+    when "spotsize"
+      @result = @vem.set_spotsize(@params["sps"].to_i)
+    when "magnification"
+      @result = @vem.set_magnification(@params["mag"].to_i)
     when "acq_init"
       @result = @vem.acquisition_init(@params["bng"].to_i, @params["exp"], @params["size"].to_i)
     when "acq"