Example #1
0
 public void start(SCApplication _app)
 {
     emptyBoxLogger.Info(DateTime.Now.ToString("HH:mm:ss.fff ") + "===== EmptyBoxHandlerService start =====");
     scApp            = _app;
     cassette_dataBLL = _app.CassetteDataBLL;
     shelfDefBLL      = _app.ShelfDefBLL;
     zoneBLL          = _app.ZoneDefBLL;
 }
        public void start(SCApplication _app)
        {
            emptyBoxLogger.Info("===== EmptyBoxHandlerService start =====");
            scApp            = _app;
            cassette_dataBLL = _app.CassetteDataBLL;
            shelfDefBLL      = _app.ShelfDefBLL;
            zoneBLL          = _app.ZoneDefBLL;
            var zoneInfo = zoneBLL.loadZoneData();

            if (zoneInfo.FirstOrDefault().ZoneName.Contains("LOOP"))
            {
                emergencyWaterLevel = 0.6;
            }
        }
Example #3
0
 public void start(SCApplication _app)
 {
     scApp       = _app;
     shelfDefBLL = _app.ShelfDefBLL;
 }