2b02a9421a
- Modifica lettura POLY per Contorno Libero (da "P(0,...),P(1,...)" a "P(...),A(...)") - Lettura config.ini (sezione EGALTECH: PATH_EXE e DIR_PATH), per avvio EgtCAM5 e salvataggio file BTL - Process Parameters Qnn stampati nel BTL come USERATTRIBUTE e solo se diversi da 0 - Lunghezza barra = [lunghezza Element + 2000] nel caso Ordine - Pulizia codice (Classe ErrorManager.cs eliminata, format e commenti vari)
42 lines
1.9 KiB
C#
42 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ib.essetre.integration.egaltech
|
|
{
|
|
class Constants
|
|
{
|
|
// Le seguenti costanti sottoforma di stringa sono delle componenti di testo da scrivere
|
|
// all'interno del file BTL da generare
|
|
public const string VERSION = "VERSION: BTL V10.6";
|
|
public const string BUILD = "BUILD: \"10600\"";
|
|
public const string GENERAL = "[GENERAL]";
|
|
public const string PART = "[PART]";
|
|
public const string PROJECT_NUMBER = "PROJECTNUMBER: ";
|
|
public const string SCALE_UNIT = "SCALEUNIT: ";
|
|
public const string SINGLE_MEMBER_NUMBER = "SINGLEMEMBERNUMBER: ";
|
|
public const string DESIGNATION = "DESIGNATION: ";
|
|
public const string COUNT = "COUNT: ";
|
|
public const string LENGTH = "LENGTH: ";
|
|
public const string HEIGHT = "HEIGHT: ";
|
|
public const string WIDTH = "WIDTH: ";
|
|
public const string PROCESS_KEY = "PROCESSKEY: ";
|
|
public const string PROCESS_PARAMETERS = "PROCESSPARAMETERS: ";
|
|
public const string PROCESS_IDENT = "PROCESSIDENT: ";
|
|
public const string PROCESS = "PROCESS: ";
|
|
public const string COMMENT = "COMMENT: ";
|
|
public const string USERATTRIBUTE = "USERATTRIBUTE: ";
|
|
public const string EIGHT_ZEROS = "00000000";
|
|
|
|
// Questa costante specifica l'esponente della potenza in base 10 per cui moltiplicare alcuni
|
|
// parametri come length, width, height e i process parameters
|
|
public const int scaleUnit = 2;
|
|
|
|
// Stringa contenente i parametri di connessione al DB
|
|
public const string ConnectionString = @"Data Source=localhost\SQLEssetre;Initial Catalog=ESSETRE;User ID=sa;Password=essetre";
|
|
|
|
}
|
|
}
|