Fix fanuc load

This commit is contained in:
Lucio Maranta
2019-01-09 16:38:23 +00:00
parent e79d8b3df8
commit f5af9dfcb3
6 changed files with 119 additions and 102 deletions
+2 -1
View File
@@ -15,6 +15,7 @@ namespace CMS_CORE_Library.Models
public static readonly string[] VALID_IMAGE_FORMATS = { ".jpg", ".jpeg", ".png" };
public const string IMAGES_PATH = @"C:\CMS\STEP\pp_img\";
public const string PART_PRG_PATH = "C:\\PartPrg\\";
public const string MILLIMETERS = "mm";
public const string INCHES = "inches";
@@ -192,7 +193,7 @@ namespace CMS_CORE_Library.Models
{
public readonly MEMORY_TYPE MemType;
public readonly int Address;
public readonly int SubAddress; //Only for Siemens
public readonly int SubAddress; // Only for Siemens
public readonly int Size;
public MEMORY_CELL(MEMORY_TYPE MType, int Addr, int SubAddr, int Sz)
+1 -1
View File
@@ -177,7 +177,7 @@ namespace CMS_CORE_Library.Models
public byte Type { get; set; }
}
// If u need to order properties, use the code below
// If u need to order properties, u could use the code below
// properties = properties.OrderBy(x => ((FanucOrderAttribute)x.GetCustomAttribute(typeof(FanucOrderAttribute))).Val).ToArray();
public class OsaiOrderAttribute : Attribute