diff --git a/.vs/CMS_CORE/v15/.suo b/.vs/CMS_CORE/v15/.suo index 1a6a89e..966a979 100644 Binary files a/.vs/CMS_CORE/v15/.suo and b/.vs/CMS_CORE/v15/.suo differ diff --git a/CMS_CORE_Application/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/CMS_CORE_Application/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 6b4b730..a099feb 100644 Binary files a/CMS_CORE_Application/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/CMS_CORE_Application/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/CMS_CORE_Library/Osai/Nc_Osai.cs b/CMS_CORE_Library/Osai/Nc_Osai.cs index c68b9ac..dec2cd5 100644 --- a/CMS_CORE_Library/Osai/Nc_Osai.cs +++ b/CMS_CORE_Library/Osai/Nc_Osai.cs @@ -14,6 +14,7 @@ using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using CMS_CORE_Library.OPENControl; +using System.ComponentModel; namespace CMS_CORE.Osai { @@ -1421,6 +1422,37 @@ namespace CMS_CORE.Osai return ErrororOwner + szErrorClassDesc + ": " + szErrorDesc + " (" + Class + "-" + Num + ")"; + case 5: + szErrorClassDesc = "FILESYSTEM error class"; + switch (Num) + { + case 0x001: szErrorDesc = "An error has occurred while opening a transaction with the target for file transfer."; break; + case 0x002: szErrorDesc = "An error has occurred while closing a transaction with the target for file transfer."; break; + case 0x003: szErrorDesc = "Invalid file ID."; break; + case 0x004: szErrorDesc = "The number of transaction is not valid."; break; + case 0x005: szErrorDesc = "Error opening file."; break; + case 0x006: szErrorDesc = "Error closing file."; break; + case 0x007: szErrorDesc = "A file path containing wildcards was passed to a function that does not support wildcards."; break; + case 0x008: szErrorDesc = "Error reading data from file."; break; + case 0x009: szErrorDesc = "Error writing data to file."; break; + case 0x00A: szErrorDesc = "The logical drive was not found on the target."; break; + case 0x00C: szErrorDesc = "The specified file path was not valid."; break; + case 0x00D: szErrorDesc = "An attempt was made to create a logical drive on the target with the same name as an existing logical drive."; break; + case 0x00E: szErrorDesc = "The invoked function requires a different security level on the target."; break; + case 0x00F: szErrorDesc = "A logical drive cannot be created on a remote PC."; break; + case 0x010: szErrorDesc = "Insufficient disk space to complete the requested operation."; break; + case 0x011: szErrorDesc = "The requested file was not found."; break; + } + return ErrororOwner + szErrorClassDesc + ": " + szErrorDesc + " (" + Class + "-" + Num + ")"; + + + case 6: + szErrorClassDesc = "WINDOWS error class"; + + szErrorDesc = new Win32Exception((int) Num).Message; + return ErrororOwner + szErrorClassDesc + ": " + szErrorDesc + " (" + Class + "-" + Num + ")"; + + case 10: szErrorClassDesc = "DLL_INTERFACE error class"; switch (Num) diff --git a/CMS_CORE_Library/obj/Debug2/CMS_CORE_Library.csproj.CoreCompileInputs.cache b/CMS_CORE_Library/obj/Debug2/CMS_CORE_Library.csproj.CoreCompileInputs.cache index 653c260..c2374d1 100644 --- a/CMS_CORE_Library/obj/Debug2/CMS_CORE_Library.csproj.CoreCompileInputs.cache +++ b/CMS_CORE_Library/obj/Debug2/CMS_CORE_Library.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -b5b2eb5897f08292a232734ecbe8ea2948fbc0fc +9a1c4b88cb1ae7a511e2e79c37db6884ee251c65 diff --git a/CMS_CORE_Library/obj/Debug2/DesignTimeResolveAssemblyReferencesInput.cache b/CMS_CORE_Library/obj/Debug2/DesignTimeResolveAssemblyReferencesInput.cache index c3f0398..f86600b 100644 Binary files a/CMS_CORE_Library/obj/Debug2/DesignTimeResolveAssemblyReferencesInput.cache and b/CMS_CORE_Library/obj/Debug2/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/CMS_Core_Nc_Demo_Application.csproj.CoreCompileInputs.cache b/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/CMS_Core_Nc_Demo_Application.csproj.CoreCompileInputs.cache index 3e896f9..23a4d4d 100644 --- a/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/CMS_Core_Nc_Demo_Application.csproj.CoreCompileInputs.cache +++ b/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/CMS_Core_Nc_Demo_Application.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -7b1ab503ade871757e5ea55988138537112eedfa +1c8a422d4d7efb455dfa5a9d1bb9c8f170cb2c87 diff --git a/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index c71979b..6a88c3c 100644 Binary files a/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/CMS_CORE_Nc_Demo_Application/Nc_Demo_Application/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ