示例#1
0
 private void bnBundlePalletAnalysis_Click(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartBundlePalletAnalysis("Default bundle", 600, 400, 5.0);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
示例#2
0
 private void onAnalysisBundlePallet(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartBundlePalletAnalysis(
             tbName.Text
             , uCtrlDimensions.ValueX
             , uCtrlDimensions.ValueY
             , uCtrlDimensions.ValueZ);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
示例#3
0
 public void OnToolStripStackBuilderBundlePallet(object sender, EventArgs e)
 {
     try
     {
         double length = 0.0, width = 0.0, height = 0.0;
         if (pluginViewCtrl.GetFlatDimensions(length: ref length, width: ref width, height: ref height))
         {
             Palletization.StartBundlePalletAnalysis(pluginViewCtrl.LoadedComponentName, length, width, height);
         }
     }
     catch (Exception ex)
     {
         _log.Error(ex.ToString());
     }
 }