diff --git a/Iob.Adapter/Driver.cs b/Iob.Adapter/Driver.cs new file mode 100644 index 0000000..57fdfe6 --- /dev/null +++ b/Iob.Adapter/Driver.cs @@ -0,0 +1,38 @@ +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 + { + /// + /// Init classe + /// + public Driver() + { } + + /// + /// Metodo connessione + /// + public IobError Connect() + { + IobError libraryError = new IobError(IOB_ERROR_CODES.OK, "Connected"); + + return libraryError; + } + + /// + /// Metodo chiusura + /// + public IobError Dispose() + { + IobError libraryError = new IobError(IOB_ERROR_CODES.OK, "Disposed"); + + return libraryError; + } + } +} \ No newline at end of file diff --git a/Iob.Adapter/Iob.Adapter.csproj b/Iob.Adapter/Iob.Adapter.csproj new file mode 100644 index 0000000..a13aa25 --- /dev/null +++ b/Iob.Adapter/Iob.Adapter.csproj @@ -0,0 +1,64 @@ + + + + + Debug + AnyCPU + {09FD3985-3898-4AD8-9472-2B84D117BBCD} + Library + Properties + Iob.Adapter + Iob.Adapter + v4.6.2 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + VersGen.cs + + + + + + + + + + + + + + {3da86f5d-0459-4d24-9b5e-a2c44e5019f3} + Iob.Model + + + + \ No newline at end of file diff --git a/Iob.Adapter/Properties/AssemblyInfo.cs b/Iob.Adapter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..377c363 --- /dev/null +++ b/Iob.Adapter/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Le informazioni generali relative a un assembly sono controllate dal seguente +// set di attributi. Modificare i valori di questi attributi per modificare le informazioni +// associate a un assembly. +[assembly: AssemblyTitle("Iob.Adapter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Iob.Adapter")] +//[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili +// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da +// COM, impostare su true l'attributo ComVisible per tale tipo. +[assembly: ComVisible(false)] + +// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi +[assembly: Guid("09fd3985-3898-4ad8-9472-2b84d117bbcd")] + +// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: +// +// Versione principale +// Versione secondaria +// Numero di build +// Revisione +// +// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build +// usando l'asterisco '*' come illustrato di seguito: +// [assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file