This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new d6bff1b  plc4go: add missing implementations for ads driver
d6bff1b is described below

commit d6bff1b00be8074b4133416961b4933b62996182
Author: Sebastian Rühl <sru...@apache.org>
AuthorDate: Thu Sep 16 11:02:10 2021 +0200

    plc4go: add missing implementations for ads driver
---
 plc4go/internal/plc4go/ads/Driver.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plc4go/internal/plc4go/ads/Driver.go 
b/plc4go/internal/plc4go/ads/Driver.go
index 334d07b..a45846e 100644
--- a/plc4go/internal/plc4go/ads/Driver.go
+++ b/plc4go/internal/plc4go/ads/Driver.go
@@ -48,11 +48,12 @@ func (m *Driver) GetProtocolName() string {
 }
 
 func (m *Driver) GetDefaultTransport() string {
-       panic("implement me")
+       return "tcp"
 }
 
 func (m *Driver) CheckQuery(query string) error {
-       panic("implement me")
+       _, err := m.fieldHandler.ParseQuery(query)
+       return err
 }
 
 func (m *Driver) GetConnection(transportUrl url.URL, transports 
map[string]transports.Transport, options map[string][]string) <-chan 
plc4go.PlcConnectionConnectResult {

Reply via email to