* Refactored NC_ERRORS

+ Added client configuration api
* Refactored serverconfig
This commit is contained in:
Lucio Maranta
2018-01-11 15:56:33 +01:00
parent 904db3d09c
commit fec3d00ff9
13 changed files with 70 additions and 51 deletions
+1 -12
View File
@@ -190,20 +190,9 @@ namespace Step.UI
{
DTONcGenericDataModel data = (DTONcGenericDataModel)a;
//Nc Type
String NcType = "";
if (NcConfig.NcVendor == 0)
NcType = "Demo";
else if (NcConfig.NcVendor == 1)
NcType = "Fanuc";
else if (NcConfig.NcVendor == 2)
NcType = "Siemens";
else if (NcConfig.NcVendor == 3)
NcType = "Osai";
//Other type
this.Invoke((MethodInvoker)delegate () {
TXTType.Text = NcType;
TXTType.Text = NcConfig.NcVendor;
TXTName.Text = data.Model;
TXTNcSerial.Text = data.SerialNumber;
TXTCMSMach.Text = data.MachineNumber;