Skip to content

Commit

Permalink
support regul ifaces in libclient
Browse files Browse the repository at this point in the history
  • Loading branch information
miaoufkirsh committed Apr 18, 2012
1 parent a705728 commit 201673a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gem/lib/openplacos/widget/Analog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ def set(arg_)
write(arg_.to_f, {})
end
end

module Analog::Regul
include Analog::Order
end

module Analog::Sensor
include Analog
Expand Down
10 changes: 9 additions & 1 deletion gem/lib/openplacos/widget/Digital.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ def set(arg_)
end

end


module Regul
include Digital

module Switch
include Order::Switch
end
end

end
end

0 comments on commit 201673a

Please sign in to comment.