| | |
| | | /// <returns></returns> |
| | | public AGVStation GetZicheDeep(int HCJAddres) |
| | | { |
| | | return BaseDal.QueryFirst(x => (x.HCJStorageaddress == HCJAddres && x.Station_Area == 2) && x.Station_enable == 1); |
| | | return BaseDal.QueryFirst(x => x.HCJStorageaddress == HCJAddres && x.Station_Area == 2 && x.Station_enable == 1); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鏍规嵁HCJ绔欏彴鏌ユ壘鍐呬晶瀛愯溅璁惧淇℃伅 |
| | | /// 鏍规嵁HCJ绔欏彴鍒ゆ柇鍑哄簱杩涜鍙栬揣鏃讹紝鍐呬晶瀛愯溅鏄惁鍦℉CJ绔欏彴涓嬮潰 |
| | | /// </summary> |
| | | /// <param name="HCJAddres">HCJ绔欏彴缂栧彿</param> |
| | | /// <returns></returns> |
| | | public AGVStation GetOutZicheDeep(int HCJAddres) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.HCJStorageaddress == HCJAddres && x.Station_Area == 5 && x.Station_enable == 1); |
| | | } |
| | | |
| | | public AGVStation OutGetZicheDeepHCJ(int HCJAddres) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.HCJStorageaddress == HCJAddres && x.Station_Area == 6 && x.Station_enable == 1); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鏍规嵁HCJ绔欏彴鏌ユ壘澶栦晶瀛愯溅璁惧淇℃伅 |
| | | /// </summary> |
| | | /// <param name="HCJAddres">HCJ绔欏彴缂栧彿</param> |
| | | /// <returns></returns> |
| | | public AGVStation GetZicheOuterSide(int HCJAddres) |
| | | { |
| | | return BaseDal.QueryFirst(x => (x.HCJStorageaddress == HCJAddres && x.Station_Area == 1) && x.Station_enable == 1); |
| | | return BaseDal.QueryFirst(x => x.HCJStorageaddress == HCJAddres && x.Station_Area == 1 && x.Station_enable == 1); |
| | | } |
| | | |
| | | |
| | | public List<AGVStation> GetYljSide(string Station_code) |
| | | { |
| | | return BaseDal.QueryData(x => x.Station_code == Station_code && x.Station_enable == 1); |
| | | } |
| | | /// <summary> |
| | | /// 鏍规嵁宸烽亾杩涜鑾峰彇璁惧锛堝叆搴撶増鏈級 |
| | | /// </summary> |
| | | public AGVStation ObtainCcordingTunnel(int SCTunnel) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.Station_tasktype == (int)RGVTasktype.Inbound && x.Station_Area== SCTunnel && x.Station_material== (int)RGVEquipment.Mothertrailer && x.Station_enable == 1); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 鑾峰彇鍏ュ簱杩欒竟鐨勫瓙杞︼紝姣嶈溅 |
| | | /// </summary> |
| | | public List<AGVStation> GetInStroller() |
| | | { |
| | | return BaseDal.QueryData(x => x.Station_tasktype== (int)RGVTasktype.Inbound && (x.Station_Area == (int)RGVEquipment.Mothertrailer || x.Station_Area == (int)RGVEquipment.Corridorcar || x.Station_Area == (int)RGVEquipment.InRGVForklift) && x.Station_enable == 1); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鑾峰彇鍑哄簱杩欒竟鐨勫瓙杞︼紝姣嶈溅 |
| | | /// </summary> |
| | | public List<AGVStation> GetOutStroller() |
| | | { |
| | | return BaseDal.QueryData(x => x.Station_tasktype == (int)RGVTasktype.Outbound && (x.Station_material == (int)RGVEquipment.Mothertrailer || x.Station_material == (int)RGVEquipment.Corridorcar || x.Station_material == (int)RGVEquipment.OutRGVForklift) && x.Station_enable == 1); |
| | | } |
| | | } |
| | | } |