예제 #1
0
 public RAPIDGeneratorServer()
 {
     settings1.LengthCount       = 3;
     settings1.WidthCount        = 3;
     settings1.LengthGap         = 8.5;
     settings1.WidthGap          = 3;
     settings1.StartPoint        = new ABB_RAPID_Library.RAPID_Data_Types.Pos(678, 110, 0);
     settings1.CutDepth          = 2;
     settings1.Offset_X          = 30;
     settings1.Offset_Y          = 0;
     settings1.ApproachHeight    = 30;
     settings1.FirstRowLowToHigh = true;
     r3295_3X7_Setting1          = new J190022_SKU(settings1);
     RAPIDWriter = new RAPIDWriter(@"C:\Users\kai23\Projects\ABI\Robotics\RAPIDGenerator\Files", "RAPIDFile.mod", r3295_3X7_Setting1.ToStringList());
 }
        public void TestPosGeneration()
        {
            J190022_SKU.r3295_r7382_r3191_Settings Settings = new J190022_SKU.r3295_r7382_r3191_Settings();
            Settings.LengthCount    = 3;
            Settings.WidthCount     = 3;
            Settings.LengthGap      = 8.5;
            Settings.WidthGap       = 3;
            Settings.StartPoint     = new ABB_RAPID_Library.RAPID_Data_Types.Pos(678, 110, 0);
            Settings.CutDepth       = 2;
            Settings.Offset_X       = 0;
            Settings.Offset_Y       = 0;
            Settings.ApproachHeight = 30;

            J190022_SKU j190022_SKU = new J190022_SKU(Settings);
        }