38 lines
795 B
C#
38 lines
795 B
C#
using Iob.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Iob.Adapter
|
|
{
|
|
public class Driver
|
|
{
|
|
/// <summary>
|
|
/// Init classe
|
|
/// </summary>
|
|
public Driver()
|
|
{ }
|
|
|
|
/// <summary>
|
|
/// Metodo connessione
|
|
/// </summary>
|
|
public IobError Connect()
|
|
{
|
|
IobError libraryError = new IobError(IOB_ERROR_CODES.OK, "Connected");
|
|
|
|
return libraryError;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Metodo chiusura
|
|
/// </summary>
|
|
public IobError Dispose()
|
|
{
|
|
IobError libraryError = new IobError(IOB_ERROR_CODES.OK, "Disposed");
|
|
|
|
return libraryError;
|
|
}
|
|
}
|
|
} |