Fix fanuc load
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user