Browse Source

捆扎机 两卷不捆扎 四卷捆扎,其他卷数抛异

林豪 左 2 years ago
parent
commit
894328b669
1 changed files with 6 additions and 2 deletions
  1. 6 2
      Projects/永冠/WCS.Service/Works/Stations/组盘位.cs

+ 6 - 2
Projects/永冠/WCS.Service/Works/Stations/组盘位.cs

@@ -129,10 +129,14 @@ namespace WCS.Service.Works.Stations
                             case 2:
                                 task.HEIGHT = 0;
                                 break;
+
                             case 4:
                                 task.HEIGHT = 1;
                                 break;
-                            default: task.HEIGHT = 1;
+
+                            default:
+                                task.HEIGHT = 2;
+                                break;
                         }
                         db.Default.Set<WCS_TASK>().Add(task);
                         db.Default.SaveChanges();
@@ -171,4 +175,4 @@ namespace WCS.Service.Works.Stations
             }
         }
     }
-}
+}