cpee-handlerwrapper-opcua 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab1161f5be28bb3a84473aaa83b76fb5a064f184953a30a92dbd6b48a50a451f
4
- data.tar.gz: 250ee2bf82851194e882349d9dcfef3089305291004745189e2da272797e5a6e
3
+ metadata.gz: c53decc037d22d3802022844c8483b9e680121f36e28ad05ce3e3250126de6ef
4
+ data.tar.gz: 999c8f9bd81fc344214559f82ab0e53b88212c4a49d37de1deb066ae0cf85905
5
5
  SHA512:
6
- metadata.gz: e9897eabccaa6e3d2258f61d9ec1d9a3d2d657a96c1491b80bd4fd8788593ee8fd6cdc8c7b62a45b9fc9d5675a01088a9b2f60062f6e173cabf6dd2e45c4bd6e
7
- data.tar.gz: 347988695dab6f0ac3325706c7db7136c61213f46660405d4a6f5d73d7284dd65b2af1199567bb8b1db55a4aec10e821c3e320ab8bcedab94ae9cf6d44af9697
6
+ metadata.gz: 5f6f022ce8b077f2fa01ed2527f4a007847d97b63982b5334f9febd76f8829d4ff04ac250ac8bb320e786f7bac88ca9e1007c7872a183f45778dc046e000213b
7
+ data.tar.gz: a1560af1df4d1eb928717ba8b6c200c2929266df7af7ba31d0a3a9066c6ee67cd8c3ae1167eaa76a13b373621a8d4e2af18efe7250e66dd2d970bec78326b394
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-handlerwrapper-opcua"
3
- s.version = "0.6"
3
+ s.version = "0.7"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "OPCUA for CPEE HandlerWrapper. Use opc.tcp-read|write|exececute:// links."
@@ -195,9 +195,9 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
195
195
  def activity_handle(passthrough, parameters) # {{{
196
196
  raise "Wrong endpoint" if @handler_endpoint.nil? || @handler_endpoint.empty?
197
197
  @label = parameters[:label]
198
- @sensors = parameters[:sensors]
199
- @aggregators = parameters[:aggregators]
200
- @costs = parameters[:costs]
198
+ @sensors = parameters.dig(:stream,:sensors)
199
+ @aggregators = parameters.dig(:stream,:aggregators)
200
+ @costs = parameters.dig(:stream,:costs)
201
201
  @controller.notify("activity/calling", :instance => @controller.instance, :instance_uuid => @controller.uuid, :label => @label, :instance_name => @controller.info, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => @controller.attributes_translated)
202
202
  if passthrough.to_s.empty?
203
203
  if @handler_endpoint.start_with?('opc.tcp')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-handlerwrapper-opcua
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cpee