Interface INCStorageManager
Auxiliary object that helps to create new INCStorage instances and maintains the list of output files.
Usually you don't need to use it directly. It is used internally by the classes TNCFiles
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public interface INCStorageManager
Methods
AddExternalBinaryFile(String, String)
Adds some binary external file to the list of output files.
Usually you don't need to call it directly. Use the methods of TNCFiles
Declaration
int AddExternalBinaryFile(string outputFileName, string fileDescription)
Parameters
Type | Name | Description |
---|---|---|
System. |
outputFileName | Full path to the external file name to add. |
System. |
fileDescription | The new value for the Description property. Description is a some textual information about the output file that will be displayed instead of the content of the file on the output files panel of SprutCAM (and CLData viewer). It is more actual for a binary output files instead of displaying hexadecimal representation of its bytes. |
Returns
Type | Description |
---|---|
System. |
Returns the unique numerical identifier of this file in the list. |
AddExternalFile(String)
Adds some textual external file to the list of output files.
Usually you don't need to call it directly. Use the methods of TNCFiles
Declaration
int AddExternalFile(string outputFileName)
Parameters
Type | Name | Description |
---|---|---|
System. |
outputFileName | Full path to the external file name to add. |
Returns
Type | Description |
---|---|
System. |
Returns the unique numerical identifier of this file in the list. |
CreateNewBinaryStorage()
Creates a new IBinary
Declaration
IBinaryNCStorage CreateNewBinaryStorage()
Returns
Type | Description |
---|---|
IBinary |
Returns newly created instance of IBinary |
CreateNewTextStorage()
Creates a new IText
Declaration
ITextNCStorage CreateNewTextStorage()
Returns
Type | Description |
---|---|
IText |
Returns newly created instance of IText |
MakeUniqueFileName()
Makes a new unique file name for a temporary files inside the temp folder of the application.
It is used internally by the classes TNCFiles
Declaration
string MakeUniqueFileName()
Returns
Type | Description |
---|---|
System. |
Returns a new file name. |
SetNCFileDescription(Int32, String)
Sets the new value of the Description property for the file with specified id in the list. Description is a some textual information about the output file that will be displayed instead of the content of the file on the output files panel of SprutCAM (and CLData viewer). It is more actual for a binary output files instead of displaying hexadecimal representation of its bytes.
Usually you don't need to call it directly. Use the methods of TNCFiles
Declaration
void SetNCFileDescription(int id, string fileDescription)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The unique identifier of the file you want to update in the list. |
System. |
fileDescription | The new value for the Description property. |
SetNCFileOutputName(Int32, String)
Sets the new value of the output file name for the file with specified id in the list.
Usually you don't need to call it directly. Use the methods of TNCFiles
Declaration
void SetNCFileOutputName(int id, string outputFileName)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The unique identifier of the file you want to update in the list. |
System. |
outputFileName | The new value for the output file name property. |