Minor fix

This commit is contained in:
Lucio Maranta
2018-12-18 16:56:10 +01:00
parent 79bcf7d2fa
commit bb2c8a41f0
+3 -3
View File
@@ -99,7 +99,7 @@ namespace Step.NC
{
if (NcConfig.NcVendor != NC_VENDOR.SIEMENS)
{
// TODO Manare
// TODO Fix in the future
return File.Exists(path);
}
else
@@ -1063,7 +1063,7 @@ namespace Step.NC
CreatedByCms = currMaintenance.UserId == null,
CanEdit = canEdit,
CanPerform = canPerform,
User = performed?.Maintainer == null ? null : (DTOMessageUserModel)performed.Maintainer
Maintainer = performed?.Maintainer == null ? null : (DTOMessageUserModel)performed.Maintainer
});
}
}
@@ -1463,7 +1463,7 @@ namespace Step.NC
if (cmsError.IsError())
return cmsError;
if (NcConfig.NcVendor != NC_VENDOR.SIEMENS)
if (NcConfig.NcVendor != NC_VENDOR.SIEMENS && NcConfig.NcVendor != NC_VENDOR.DEMO)
{
config.FamilyOptionActive = true;
config.MultitoolOptionActive = true;