Commit 5806aff73ff624ab8dbb189d7d4a58683c45ffa3
Merge branch 'minhang' of http://222.66.0.204:8090//panzhaov5/bsth_control into minhang
Showing
33 changed files
with
6966 additions
and
6761 deletions
src/main/java/com/bsth/controller/gps/GpsController.java
| @@ -195,12 +195,10 @@ public class GpsController { | @@ -195,12 +195,10 @@ public class GpsController { | ||
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | @RequestMapping(value = "/pagequery",method = RequestMethod.GET) | 197 | @RequestMapping(value = "/pagequery",method = RequestMethod.GET) |
| 198 | - public PageObject<GpsSpeed> pagequery(@RequestParam Map<String, Object> map){ | ||
| 199 | - PageObject<GpsSpeed> pageObject = null; | 198 | + public Map<String, Object> pagequery(@RequestParam Map<String, Object> map){ |
| 200 | map.put("curPage", map.get("page").toString()); | 199 | map.put("curPage", map.get("page").toString()); |
| 201 | map.put("pageData","10"); | 200 | map.put("pageData","10"); |
| 202 | - pageObject=gpsService.Pagequery(map); | ||
| 203 | - return pageObject; | 201 | + return gpsService.Pagequery(map); |
| 204 | } | 202 | } |
| 205 | 203 | ||
| 206 | } | 204 | } |
src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
| @@ -335,8 +335,9 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | @@ -335,8 +335,9 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, | ||
| 335 | @RequestMapping(value = "/correctForm") | 335 | @RequestMapping(value = "/correctForm") |
| 336 | public List<SchEditInfoDto> correctForm(@RequestParam String line, @RequestParam String date, | 336 | public List<SchEditInfoDto> correctForm(@RequestParam String line, @RequestParam String date, |
| 337 | @RequestParam String endDate, | 337 | @RequestParam String endDate, |
| 338 | - @RequestParam String lpName, @RequestParam String code, @RequestParam String type) { | ||
| 339 | - return scheduleRealInfoService.correctForm(line, date, endDate, lpName, code, type); | 338 | + @RequestParam String lpName, @RequestParam String code, |
| 339 | + @RequestParam String type,@RequestParam String changType) { | ||
| 340 | + return scheduleRealInfoService.correctForm(line, date, endDate, lpName, code, type,changType); | ||
| 340 | } | 341 | } |
| 341 | /** | 342 | /** |
| 342 | * @Title queryListWaybill | 343 | * @Title queryListWaybill |
src/main/java/com/bsth/controller/report/ReportController.java
| @@ -6,12 +6,15 @@ import java.util.Iterator; | @@ -6,12 +6,15 @@ import java.util.Iterator; | ||
| 6 | import java.util.List; | 6 | import java.util.List; |
| 7 | import java.util.Map; | 7 | import java.util.Map; |
| 8 | 8 | ||
| 9 | +import org.apache.commons.lang3.StringEscapeUtils; | ||
| 9 | import org.springframework.beans.factory.annotation.Autowired; | 10 | import org.springframework.beans.factory.annotation.Autowired; |
| 10 | import org.springframework.web.bind.annotation.RequestMapping; | 11 | import org.springframework.web.bind.annotation.RequestMapping; |
| 11 | import org.springframework.web.bind.annotation.RequestMethod; | 12 | import org.springframework.web.bind.annotation.RequestMethod; |
| 12 | import org.springframework.web.bind.annotation.RequestParam; | 13 | import org.springframework.web.bind.annotation.RequestParam; |
| 13 | import org.springframework.web.bind.annotation.RestController; | 14 | import org.springframework.web.bind.annotation.RestController; |
| 14 | 15 | ||
| 16 | +import com.alibaba.fastjson.JSONArray; | ||
| 17 | +import com.alibaba.fastjson.JSONObject; | ||
| 15 | import com.bsth.entity.StationRoute; | 18 | import com.bsth.entity.StationRoute; |
| 16 | import com.bsth.entity.excep.ArrivalInfo; | 19 | import com.bsth.entity.excep.ArrivalInfo; |
| 17 | import com.bsth.entity.realcontrol.ScheduleRealInfo; | 20 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| @@ -276,4 +279,40 @@ public class ReportController { | @@ -276,4 +279,40 @@ public class ReportController { | ||
| 276 | public List<Map<String, Object>> countDjg(@RequestParam Map<String, Object> map){ | 279 | public List<Map<String, Object>> countDjg(@RequestParam Map<String, Object> map){ |
| 277 | return service.countDjg(map); | 280 | return service.countDjg(map); |
| 278 | } | 281 | } |
| 282 | + | ||
| 283 | + | ||
| 284 | + @RequestMapping(value="/countDjgXx") | ||
| 285 | + public List<Map<String, Object>> countDjgXx(@RequestParam Map<String, Object> map){ | ||
| 286 | + List<Map<String, Object>> lMap=new ArrayList<Map<String, Object>>(); | ||
| 287 | + String json =StringEscapeUtils.unescapeHtml4(map.get("listXx").toString()); | ||
| 288 | + JSONArray jsonArray=JSONArray.parseArray(json); | ||
| 289 | + JSONObject jsonObject; | ||
| 290 | + for (int x = 0; x < jsonArray.size(); x++) { | ||
| 291 | + jsonObject=jsonArray.getJSONObject(x); | ||
| 292 | + Map<String, Object> m_=new HashMap<String,Object>(); | ||
| 293 | + m_.put("fgsname", jsonObject.getString("fgsname")); | ||
| 294 | + m_.put("xlName", jsonObject.getString("xlName")); | ||
| 295 | + m_.put("djgde", jsonObject.getString("djgde")); | ||
| 296 | + m_.put("qJh", jsonObject.getString("qJh")); | ||
| 297 | + m_.put("qSj", jsonObject.getString("qSj")); | ||
| 298 | + m_.put("hJh", jsonObject.getString("hJh")); | ||
| 299 | + m_.put("hSj", jsonObject.getString("hSj")); | ||
| 300 | + lMap.add(m_); | ||
| 301 | + } | ||
| 302 | + List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | ||
| 303 | + Map<String, Object> m = new HashMap<String, Object>(); | ||
| 304 | + m.put("date", map.get("date").toString()); | ||
| 305 | + ReportUtils ee = new ReportUtils(); | ||
| 306 | + try { | ||
| 307 | + listI.add(lMap.iterator()); | ||
| 308 | + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/"; | ||
| 309 | + ee.excelReplace(listI, new Object[]{m}, path + "mould/countIntervalXx.xls", | ||
| 310 | + path + "export/大间隔统计表详细.xls"); | ||
| 311 | + } catch (Exception e) { | ||
| 312 | + // TODO: handle exception | ||
| 313 | + e.printStackTrace(); | ||
| 314 | + } | ||
| 315 | + | ||
| 316 | + return lMap; | ||
| 317 | + } | ||
| 279 | } | 318 | } |
src/main/java/com/bsth/data/pinyin/PersionPinYin.java
| 1 | -package com.bsth.data.pinyin; | ||
| 2 | - | ||
| 3 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
| 4 | - | ||
| 5 | -/** | ||
| 6 | - * 人员拼音映射 | ||
| 7 | - * Created by panzhao on 2017/7/19. | ||
| 8 | - */ | ||
| 9 | -public class PersionPinYin { | ||
| 10 | - | ||
| 11 | - /** | ||
| 12 | - * Id | ||
| 13 | - */ | ||
| 14 | - private Integer id; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 工号 | ||
| 18 | - */ | ||
| 19 | - private String workId; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 姓名 | ||
| 23 | - */ | ||
| 24 | - private String name; | ||
| 25 | - | ||
| 26 | - /** | ||
| 27 | - * 全拼 | ||
| 28 | - */ | ||
| 29 | - private String fullChars; | ||
| 30 | - | ||
| 31 | - /** | ||
| 32 | - * 简便 | ||
| 33 | - */ | ||
| 34 | - private String camelChars; | ||
| 35 | - | ||
| 36 | - /** | ||
| 37 | - * 所属公司编码 | ||
| 38 | - */ | ||
| 39 | - @JsonIgnore | ||
| 40 | - private String companyId; | ||
| 41 | - | ||
| 42 | - /** | ||
| 43 | - * 所属分公司编码 | ||
| 44 | - */ | ||
| 45 | - @JsonIgnore | ||
| 46 | - private String fgsCompanyId; | ||
| 47 | - | ||
| 48 | - public String getWorkId() { | ||
| 49 | - return workId; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - public void setWorkId(String workId) { | ||
| 53 | - this.workId = workId; | ||
| 54 | - } | ||
| 55 | - | ||
| 56 | - public String getName() { | ||
| 57 | - return name; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - public void setName(String name) { | ||
| 61 | - this.name = name; | ||
| 62 | - } | ||
| 63 | - | ||
| 64 | - public String getFullChars() { | ||
| 65 | - return fullChars; | ||
| 66 | - } | ||
| 67 | - | ||
| 68 | - public void setFullChars(String fullChars) { | ||
| 69 | - this.fullChars = fullChars; | ||
| 70 | - } | ||
| 71 | - | ||
| 72 | - public String getCamelChars() { | ||
| 73 | - return camelChars; | ||
| 74 | - } | ||
| 75 | - | ||
| 76 | - public void setCamelChars(String camelChars) { | ||
| 77 | - this.camelChars = camelChars; | ||
| 78 | - } | ||
| 79 | - | ||
| 80 | - public String getCompanyId() { | ||
| 81 | - return companyId; | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - public void setCompanyId(String companyId) { | ||
| 85 | - this.companyId = companyId; | ||
| 86 | - } | ||
| 87 | - | ||
| 88 | - public String getFgsCompanyId() { | ||
| 89 | - return fgsCompanyId; | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - public void setFgsCompanyId(String fgsCompanyId) { | ||
| 93 | - this.fgsCompanyId = fgsCompanyId; | ||
| 94 | - } | ||
| 95 | - | ||
| 96 | - public Integer getId() { | ||
| 97 | - return id; | ||
| 98 | - } | ||
| 99 | - | ||
| 100 | - public void setId(Integer id) { | ||
| 101 | - this.id = id; | ||
| 102 | - } | ||
| 103 | -} | 1 | +package com.bsth.data.pinyin; |
| 2 | + | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnore; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 人员拼音映射 | ||
| 7 | + * Created by panzhao on 2017/7/19. | ||
| 8 | + */ | ||
| 9 | +public class PersionPinYin { | ||
| 10 | + | ||
| 11 | + /** | ||
| 12 | + * Id | ||
| 13 | + */ | ||
| 14 | + private Integer id; | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * 工号 | ||
| 18 | + */ | ||
| 19 | + private String workId; | ||
| 20 | + | ||
| 21 | + /** | ||
| 22 | + * 姓名 | ||
| 23 | + */ | ||
| 24 | + private String name; | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * 全拼 | ||
| 28 | + */ | ||
| 29 | + private String fullChars; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * 简便 | ||
| 33 | + */ | ||
| 34 | + private String camelChars; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * 所属公司编码 | ||
| 38 | + */ | ||
| 39 | + @JsonIgnore | ||
| 40 | + private String companyId; | ||
| 41 | + | ||
| 42 | + /** | ||
| 43 | + * 所属分公司编码 | ||
| 44 | + */ | ||
| 45 | + @JsonIgnore | ||
| 46 | + private String fgsCompanyId; | ||
| 47 | + | ||
| 48 | + public String getWorkId() { | ||
| 49 | + return workId; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setWorkId(String workId) { | ||
| 53 | + this.workId = workId; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public String getName() { | ||
| 57 | + return name; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setName(String name) { | ||
| 61 | + this.name = name; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public String getFullChars() { | ||
| 65 | + return fullChars; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setFullChars(String fullChars) { | ||
| 69 | + this.fullChars = fullChars; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getCamelChars() { | ||
| 73 | + return camelChars; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setCamelChars(String camelChars) { | ||
| 77 | + this.camelChars = camelChars; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getCompanyId() { | ||
| 81 | + return companyId; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setCompanyId(String companyId) { | ||
| 85 | + this.companyId = companyId; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getFgsCompanyId() { | ||
| 89 | + return fgsCompanyId; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public void setFgsCompanyId(String fgsCompanyId) { | ||
| 93 | + this.fgsCompanyId = fgsCompanyId; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public Integer getId() { | ||
| 97 | + return id; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public void setId(Integer id) { | ||
| 101 | + this.id = id; | ||
| 102 | + } | ||
| 103 | +} |
src/main/java/com/bsth/data/pinyin/PersionPinYinBuffer.java
| 1 | -package com.bsth.data.pinyin; | ||
| 2 | - | ||
| 3 | -import com.bsth.data.BasicData; | ||
| 4 | -import com.bsth.entity.Personnel; | ||
| 5 | -import com.bsth.entity.sys.CompanyAuthority; | ||
| 6 | -import com.github.stuxuhai.jpinyin.PinyinException; | ||
| 7 | -import com.github.stuxuhai.jpinyin.PinyinFormat; | ||
| 8 | -import com.github.stuxuhai.jpinyin.PinyinHelper; | ||
| 9 | -import com.google.common.collect.ArrayListMultimap; | ||
| 10 | -import org.slf4j.Logger; | ||
| 11 | -import org.slf4j.LoggerFactory; | ||
| 12 | -import org.springframework.stereotype.Component; | ||
| 13 | - | ||
| 14 | -import java.util.ArrayList; | ||
| 15 | -import java.util.Collection; | ||
| 16 | -import java.util.List; | ||
| 17 | - | ||
| 18 | -/** | ||
| 19 | - * 人员拼音数据映射缓存 | ||
| 20 | - * Created by panzhao on 2017/7/19. | ||
| 21 | - */ | ||
| 22 | -@Component | ||
| 23 | -public class PersionPinYinBuffer { | ||
| 24 | - | ||
| 25 | - static ArrayListMultimap<String, PersionPinYin> listMultimap = ArrayListMultimap.create(); | ||
| 26 | - static List<PersionPinYin> all = new ArrayList<>(); | ||
| 27 | - | ||
| 28 | - Logger log = LoggerFactory.getLogger(this.getClass()); | ||
| 29 | - | ||
| 30 | - | ||
| 31 | - public void refresh(){ | ||
| 32 | - ArrayListMultimap<String, PersionPinYin> listMultimapCopy = ArrayListMultimap.create(); | ||
| 33 | - List<PersionPinYin> allCopy = new ArrayList<>(); | ||
| 34 | - PersionPinYin ppy; | ||
| 35 | - | ||
| 36 | - Collection<Personnel> list = BasicData.perMap.values(); | ||
| 37 | - for(Personnel p : list){ | ||
| 38 | - ppy = new PersionPinYin(); | ||
| 39 | - ppy.setId(p.getId()); | ||
| 40 | - ppy.setCompanyId(p.getCompanyCode()); | ||
| 41 | - ppy.setFgsCompanyId(p.getBrancheCompanyCode()); | ||
| 42 | - ppy.setName(p.getPersonnelName()); | ||
| 43 | - ppy.setWorkId(p.getJobCode()); | ||
| 44 | - try { | ||
| 45 | - ppy.setFullChars(PinyinHelper.convertToPinyinString(ppy.getName(), "" , PinyinFormat.WITHOUT_TONE)); | ||
| 46 | - ppy.setCamelChars(PinyinHelper.getShortPinyin(ppy.getName())); | ||
| 47 | - }catch (PinyinException pye){ | ||
| 48 | - log.error("拼音转换出现异常," + ppy.getName(), pye); | ||
| 49 | - continue; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - listMultimapCopy.put(ppy.getCompanyId() + "_" + ppy.getFgsCompanyId(), ppy); | ||
| 53 | - allCopy.add(ppy); | ||
| 54 | - } | ||
| 55 | - | ||
| 56 | - if(allCopy.size() > 0){ | ||
| 57 | - all = allCopy; | ||
| 58 | - listMultimap = listMultimapCopy; | ||
| 59 | - } | ||
| 60 | - } | ||
| 61 | - | ||
| 62 | - public List<PersionPinYin> getAll(){ | ||
| 63 | - return all; | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - public List<PersionPinYin> getAll(List<CompanyAuthority> auths){ | ||
| 67 | - List<PersionPinYin> rs = new ArrayList<>(); | ||
| 68 | - for(CompanyAuthority ca : auths){ | ||
| 69 | - rs.addAll(listMultimap.get(ca.getCompanyCode() + "_" + ca.getSubCompanyCode())); | ||
| 70 | - } | ||
| 71 | - return rs; | ||
| 72 | - } | ||
| 73 | -} | 1 | +package com.bsth.data.pinyin; |
| 2 | + | ||
| 3 | +import com.bsth.data.BasicData; | ||
| 4 | +import com.bsth.entity.Personnel; | ||
| 5 | +import com.bsth.entity.sys.CompanyAuthority; | ||
| 6 | +import com.github.stuxuhai.jpinyin.PinyinException; | ||
| 7 | +import com.github.stuxuhai.jpinyin.PinyinFormat; | ||
| 8 | +import com.github.stuxuhai.jpinyin.PinyinHelper; | ||
| 9 | +import com.google.common.collect.ArrayListMultimap; | ||
| 10 | +import org.slf4j.Logger; | ||
| 11 | +import org.slf4j.LoggerFactory; | ||
| 12 | +import org.springframework.stereotype.Component; | ||
| 13 | + | ||
| 14 | +import java.util.ArrayList; | ||
| 15 | +import java.util.Collection; | ||
| 16 | +import java.util.List; | ||
| 17 | + | ||
| 18 | +/** | ||
| 19 | + * 人员拼音数据映射缓存 | ||
| 20 | + * Created by panzhao on 2017/7/19. | ||
| 21 | + */ | ||
| 22 | +@Component | ||
| 23 | +public class PersionPinYinBuffer { | ||
| 24 | + | ||
| 25 | + static ArrayListMultimap<String, PersionPinYin> listMultimap = ArrayListMultimap.create(); | ||
| 26 | + static List<PersionPinYin> all = new ArrayList<>(); | ||
| 27 | + | ||
| 28 | + Logger log = LoggerFactory.getLogger(this.getClass()); | ||
| 29 | + | ||
| 30 | + | ||
| 31 | + public void refresh(){ | ||
| 32 | + ArrayListMultimap<String, PersionPinYin> listMultimapCopy = ArrayListMultimap.create(); | ||
| 33 | + List<PersionPinYin> allCopy = new ArrayList<>(); | ||
| 34 | + PersionPinYin ppy; | ||
| 35 | + | ||
| 36 | + Collection<Personnel> list = BasicData.perMap.values(); | ||
| 37 | + for(Personnel p : list){ | ||
| 38 | + ppy = new PersionPinYin(); | ||
| 39 | + ppy.setId(p.getId()); | ||
| 40 | + ppy.setCompanyId(p.getCompanyCode()); | ||
| 41 | + ppy.setFgsCompanyId(p.getBrancheCompanyCode()); | ||
| 42 | + ppy.setName(p.getPersonnelName()); | ||
| 43 | + ppy.setWorkId(p.getJobCode()); | ||
| 44 | + try { | ||
| 45 | + ppy.setFullChars(PinyinHelper.convertToPinyinString(ppy.getName(), "" , PinyinFormat.WITHOUT_TONE)); | ||
| 46 | + ppy.setCamelChars(PinyinHelper.getShortPinyin(ppy.getName())); | ||
| 47 | + }catch (PinyinException pye){ | ||
| 48 | + log.error("拼音转换出现异常," + ppy.getName(), pye); | ||
| 49 | + continue; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + listMultimapCopy.put(ppy.getCompanyId() + "_" + ppy.getFgsCompanyId(), ppy); | ||
| 53 | + allCopy.add(ppy); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + if(allCopy.size() > 0){ | ||
| 57 | + all = allCopy; | ||
| 58 | + listMultimap = listMultimapCopy; | ||
| 59 | + } | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public List<PersionPinYin> getAll(){ | ||
| 63 | + return all; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public List<PersionPinYin> getAll(List<CompanyAuthority> auths){ | ||
| 67 | + List<PersionPinYin> rs = new ArrayList<>(); | ||
| 68 | + for(CompanyAuthority ca : auths){ | ||
| 69 | + rs.addAll(listMultimap.get(ca.getCompanyCode() + "_" + ca.getSubCompanyCode())); | ||
| 70 | + } | ||
| 71 | + return rs; | ||
| 72 | + } | ||
| 73 | +} |
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| @@ -797,6 +797,7 @@ public class DayOfSchedule { | @@ -797,6 +797,7 @@ public class DayOfSchedule { | ||
| 797 | 797 | ||
| 798 | public void save(ScheduleRealInfo sch) { | 798 | public void save(ScheduleRealInfo sch) { |
| 799 | //schRepository.save(sch); | 799 | //schRepository.save(sch); |
| 800 | + sch.setUpdateDate(new Date()); | ||
| 800 | pstBuffer.add(sch); | 801 | pstBuffer.add(sch); |
| 801 | } | 802 | } |
| 802 | 803 |
src/main/java/com/bsth/data/schedule/f_a_l/FirstAndLastHandler.java
| 1 | -package com.bsth.data.schedule.f_a_l; | ||
| 2 | - | ||
| 3 | -import com.bsth.data.BasicData; | ||
| 4 | -import com.bsth.data.schedule.DayOfSchedule; | ||
| 5 | -import com.bsth.data.schedule.ScheduleComparator; | ||
| 6 | -import com.bsth.data.schedule.f_a_l.entity.ToGateway; | ||
| 7 | -import com.bsth.entity.realcontrol.ScheduleRealInfo; | ||
| 8 | -import com.bsth.util.db.DBUtils_MS; | ||
| 9 | -import org.slf4j.Logger; | ||
| 10 | -import org.slf4j.LoggerFactory; | ||
| 11 | -import org.springframework.beans.factory.annotation.Autowired; | ||
| 12 | -import org.springframework.jdbc.core.BatchPreparedStatementSetter; | ||
| 13 | -import org.springframework.jdbc.core.JdbcTemplate; | ||
| 14 | -import org.springframework.jdbc.datasource.DataSourceTransactionManager; | ||
| 15 | -import org.springframework.stereotype.Component; | ||
| 16 | -import org.springframework.transaction.TransactionDefinition; | ||
| 17 | -import org.springframework.transaction.TransactionStatus; | ||
| 18 | -import org.springframework.transaction.support.DefaultTransactionDefinition; | ||
| 19 | - | ||
| 20 | -import java.sql.PreparedStatement; | ||
| 21 | -import java.sql.SQLException; | ||
| 22 | -import java.util.ArrayList; | ||
| 23 | -import java.util.Collections; | ||
| 24 | -import java.util.List; | ||
| 25 | -import java.util.concurrent.ConcurrentHashMap; | ||
| 26 | - | ||
| 27 | -/** | ||
| 28 | - * 首末班处理程序 | ||
| 29 | - * Created by panzhao on 2017/7/19. | ||
| 30 | - */ | ||
| 31 | -@Component | ||
| 32 | -public class FirstAndLastHandler { | ||
| 33 | - | ||
| 34 | - static ConcurrentHashMap<String, ToGateway> maps = new ConcurrentHashMap<>(); | ||
| 35 | - | ||
| 36 | - static Logger log = LoggerFactory.getLogger(FirstAndLastHandler.class); | ||
| 37 | - | ||
| 38 | - static boolean flag; | ||
| 39 | - | ||
| 40 | - @Autowired | ||
| 41 | - DayOfSchedule dayOfSchedule; | ||
| 42 | - | ||
| 43 | - public void marks(String lineCode){ | ||
| 44 | - marks(dayOfSchedule.findByLineCode(lineCode)); | ||
| 45 | - } | ||
| 46 | - | ||
| 47 | - /** | ||
| 48 | - * 标记首末班 | ||
| 49 | - * @param list | ||
| 50 | - */ | ||
| 51 | - public static void marks(List<ScheduleRealInfo> list){ | ||
| 52 | - try{ | ||
| 53 | - Collections.sort(list, new ScheduleComparator.FCSJ()); | ||
| 54 | - //按上下行分组 | ||
| 55 | - List<ScheduleRealInfo> ups = new ArrayList<>(), | ||
| 56 | - downs = new ArrayList<>(); | ||
| 57 | - | ||
| 58 | - for(ScheduleRealInfo sch : list){ | ||
| 59 | - if(sch.getXlDir().equals("0")) | ||
| 60 | - ups.add(sch); | ||
| 61 | - else | ||
| 62 | - downs.add(sch); | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - markOneWay(ups); | ||
| 66 | - markOneWay(downs); | ||
| 67 | - }catch (Exception e){ | ||
| 68 | - log.error("", e); | ||
| 69 | - } | ||
| 70 | - } | ||
| 71 | - | ||
| 72 | - /** | ||
| 73 | - * 标记单程,上行或下行 | ||
| 74 | - * @param list | ||
| 75 | - */ | ||
| 76 | - private static void markOneWay(List<ScheduleRealInfo> list){ | ||
| 77 | - ScheduleRealInfo first = null, last = null; | ||
| 78 | - | ||
| 79 | - for(ScheduleRealInfo sch: list){ | ||
| 80 | - if(sch._isInout() || sch.getBcType().equals("region") | ||
| 81 | - || sch.getBcType().equals("venting")) | ||
| 82 | - continue; | ||
| 83 | - | ||
| 84 | - if(first == null) | ||
| 85 | - first = sch; | ||
| 86 | - | ||
| 87 | - last = sch; | ||
| 88 | - } | ||
| 89 | - | ||
| 90 | - put(first, last); | ||
| 91 | - } | ||
| 92 | - | ||
| 93 | - private static void put(ScheduleRealInfo first, ScheduleRealInfo last){ | ||
| 94 | - if(first == null || last == null) | ||
| 95 | - return; | ||
| 96 | - | ||
| 97 | - ToGateway tg = new ToGateway(); | ||
| 98 | - tg.setLineCode(first.getXlBm()); | ||
| 99 | - tg.setUpDown(Integer.parseInt(first.getXlDir())); | ||
| 100 | - tg.setsDeviceId(BasicData.deviceId2NbbmMap.inverse().get(first.getClZbh())); | ||
| 101 | - tg.setSt(first.getDfsjT()); | ||
| 102 | - | ||
| 103 | - tg.setRq(first.getScheduleDateStr()); | ||
| 104 | - | ||
| 105 | - tg.seteDeviceId(BasicData.deviceId2NbbmMap.inverse().get(last.getClZbh())); | ||
| 106 | - tg.setEt(last.getDfsjT()); | ||
| 107 | - | ||
| 108 | - maps.put(tg.getLineCode() + "_" + tg.getUpDown(), tg); | ||
| 109 | - flag = true; | ||
| 110 | - } | ||
| 111 | - | ||
| 112 | - public static void saveAll(){ | ||
| 113 | - if(!flag) | ||
| 114 | - return; | ||
| 115 | - | ||
| 116 | - final List<ToGateway> pstList = new ArrayList<>(maps.values()); | ||
| 117 | - if(pstList == null || pstList.size() == 0) | ||
| 118 | - return; | ||
| 119 | - | ||
| 120 | - flag = false; | ||
| 121 | - JdbcTemplate jdbcTemp = new JdbcTemplate(DBUtils_MS.getDataSource()); | ||
| 122 | - //编程式事务 | ||
| 123 | - DataSourceTransactionManager tran = new DataSourceTransactionManager(jdbcTemp.getDataSource()); | ||
| 124 | - DefaultTransactionDefinition def = new DefaultTransactionDefinition(); | ||
| 125 | - def.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED); | ||
| 126 | - TransactionStatus status = tran.getTransaction(def); | ||
| 127 | - | ||
| 128 | - try{ | ||
| 129 | - //删除 | ||
| 130 | - jdbcTemp.update("delete from bsth_t_first_last"); | ||
| 131 | - //重新写入 | ||
| 132 | - jdbcTemp.batchUpdate("insert into bsth_t_first_last(line_code, s_device_id, st, e_device_id, et, up_down, rq) VALUES(?, ?, ?, ?, ?, ?, ?)", new BatchPreparedStatementSetter() { | ||
| 133 | - @Override | ||
| 134 | - public void setValues(PreparedStatement ps, int i) throws SQLException { | ||
| 135 | - ToGateway tg = pstList.get(i); | ||
| 136 | - ps.setString(1, tg.getLineCode()); | ||
| 137 | - ps.setString(2, tg.getsDeviceId()); | ||
| 138 | - ps.setLong(3, tg.getSt()); | ||
| 139 | - ps.setString(4, tg.geteDeviceId()); | ||
| 140 | - ps.setLong(5, tg.getEt()); | ||
| 141 | - ps.setInt(6, tg.getUpDown()); | ||
| 142 | - ps.setString(7, tg.getRq()); | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - @Override | ||
| 146 | - public int getBatchSize() { | ||
| 147 | - return pstList.size(); | ||
| 148 | - } | ||
| 149 | - }); | ||
| 150 | - | ||
| 151 | - log.info("首末班数据入库," + pstList.size()); | ||
| 152 | - tran.commit(status); | ||
| 153 | - }catch (Exception e){ | ||
| 154 | - log.error("", e); | ||
| 155 | - tran.rollback(status); | ||
| 156 | - } | ||
| 157 | - } | ||
| 158 | -} | 1 | +package com.bsth.data.schedule.f_a_l; |
| 2 | + | ||
| 3 | +import com.bsth.data.BasicData; | ||
| 4 | +import com.bsth.data.schedule.DayOfSchedule; | ||
| 5 | +import com.bsth.data.schedule.ScheduleComparator; | ||
| 6 | +import com.bsth.data.schedule.f_a_l.entity.ToGateway; | ||
| 7 | +import com.bsth.entity.realcontrol.ScheduleRealInfo; | ||
| 8 | +import com.bsth.util.db.DBUtils_MS; | ||
| 9 | +import org.slf4j.Logger; | ||
| 10 | +import org.slf4j.LoggerFactory; | ||
| 11 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 12 | +import org.springframework.jdbc.core.BatchPreparedStatementSetter; | ||
| 13 | +import org.springframework.jdbc.core.JdbcTemplate; | ||
| 14 | +import org.springframework.jdbc.datasource.DataSourceTransactionManager; | ||
| 15 | +import org.springframework.stereotype.Component; | ||
| 16 | +import org.springframework.transaction.TransactionDefinition; | ||
| 17 | +import org.springframework.transaction.TransactionStatus; | ||
| 18 | +import org.springframework.transaction.support.DefaultTransactionDefinition; | ||
| 19 | + | ||
| 20 | +import java.sql.PreparedStatement; | ||
| 21 | +import java.sql.SQLException; | ||
| 22 | +import java.util.ArrayList; | ||
| 23 | +import java.util.Collections; | ||
| 24 | +import java.util.List; | ||
| 25 | +import java.util.concurrent.ConcurrentHashMap; | ||
| 26 | + | ||
| 27 | +/** | ||
| 28 | + * 首末班处理程序 | ||
| 29 | + * Created by panzhao on 2017/7/19. | ||
| 30 | + */ | ||
| 31 | +@Component | ||
| 32 | +public class FirstAndLastHandler { | ||
| 33 | + | ||
| 34 | + static ConcurrentHashMap<String, ToGateway> maps = new ConcurrentHashMap<>(); | ||
| 35 | + | ||
| 36 | + static Logger log = LoggerFactory.getLogger(FirstAndLastHandler.class); | ||
| 37 | + | ||
| 38 | + static boolean flag; | ||
| 39 | + | ||
| 40 | + @Autowired | ||
| 41 | + DayOfSchedule dayOfSchedule; | ||
| 42 | + | ||
| 43 | + public void marks(String lineCode){ | ||
| 44 | + marks(dayOfSchedule.findByLineCode(lineCode)); | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + /** | ||
| 48 | + * 标记首末班 | ||
| 49 | + * @param list | ||
| 50 | + */ | ||
| 51 | + public static void marks(List<ScheduleRealInfo> list){ | ||
| 52 | + try{ | ||
| 53 | + Collections.sort(list, new ScheduleComparator.FCSJ()); | ||
| 54 | + //按上下行分组 | ||
| 55 | + List<ScheduleRealInfo> ups = new ArrayList<>(), | ||
| 56 | + downs = new ArrayList<>(); | ||
| 57 | + | ||
| 58 | + for(ScheduleRealInfo sch : list){ | ||
| 59 | + if(sch.getXlDir().equals("0")) | ||
| 60 | + ups.add(sch); | ||
| 61 | + else | ||
| 62 | + downs.add(sch); | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + markOneWay(ups); | ||
| 66 | + markOneWay(downs); | ||
| 67 | + }catch (Exception e){ | ||
| 68 | + log.error("", e); | ||
| 69 | + } | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + /** | ||
| 73 | + * 标记单程,上行或下行 | ||
| 74 | + * @param list | ||
| 75 | + */ | ||
| 76 | + private static void markOneWay(List<ScheduleRealInfo> list){ | ||
| 77 | + ScheduleRealInfo first = null, last = null; | ||
| 78 | + | ||
| 79 | + for(ScheduleRealInfo sch: list){ | ||
| 80 | + if(sch._isInout() || sch.getBcType().equals("region") | ||
| 81 | + || sch.getBcType().equals("venting")) | ||
| 82 | + continue; | ||
| 83 | + | ||
| 84 | + if(first == null) | ||
| 85 | + first = sch; | ||
| 86 | + | ||
| 87 | + last = sch; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + put(first, last); | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + private static void put(ScheduleRealInfo first, ScheduleRealInfo last){ | ||
| 94 | + if(first == null || last == null) | ||
| 95 | + return; | ||
| 96 | + | ||
| 97 | + ToGateway tg = new ToGateway(); | ||
| 98 | + tg.setLineCode(first.getXlBm()); | ||
| 99 | + tg.setUpDown(Integer.parseInt(first.getXlDir())); | ||
| 100 | + tg.setsDeviceId(BasicData.deviceId2NbbmMap.inverse().get(first.getClZbh())); | ||
| 101 | + tg.setSt(first.getDfsjT()); | ||
| 102 | + | ||
| 103 | + tg.setRq(first.getScheduleDateStr()); | ||
| 104 | + | ||
| 105 | + tg.seteDeviceId(BasicData.deviceId2NbbmMap.inverse().get(last.getClZbh())); | ||
| 106 | + tg.setEt(last.getDfsjT()); | ||
| 107 | + | ||
| 108 | + maps.put(tg.getLineCode() + "_" + tg.getUpDown(), tg); | ||
| 109 | + flag = true; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public static void saveAll(){ | ||
| 113 | + if(!flag) | ||
| 114 | + return; | ||
| 115 | + | ||
| 116 | + final List<ToGateway> pstList = new ArrayList<>(maps.values()); | ||
| 117 | + if(pstList == null || pstList.size() == 0) | ||
| 118 | + return; | ||
| 119 | + | ||
| 120 | + flag = false; | ||
| 121 | + JdbcTemplate jdbcTemp = new JdbcTemplate(DBUtils_MS.getDataSource()); | ||
| 122 | + //编程式事务 | ||
| 123 | + DataSourceTransactionManager tran = new DataSourceTransactionManager(jdbcTemp.getDataSource()); | ||
| 124 | + DefaultTransactionDefinition def = new DefaultTransactionDefinition(); | ||
| 125 | + def.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED); | ||
| 126 | + TransactionStatus status = tran.getTransaction(def); | ||
| 127 | + | ||
| 128 | + try{ | ||
| 129 | + //删除 | ||
| 130 | + jdbcTemp.update("delete from bsth_t_first_last"); | ||
| 131 | + //重新写入 | ||
| 132 | + jdbcTemp.batchUpdate("insert into bsth_t_first_last(line_code, s_device_id, st, e_device_id, et, up_down, rq) VALUES(?, ?, ?, ?, ?, ?, ?)", new BatchPreparedStatementSetter() { | ||
| 133 | + @Override | ||
| 134 | + public void setValues(PreparedStatement ps, int i) throws SQLException { | ||
| 135 | + ToGateway tg = pstList.get(i); | ||
| 136 | + ps.setString(1, tg.getLineCode()); | ||
| 137 | + ps.setString(2, tg.getsDeviceId()); | ||
| 138 | + ps.setLong(3, tg.getSt()); | ||
| 139 | + ps.setString(4, tg.geteDeviceId()); | ||
| 140 | + ps.setLong(5, tg.getEt()); | ||
| 141 | + ps.setInt(6, tg.getUpDown()); | ||
| 142 | + ps.setString(7, tg.getRq()); | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + @Override | ||
| 146 | + public int getBatchSize() { | ||
| 147 | + return pstList.size(); | ||
| 148 | + } | ||
| 149 | + }); | ||
| 150 | + | ||
| 151 | + log.info("首末班数据入库," + pstList.size()); | ||
| 152 | + tran.commit(status); | ||
| 153 | + }catch (Exception e){ | ||
| 154 | + log.error("", e); | ||
| 155 | + tran.rollback(status); | ||
| 156 | + } | ||
| 157 | + } | ||
| 158 | +} |
src/main/java/com/bsth/data/schedule/f_a_l/entity/ToGateway.java
| 1 | -package com.bsth.data.schedule.f_a_l.entity; | ||
| 2 | - | ||
| 3 | -/** | ||
| 4 | - * 发送给网关的首末班数据格式 | ||
| 5 | - * Created by panzhao on 2017/7/19. | ||
| 6 | - */ | ||
| 7 | -public class ToGateway { | ||
| 8 | - | ||
| 9 | - /** 线路 */ | ||
| 10 | - private String lineCode; | ||
| 11 | - | ||
| 12 | - /** 上下行 */ | ||
| 13 | - private int upDown; | ||
| 14 | - | ||
| 15 | - /** 首班设备号 */ | ||
| 16 | - private String sDeviceId; | ||
| 17 | - | ||
| 18 | - /** 首班时间 */ | ||
| 19 | - private Long st; | ||
| 20 | - | ||
| 21 | - /** 末班设备号 */ | ||
| 22 | - private String eDeviceId; | ||
| 23 | - | ||
| 24 | - /** 末班时间 */ | ||
| 25 | - private Long et; | ||
| 26 | - | ||
| 27 | - /** 班次日期 */ | ||
| 28 | - private String rq; | ||
| 29 | - | ||
| 30 | - | ||
| 31 | - public String getLineCode() { | ||
| 32 | - return lineCode; | ||
| 33 | - } | ||
| 34 | - | ||
| 35 | - public void setLineCode(String lineCode) { | ||
| 36 | - this.lineCode = lineCode; | ||
| 37 | - } | ||
| 38 | - | ||
| 39 | - public Long getSt() { | ||
| 40 | - return st; | ||
| 41 | - } | ||
| 42 | - | ||
| 43 | - public void setSt(Long st) { | ||
| 44 | - this.st = st; | ||
| 45 | - } | ||
| 46 | - | ||
| 47 | - public Long getEt() { | ||
| 48 | - return et; | ||
| 49 | - } | ||
| 50 | - | ||
| 51 | - public void setEt(Long et) { | ||
| 52 | - this.et = et; | ||
| 53 | - } | ||
| 54 | - | ||
| 55 | - public String getRq() { | ||
| 56 | - return rq; | ||
| 57 | - } | ||
| 58 | - | ||
| 59 | - public void setRq(String rq) { | ||
| 60 | - this.rq = rq; | ||
| 61 | - } | ||
| 62 | - | ||
| 63 | - public int getUpDown() { | ||
| 64 | - return upDown; | ||
| 65 | - } | ||
| 66 | - | ||
| 67 | - public void setUpDown(int upDown) { | ||
| 68 | - this.upDown = upDown; | ||
| 69 | - } | ||
| 70 | - | ||
| 71 | - public String getsDeviceId() { | ||
| 72 | - return sDeviceId; | ||
| 73 | - } | ||
| 74 | - | ||
| 75 | - public void setsDeviceId(String sDeviceId) { | ||
| 76 | - this.sDeviceId = sDeviceId; | ||
| 77 | - } | ||
| 78 | - | ||
| 79 | - public String geteDeviceId() { | ||
| 80 | - return eDeviceId; | ||
| 81 | - } | ||
| 82 | - | ||
| 83 | - public void seteDeviceId(String eDeviceId) { | ||
| 84 | - this.eDeviceId = eDeviceId; | ||
| 85 | - } | ||
| 86 | -} | 1 | +package com.bsth.data.schedule.f_a_l.entity; |
| 2 | + | ||
| 3 | +/** | ||
| 4 | + * 发送给网关的首末班数据格式 | ||
| 5 | + * Created by panzhao on 2017/7/19. | ||
| 6 | + */ | ||
| 7 | +public class ToGateway { | ||
| 8 | + | ||
| 9 | + /** 线路 */ | ||
| 10 | + private String lineCode; | ||
| 11 | + | ||
| 12 | + /** 上下行 */ | ||
| 13 | + private int upDown; | ||
| 14 | + | ||
| 15 | + /** 首班设备号 */ | ||
| 16 | + private String sDeviceId; | ||
| 17 | + | ||
| 18 | + /** 首班时间 */ | ||
| 19 | + private Long st; | ||
| 20 | + | ||
| 21 | + /** 末班设备号 */ | ||
| 22 | + private String eDeviceId; | ||
| 23 | + | ||
| 24 | + /** 末班时间 */ | ||
| 25 | + private Long et; | ||
| 26 | + | ||
| 27 | + /** 班次日期 */ | ||
| 28 | + private String rq; | ||
| 29 | + | ||
| 30 | + | ||
| 31 | + public String getLineCode() { | ||
| 32 | + return lineCode; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public void setLineCode(String lineCode) { | ||
| 36 | + this.lineCode = lineCode; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public Long getSt() { | ||
| 40 | + return st; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public void setSt(Long st) { | ||
| 44 | + this.st = st; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public Long getEt() { | ||
| 48 | + return et; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setEt(Long et) { | ||
| 52 | + this.et = et; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public String getRq() { | ||
| 56 | + return rq; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void setRq(String rq) { | ||
| 60 | + this.rq = rq; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public int getUpDown() { | ||
| 64 | + return upDown; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public void setUpDown(int upDown) { | ||
| 68 | + this.upDown = upDown; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public String getsDeviceId() { | ||
| 72 | + return sDeviceId; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void setsDeviceId(String sDeviceId) { | ||
| 76 | + this.sDeviceId = sDeviceId; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String geteDeviceId() { | ||
| 80 | + return eDeviceId; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public void seteDeviceId(String eDeviceId) { | ||
| 84 | + this.eDeviceId = eDeviceId; | ||
| 85 | + } | ||
| 86 | +} |
src/main/java/com/bsth/data/schedule/thread/SchedulePstThread.java
| 1 | package com.bsth.data.schedule.thread; | 1 | package com.bsth.data.schedule.thread; |
| 2 | 2 | ||
| 3 | +import com.alibaba.fastjson.JSON; | ||
| 3 | import com.bsth.data.schedule.DayOfSchedule; | 4 | import com.bsth.data.schedule.DayOfSchedule; |
| 4 | import com.bsth.entity.realcontrol.ScheduleRealInfo; | 5 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 5 | import com.bsth.repository.realcontrol.ScheduleRealInfoRepository; | 6 | import com.bsth.repository.realcontrol.ScheduleRealInfoRepository; |
| 6 | import org.slf4j.Logger; | 7 | import org.slf4j.Logger; |
| 7 | import org.slf4j.LoggerFactory; | 8 | import org.slf4j.LoggerFactory; |
| 8 | import org.springframework.beans.factory.annotation.Autowired; | 9 | import org.springframework.beans.factory.annotation.Autowired; |
| 9 | -import org.springframework.orm.jpa.JpaObjectRetrievalFailureException; | 10 | +import org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource; |
| 11 | +import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; | ||
| 10 | import org.springframework.stereotype.Component; | 12 | import org.springframework.stereotype.Component; |
| 11 | 13 | ||
| 12 | -import javax.persistence.EntityNotFoundException; | ||
| 13 | - | ||
| 14 | /** | 14 | /** |
| 15 | * @author PanZhao | 15 | * @author PanZhao |
| 16 | * @ClassName: SchedulePstThread | 16 | * @ClassName: SchedulePstThread |
| @@ -23,36 +23,68 @@ public class SchedulePstThread extends Thread { | @@ -23,36 +23,68 @@ public class SchedulePstThread extends Thread { | ||
| 23 | @Autowired | 23 | @Autowired |
| 24 | ScheduleRealInfoRepository scheduleRepository; | 24 | ScheduleRealInfoRepository scheduleRepository; |
| 25 | 25 | ||
| 26 | + @Autowired | ||
| 27 | + NamedParameterJdbcTemplate jdbcTemplate; | ||
| 28 | + | ||
| 29 | + @Autowired | ||
| 30 | + DayOfSchedule dayOfSchedule; | ||
| 31 | + | ||
| 26 | Logger logger = LoggerFactory.getLogger(this.getClass()); | 32 | Logger logger = LoggerFactory.getLogger(this.getClass()); |
| 27 | 33 | ||
| 28 | @Override | 34 | @Override |
| 29 | public void run() { | 35 | public void run() { |
| 30 | 36 | ||
| 31 | - //LinkedList<ScheduleRealInfo> list = DayOfSchedule.pstBuffer; | ||
| 32 | - | ||
| 33 | ScheduleRealInfo schedule; | 37 | ScheduleRealInfo schedule; |
| 34 | for (int i = 0; i < 1000; i++) { | 38 | for (int i = 0; i < 1000; i++) { |
| 35 | schedule = DayOfSchedule.pstBuffer.poll(); | 39 | schedule = DayOfSchedule.pstBuffer.poll(); |
| 36 | if (null == schedule) | 40 | if (null == schedule) |
| 37 | break; | 41 | break; |
| 38 | 42 | ||
| 39 | - if(schedule.isDeleted()){ | 43 | + if (schedule.isDeleted()) { |
| 40 | logger.error("save 发现 deleted=true 的班次,id: " + schedule.getId()); | 44 | logger.error("save 发现 deleted=true 的班次,id: " + schedule.getId()); |
| 41 | continue; | 45 | continue; |
| 42 | } | 46 | } |
| 43 | 47 | ||
| 44 | - try { | ||
| 45 | - scheduleRepository.save(schedule); | ||
| 46 | - } | ||
| 47 | - catch (JpaObjectRetrievalFailureException e1){ | ||
| 48 | - logger.error("JpaObjectRetrievalFailureException error.... 可忽略"); | ||
| 49 | - } | ||
| 50 | - catch(EntityNotFoundException e2){ | ||
| 51 | - logger.error("EntityNotFoundException error.... 可忽略"); | ||
| 52 | - } | ||
| 53 | - catch (Exception e) { | ||
| 54 | - logger.error("班次入库的时候出现未知异常!!", e); | ||
| 55 | - } | 48 | + save(schedule); |
| 49 | + } | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + /** | ||
| 53 | + * 班次更新到数据库,不走jpa | ||
| 54 | + * | ||
| 55 | + * @param sch | ||
| 56 | + */ | ||
| 57 | + public void save(ScheduleRealInfo sch) { | ||
| 58 | + if (sch.getId() == null) { | ||
| 59 | + logger.error("入库的班次没有ID, " + JSON.toJSONString(sch)); | ||
| 60 | + return; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + if(sch.getSaveFailCount() > 5){ | ||
| 64 | + logger.error("入库失败上限, " + JSON.toJSONString(sch)); | ||
| 65 | + return; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + try { | ||
| 69 | + String sql = "UPDATE bsth_c_s_sp_info_real" + | ||
| 70 | + " SET adjust_exps=:adjustExps, bc_type=:bcType, bcs=:bcs, bcsj=:bcsj, ccno=:ccno, cl_zbh=:clZbh, df_auto=:dfAuto," + | ||
| 71 | + " dfsj=:dfsj, directive_state=:directiveState, fcno=:fcno, fcsj=:fcsj, fcsj_actual=:fcsjActual, fgs_bm=:fgsBm, fgs_name=:fgsName, gs_bm=:gsBm, gs_name=:gsName," + | ||
| 72 | + " j_gh=:jGh, j_name=:jName, jhlc=:jhlc, jhlc_orig=:jhlcOrig, lp_name=:lpName, ONLINE=:online, qdz_code=:qdzCode, qdz_name=:qdzName," + | ||
| 73 | + " real_exec_date=:realExecDate, reissue=:reissue, remarks=:remarks, s_gh=:sGh, s_name=:sName, schedule_date=:scheduleDate," + | ||
| 74 | + " schedule_date_str=:scheduleDateStr, sflj=:sflj, sp_id=:spId, STATUS=:status, update_date=:updateDate, xl_bm=:xlBm, xl_dir=:xlDir, xl_name=:xlName," + | ||
| 75 | + " zdsj=:zdsj, zdsj_actual=:zdsjActual, zdz_code=:zdzCode, zdz_name=:zdzName" + | ||
| 76 | + " WHERE " + | ||
| 77 | + " id=:id"; | ||
| 78 | + | ||
| 79 | + jdbcTemplate.update(sql, new BeanPropertySqlParameterSource(sch)); | ||
| 80 | + sch.setSaveFailCount(0); | ||
| 81 | + } catch (Exception e) { | ||
| 82 | + //下次入库再试 | ||
| 83 | + sch.setSaveFailCount(sch.getSaveFailCount()+1); | ||
| 84 | + dayOfSchedule.save(sch); | ||
| 85 | + | ||
| 86 | + logger.error("班次 " + sch.getId() + "入库失败," + JSON.toJSONString(sch)); | ||
| 87 | + logger.error("", e); | ||
| 56 | } | 88 | } |
| 57 | } | 89 | } |
| 58 | } | 90 | } |
src/main/java/com/bsth/entity/realcontrol/ScheduleRealInfo.java
| @@ -30,8 +30,9 @@ public class ScheduleRealInfo { | @@ -30,8 +30,9 @@ public class ScheduleRealInfo { | ||
| 30 | /** 计划ID */ | 30 | /** 计划ID */ |
| 31 | private Long spId; | 31 | private Long spId; |
| 32 | 32 | ||
| 33 | - /** 排班计划日期 */ | 33 | + /** 排班计划日期 --no webSocket */ |
| 34 | private Date scheduleDate; | 34 | private Date scheduleDate; |
| 35 | + /** 排班日期字符串 YYYY-MM-DD */ | ||
| 35 | private String scheduleDateStr; | 36 | private String scheduleDateStr; |
| 36 | 37 | ||
| 37 | /** 真实执行时间 yyyy-MM-dd */ | 38 | /** 真实执行时间 yyyy-MM-dd */ |
| @@ -81,9 +82,9 @@ public class ScheduleRealInfo { | @@ -81,9 +82,9 @@ public class ScheduleRealInfo { | ||
| 81 | @Transient | 82 | @Transient |
| 82 | private Long zdsjT; | 83 | private Long zdsjT; |
| 83 | 84 | ||
| 84 | - /** 发车顺序号 */ | 85 | + /** 发车顺序号 --no webSocket*/ |
| 85 | private Integer fcno; | 86 | private Integer fcno; |
| 86 | - /** 对应班次数 */ | 87 | + /** 对应班次数 --no webSocket*/ |
| 87 | private Integer bcs; | 88 | private Integer bcs; |
| 88 | /** 计划里程 */ | 89 | /** 计划里程 */ |
| 89 | private Double jhlc; | 90 | private Double jhlc; |
| @@ -91,10 +92,12 @@ public class ScheduleRealInfo { | @@ -91,10 +92,12 @@ public class ScheduleRealInfo { | ||
| 91 | /** 原始计划里程 (原计调的数据) */ | 92 | /** 原始计划里程 (原计调的数据) */ |
| 92 | private Double jhlcOrig; | 93 | private Double jhlcOrig; |
| 93 | 94 | ||
| 94 | - /** 实际里程 这个字段被废弃*/ | 95 | + /** 实际里程 --no webSocket*/ |
| 96 | + @Transient | ||
| 97 | + @JsonIgnore | ||
| 95 | private Double realMileage; | 98 | private Double realMileage; |
| 96 | 99 | ||
| 97 | - /** 实际里程 */ | 100 | + /** 实际里程 --no webSocket */ |
| 98 | @Transient | 101 | @Transient |
| 99 | private String sjlc; | 102 | private String sjlc; |
| 100 | /** 班次历时 */ | 103 | /** 班次历时 */ |
| @@ -153,7 +156,8 @@ public class ScheduleRealInfo { | @@ -153,7 +156,8 @@ public class ScheduleRealInfo { | ||
| 153 | /** 备注*/ | 156 | /** 备注*/ |
| 154 | private String remarks; | 157 | private String remarks; |
| 155 | 158 | ||
| 156 | - /** 原计划排班备注 */ | 159 | + /** 原计划排班备注 --no webSocket */ |
| 160 | + @Transient | ||
| 157 | private String remark; | 161 | private String remark; |
| 158 | 162 | ||
| 159 | /**待发时间(格式 HH:mm) */ | 163 | /**待发时间(格式 HH:mm) */ |
| @@ -166,9 +170,6 @@ public class ScheduleRealInfo { | @@ -166,9 +170,6 @@ public class ScheduleRealInfo { | ||
| 166 | /** 指令下发状态 60: 已发送, 100: 设备确认收到, 200:驾驶员确认 0:失败 */ | 170 | /** 指令下发状态 60: 已发送, 100: 设备确认收到, 200:驾驶员确认 0:失败 */ |
| 167 | private Integer directiveState = -1; | 171 | private Integer directiveState = -1; |
| 168 | 172 | ||
| 169 | - /** “运营状态” 指令下发状态 60: 已发送, 100: 设备确认收到 0:失败*/ | ||
| 170 | - private Integer opDirectiveState; | ||
| 171 | - | ||
| 172 | /** 起点站计划到达时间 */ | 173 | /** 起点站计划到达时间 */ |
| 173 | @Transient | 174 | @Transient |
| 174 | private String qdzArrDatejh; | 175 | private String qdzArrDatejh; |
| @@ -200,7 +201,7 @@ public class ScheduleRealInfo { | @@ -200,7 +201,7 @@ public class ScheduleRealInfo { | ||
| 200 | /** 是否有补发GPS信号 */ | 201 | /** 是否有补发GPS信号 */ |
| 201 | private boolean reissue; | 202 | private boolean reissue; |
| 202 | 203 | ||
| 203 | - /** 发车屏 发车顺序号,不持久化,会动态变化 */ | 204 | + /** 发车屏 发车顺序号,不持久化,会动态变化 --no webSocket*/ |
| 204 | @Transient | 205 | @Transient |
| 205 | private int fcpSn; | 206 | private int fcpSn; |
| 206 | 207 | ||
| @@ -209,6 +210,10 @@ public class ScheduleRealInfo { | @@ -209,6 +210,10 @@ public class ScheduleRealInfo { | ||
| 209 | @JsonIgnore | 210 | @JsonIgnore |
| 210 | private boolean deleted; | 211 | private boolean deleted; |
| 211 | 212 | ||
| 213 | + @Transient | ||
| 214 | + @JsonIgnore | ||
| 215 | + private int saveFailCount=0; | ||
| 216 | + | ||
| 212 | public boolean isDfAuto() { | 217 | public boolean isDfAuto() { |
| 213 | return dfAuto; | 218 | return dfAuto; |
| 214 | } | 219 | } |
| @@ -486,7 +491,7 @@ public class ScheduleRealInfo { | @@ -486,7 +491,7 @@ public class ScheduleRealInfo { | ||
| 486 | if(this.isSflj()) | 491 | if(this.isSflj()) |
| 487 | this.setJhlcOrig(this.getJhlc()); | 492 | this.setJhlcOrig(this.getJhlc()); |
| 488 | } | 493 | } |
| 489 | - | 494 | + |
| 490 | public String getSjlc() { | 495 | public String getSjlc() { |
| 491 | return sjlc; | 496 | return sjlc; |
| 492 | } | 497 | } |
| @@ -816,22 +821,6 @@ public class ScheduleRealInfo { | @@ -816,22 +821,6 @@ public class ScheduleRealInfo { | ||
| 816 | calcStatus(); | 821 | calcStatus(); |
| 817 | } | 822 | } |
| 818 | 823 | ||
| 819 | - public Integer getOpDirectiveState() { | ||
| 820 | - return opDirectiveState; | ||
| 821 | - } | ||
| 822 | - | ||
| 823 | - public void setOpDirectiveState(Integer opDirectiveState) { | ||
| 824 | - this.opDirectiveState = opDirectiveState; | ||
| 825 | - } | ||
| 826 | - | ||
| 827 | -/* public ScheduleRealInfo getTwinsSch() { | ||
| 828 | - return twinsSch; | ||
| 829 | - } | ||
| 830 | - | ||
| 831 | - public void setTwinsSch(ScheduleRealInfo twinsSch) { | ||
| 832 | - this.twinsSch = twinsSch; | ||
| 833 | - }*/ | ||
| 834 | - | ||
| 835 | public boolean isLate() { | 824 | public boolean isLate() { |
| 836 | return late; | 825 | return late; |
| 837 | } | 826 | } |
| @@ -925,4 +914,12 @@ public class ScheduleRealInfo { | @@ -925,4 +914,12 @@ public class ScheduleRealInfo { | ||
| 925 | public void setDeleted(boolean deleted) { | 914 | public void setDeleted(boolean deleted) { |
| 926 | this.deleted = deleted; | 915 | this.deleted = deleted; |
| 927 | } | 916 | } |
| 917 | + | ||
| 918 | + public int getSaveFailCount() { | ||
| 919 | + return saveFailCount; | ||
| 920 | + } | ||
| 921 | + | ||
| 922 | + public void setSaveFailCount(int saveFailCount) { | ||
| 923 | + this.saveFailCount = saveFailCount; | ||
| 924 | + } | ||
| 928 | } | 925 | } |
src/main/java/com/bsth/service/gps/GpsService.java
| @@ -47,5 +47,5 @@ public interface GpsService { | @@ -47,5 +47,5 @@ public interface GpsService { | ||
| 47 | List<GpsSpeed> findPosition(String deviceid, String startdate, | 47 | List<GpsSpeed> findPosition(String deviceid, String startdate, |
| 48 | String enddate) throws ParseException; | 48 | String enddate) throws ParseException; |
| 49 | 49 | ||
| 50 | - PageObject<GpsSpeed> Pagequery(Map<String, Object> map); | 50 | + Map<String, Object> Pagequery(Map<String, Object> map); |
| 51 | } | 51 | } |
src/main/java/com/bsth/service/gps/GpsServiceImpl.java
| @@ -1053,16 +1053,19 @@ public class GpsServiceImpl implements GpsService { | @@ -1053,16 +1053,19 @@ public class GpsServiceImpl implements GpsService { | ||
| 1053 | } | 1053 | } |
| 1054 | 1054 | ||
| 1055 | @Override | 1055 | @Override |
| 1056 | - public PageObject<GpsSpeed> Pagequery(Map<String, Object> map) { | ||
| 1057 | - | 1056 | + public Map<String, Object> Pagequery(Map<String, Object> map) { |
| 1058 | SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 1057 | SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| 1058 | + Integer totalDays = 0;//数据跨越天数 | ||
| 1059 | + try { | ||
| 1060 | + totalDays = (int) ((sdf.parse(map.get("endDate").toString()+" 23:59:59").getTime()-sdf.parse(map.get("startDate").toString()+" 00:00:00").getTime()+1)/(3600*24*1000))+1; | ||
| 1061 | + } catch (ParseException e) { | ||
| 1062 | + e.printStackTrace(); | ||
| 1063 | + }//总页数 | ||
| 1064 | + map.put("totalDays",totalDays); | ||
| 1059 | List<GpsSpeed> list=findAll(map); | 1065 | List<GpsSpeed> list=findAll(map); |
| 1060 | List<GpsSpeed> listResult = new ArrayList<GpsSpeed>(); | 1066 | List<GpsSpeed> listResult = new ArrayList<GpsSpeed>(); |
| 1061 | - int curPage;//页码 | ||
| 1062 | - int pageData;//每页的记录条数 | ||
| 1063 | - int start;//起始数据下标 | ||
| 1064 | - int totalPage;//总页数 | ||
| 1065 | - int totalData = 0; | 1067 | + int curPage = 0;//页码 |
| 1068 | + int pageData = 0;//每页的记录条数 | ||
| 1066 | if(list.size()>1){ | 1069 | if(list.size()>1){ |
| 1067 | GpsSpeed GpsSpeedNow;//下标为i的车辆行驶记录 | 1070 | GpsSpeed GpsSpeedNow;//下标为i的车辆行驶记录 |
| 1068 | GpsSpeed GpsSpeedLast;//下标为i-1的车辆行驶记录 | 1071 | GpsSpeed GpsSpeedLast;//下标为i-1的车辆行驶记录 |
| @@ -1099,49 +1102,35 @@ public class GpsServiceImpl implements GpsService { | @@ -1099,49 +1102,35 @@ public class GpsServiceImpl implements GpsService { | ||
| 1099 | } | 1102 | } |
| 1100 | } | 1103 | } |
| 1101 | } | 1104 | } |
| 1102 | - Iterator<GpsSpeed> speedIt = listResult.iterator(); | ||
| 1103 | - while(speedIt.hasNext()){ | ||
| 1104 | - GpsSpeed GpsSpeed = speedIt.next(); | ||
| 1105 | - if(GpsSpeed.getEndtimestamp()-GpsSpeed.getTimestamp()<=1000){ | ||
| 1106 | - speedIt.remove(); | ||
| 1107 | - } | ||
| 1108 | - } | ||
| 1109 | - | ||
| 1110 | - totalData = listResult.size();//总记录条数。 | ||
| 1111 | - if(map.get("curPage") == null || map.get("curPage").equals("0")){ | ||
| 1112 | - curPage = 0; | ||
| 1113 | - }else{ | ||
| 1114 | - curPage = Integer.parseInt((String) map.get("curPage")); | ||
| 1115 | - } | ||
| 1116 | - pageData = Integer.parseInt((String) map.get("pageData"));//每页的记录条数 | ||
| 1117 | - start = (curPage - 0) * pageData; //起始记录下标。 | ||
| 1118 | - totalPage = totalData % pageData == 0 ? totalData / pageData : totalData / pageData +1;//总页数 | ||
| 1119 | - if(curPage == totalPage-1){//如果当前页等于总页数。 | ||
| 1120 | - listResult = listResult.subList(start, totalData); | ||
| 1121 | - }else{ | ||
| 1122 | - listResult = listResult.subList(start, start+pageData); | 1105 | + if(listResult.size()>0){ |
| 1106 | + Iterator<GpsSpeed> speedIt = listResult.iterator(); | ||
| 1107 | + while(speedIt.hasNext()){ | ||
| 1108 | + GpsSpeed GpsSpeed = speedIt.next(); | ||
| 1109 | + if(GpsSpeed.getEndtimestamp()-GpsSpeed.getTimestamp()<=1000){ | ||
| 1110 | + speedIt.remove(); | ||
| 1111 | + } | ||
| 1112 | + } | ||
| 1123 | } | 1113 | } |
| 1124 | - }else{ | ||
| 1125 | - curPage = 1; | ||
| 1126 | - pageData = Integer.parseInt((String) map.get("pageData"));//每页的记录条数 | ||
| 1127 | - totalPage =1; | ||
| 1128 | } | 1114 | } |
| 1115 | + if(map.get("curPage") == null || map.get("curPage").equals("0")){ | ||
| 1116 | + curPage = 0; | ||
| 1117 | + }else{ | ||
| 1118 | + curPage = Integer.parseInt((String) map.get("curPage")); | ||
| 1119 | + } | ||
| 1120 | + Integer totalPage = totalDays; | ||
| 1121 | + pageData = listResult.size();//每页的记录条数就是当前页查出的全部数据。 | ||
| 1129 | Map<String,Object> paramMap = new HashMap<String,Object>(); | 1122 | Map<String,Object> paramMap = new HashMap<String,Object>(); |
| 1130 | paramMap.put("totalPage", totalPage); | 1123 | paramMap.put("totalPage", totalPage); |
| 1131 | - paramMap.put("curPage", curPage); | 1124 | + paramMap.put("page", curPage); |
| 1132 | paramMap.put("pageData", pageData); | 1125 | paramMap.put("pageData", pageData); |
| 1133 | - PageHelper pageHelper = new PageHelper(totalData, paramMap); | ||
| 1134 | - pageHelper.getMap(); | ||
| 1135 | - PageObject<GpsSpeed> pageObject = pageHelper.getPageObject(); | ||
| 1136 | - pageObject.setDataList(listResult); | ||
| 1137 | - return pageObject; | 1126 | + paramMap.put("list", listResult); |
| 1127 | + return paramMap; | ||
| 1138 | } | 1128 | } |
| 1139 | 1129 | ||
| 1140 | static List<GpsSpeed> findAll(Map<String, Object> map) { | 1130 | static List<GpsSpeed> findAll(Map<String, Object> map) { |
| 1141 | Connection conn = null; | 1131 | Connection conn = null; |
| 1142 | PreparedStatement ps = null; | 1132 | PreparedStatement ps = null; |
| 1143 | ResultSet rs = null; | 1133 | ResultSet rs = null; |
| 1144 | - int page=Integer.parseInt(map.get("page").toString()); | ||
| 1145 | List<GpsSpeed> list=new ArrayList<GpsSpeed>(); | 1134 | List<GpsSpeed> list=new ArrayList<GpsSpeed>(); |
| 1146 | String sql="select * from bsth_c_gps_info where 1=1 "; | 1135 | String sql="select * from bsth_c_gps_info where 1=1 "; |
| 1147 | Object line=map.get("line"); | 1136 | Object line=map.get("line"); |
| @@ -1149,6 +1138,13 @@ public class GpsServiceImpl implements GpsService { | @@ -1149,6 +1138,13 @@ public class GpsServiceImpl implements GpsService { | ||
| 1149 | Object updown=map.get("updown"); | 1138 | Object updown=map.get("updown"); |
| 1150 | Object startDate=map.get("startDate"); | 1139 | Object startDate=map.get("startDate"); |
| 1151 | Object endDate=map.get("endDate"); | 1140 | Object endDate=map.get("endDate"); |
| 1141 | + Integer totalDays = Integer.valueOf(map.get("totalDays").toString()); | ||
| 1142 | + Integer curPage = 0;//页码 | ||
| 1143 | + if(map.get("curPage") == null || map.get("curPage").equals("0")){ | ||
| 1144 | + curPage = 0; | ||
| 1145 | + }else{ | ||
| 1146 | + curPage = Integer.parseInt((String) map.get("curPage")); | ||
| 1147 | + } | ||
| 1152 | 1148 | ||
| 1153 | SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 1149 | SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| 1154 | if(line!=null){ | 1150 | if(line!=null){ |
| @@ -1167,7 +1163,7 @@ public class GpsServiceImpl implements GpsService { | @@ -1167,7 +1163,7 @@ public class GpsServiceImpl implements GpsService { | ||
| 1167 | if(startDate!=null){ | 1163 | if(startDate!=null){ |
| 1168 | if (startDate.toString().length()>0) { | 1164 | if (startDate.toString().length()>0) { |
| 1169 | try { | 1165 | try { |
| 1170 | - Long t1=sdf.parse(startDate.toString()+" 00:00:00").getTime(); | 1166 | + Long t1=sdf.parse(startDate.toString()+" 00:00:00").getTime()+curPage*3600*24*1000; |
| 1171 | sql += " and ts >="+t1; | 1167 | sql += " and ts >="+t1; |
| 1172 | } catch (ParseException e) { | 1168 | } catch (ParseException e) { |
| 1173 | e.printStackTrace(); | 1169 | e.printStackTrace(); |
| @@ -1178,7 +1174,7 @@ public class GpsServiceImpl implements GpsService { | @@ -1178,7 +1174,7 @@ public class GpsServiceImpl implements GpsService { | ||
| 1178 | if(endDate!=null){ | 1174 | if(endDate!=null){ |
| 1179 | if (endDate.toString().length()>0) { | 1175 | if (endDate.toString().length()>0) { |
| 1180 | try { | 1176 | try { |
| 1181 | - Long t2=sdf.parse(endDate.toString()+" 23:59:59").getTime(); | 1177 | + Long t2=sdf.parse(endDate.toString()+" 23:59:59").getTime()-(totalDays-1-curPage)*3600*24*1000; |
| 1182 | sql += " and ts <="+t2; | 1178 | sql += " and ts <="+t2; |
| 1183 | } catch (ParseException e) { | 1179 | } catch (ParseException e) { |
| 1184 | e.printStackTrace(); | 1180 | e.printStackTrace(); |
src/main/java/com/bsth/service/realcontrol/ScheduleRealInfoService.java
| @@ -105,7 +105,7 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | @@ -105,7 +105,7 @@ public interface ScheduleRealInfoService extends BaseService<ScheduleRealInfo, L | ||
| 105 | List<Map<String,Object>> accountPx(String line,String date,String code,String xlName, String px); | 105 | List<Map<String,Object>> accountPx(String line,String date,String code,String xlName, String px); |
| 106 | 106 | ||
| 107 | 107 | ||
| 108 | - List<SchEditInfoDto> correctForm(String line,String date,String endDate,String lpName,String code, String type); | 108 | + List<SchEditInfoDto> correctForm(String line,String date,String endDate,String lpName,String code, String type,String changType); |
| 109 | 109 | ||
| 110 | List<ScheduleRealInfo> queryListWaybill(String jName,String clZbh,String lpName,String date,String line); | 110 | List<ScheduleRealInfo> queryListWaybill(String jName,String clZbh,String lpName,String date,String line); |
| 111 | 111 |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -1810,7 +1810,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1810,7 +1810,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1810 | 1810 | ||
| 1811 | @Override | 1811 | @Override |
| 1812 | public List<SchEditInfoDto> correctForm(String line,String date,String endDate, | 1812 | public List<SchEditInfoDto> correctForm(String line,String date,String endDate, |
| 1813 | - String lpName,String code, String type) { | 1813 | + String lpName,String code, String type,String changType) { |
| 1814 | 1814 | ||
| 1815 | // var types = {'DFTZ': '待发调整', 'FCXXWT':'发车信息微调', 'JHLB': '计划烂班', 'CXLB': '撤销烂班', | 1815 | // var types = {'DFTZ': '待发调整', 'FCXXWT':'发车信息微调', 'JHLB': '计划烂班', 'CXLB': '撤销烂班', |
| 1816 | // 'CXZX': '撤销执行', 'CXSF': '撤销实发', 'SFTZ': '实发调整', 'TZRC': '调整人车'}; | 1816 | // 'CXZX': '撤销执行', 'CXSF': '撤销实发', 'SFTZ': '实发调整', 'TZRC': '调整人车'}; |
| @@ -1824,6 +1824,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1824,6 +1824,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1824 | map.put("SFTZ", "实发调整"); | 1824 | map.put("SFTZ", "实发调整"); |
| 1825 | map.put("TZRC", "调整人车"); | 1825 | map.put("TZRC", "调整人车"); |
| 1826 | 1826 | ||
| 1827 | + SimpleDateFormat sdf1=new SimpleDateFormat("HH:mm"); | ||
| 1828 | + SimpleDateFormat sdf2=new SimpleDateFormat("yyyy-MM-dd HH:mm"); | ||
| 1827 | String cont = ""; | 1829 | String cont = ""; |
| 1828 | cont = " and xl_bm ='"+line +"'"; | 1830 | cont = " and xl_bm ='"+line +"'"; |
| 1829 | if(!lpName.equals("")){ | 1831 | if(!lpName.equals("")){ |
| @@ -1832,7 +1834,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1832,7 +1834,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1832 | if(!code.equals("")){ | 1834 | if(!code.equals("")){ |
| 1833 | cont +=" and cl_zbh ='"+code+"'"; | 1835 | cont +=" and cl_zbh ='"+code+"'"; |
| 1834 | } | 1836 | } |
| 1835 | - String sql = "select t1.*, " | 1837 | + String sql = "select t1.*, t2.real_exec_date," |
| 1836 | + "t2.fcsj,t2.lp_name,t2.cl_zbh,t2.j_gh,t2.j_name," | 1838 | + "t2.fcsj,t2.lp_name,t2.cl_zbh,t2.j_gh,t2.j_name," |
| 1837 | + "t2.xl_dir,t2.real_exec_date from (select * from " | 1839 | + "t2.xl_dir,t2.real_exec_date from (select * from " |
| 1838 | + "logger_sch_modify where rq BETWEEN ? and ? and line_code=? )" | 1840 | + "logger_sch_modify where rq BETWEEN ? and ? and line_code=? )" |
| @@ -1843,9 +1845,39 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1843,9 +1845,39 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1843 | new BeanPropertyRowMapper(SchEditInfoDto.class),date,endDate, line); | 1845 | new BeanPropertyRowMapper(SchEditInfoDto.class),date,endDate, line); |
| 1844 | List<SchEditInfoDto> lists=new ArrayList<SchEditInfoDto>(); | 1846 | List<SchEditInfoDto> lists=new ArrayList<SchEditInfoDto>(); |
| 1845 | for (int i = 0; i < list.size(); i++) { | 1847 | for (int i = 0; i < list.size(); i++) { |
| 1848 | + Long fcsjs=0l; | ||
| 1849 | + Long updsj=0l; | ||
| 1846 | SchEditInfoDto t=list.get(i); | 1850 | SchEditInfoDto t=list.get(i); |
| 1847 | if(map.get(t.getType())!=null){ | 1851 | if(map.get(t.getType())!=null){ |
| 1848 | - t.setType2(t.getUser()+"于"+t.getTimeStr()+"进行"+map.get(t.getType()).toString()+";"); | 1852 | + |
| 1853 | + if(changType.equals("")){ | ||
| 1854 | + t.setType2(t.getUser()+"于"+t.getTimeStr()+"进行"+map.get(t.getType()).toString()+";"); | ||
| 1855 | + }else{ | ||
| 1856 | + String fcsj=""; | ||
| 1857 | + String updtime=""; | ||
| 1858 | + try { | ||
| 1859 | + fcsj= sdf1.format(sdf1.parse(t.getFcsj())); | ||
| 1860 | + updtime=sdf1.format(sdf1.parse(t.getTimeStr())); | ||
| 1861 | + fcsjs=sdf2.parse(t.getRealExecDate()+" "+fcsj).getTime(); | ||
| 1862 | + updsj=sdf2.parse(t.getRq()+" "+updtime).getTime(); | ||
| 1863 | + } catch (ParseException e) { | ||
| 1864 | + // TODO Auto-generated catch block | ||
| 1865 | + e.printStackTrace(); | ||
| 1866 | + } | ||
| 1867 | + if(changType.equals("1")){ | ||
| 1868 | + if(fcsjs>updsj){ | ||
| 1869 | + t.setType2(t.getUser()+"于"+t.getTimeStr()+"进行"+map.get(t.getType()).toString()+";"); | ||
| 1870 | + }else{ | ||
| 1871 | + t.setType2(""); | ||
| 1872 | + } | ||
| 1873 | + }else if(changType.equals("2")){ | ||
| 1874 | + if(fcsjs<updsj){ | ||
| 1875 | + t.setType2(t.getUser()+"于"+t.getTimeStr()+"进行"+map.get(t.getType()).toString()+";"); | ||
| 1876 | + }else{ | ||
| 1877 | + t.setType2(""); | ||
| 1878 | + } | ||
| 1879 | + } | ||
| 1880 | + } | ||
| 1849 | }else{ | 1881 | }else{ |
| 1850 | t.setType2(""); | 1882 | t.setType2(""); |
| 1851 | } | 1883 | } |
| @@ -1859,7 +1891,19 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1859,7 +1891,19 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1859 | } | 1891 | } |
| 1860 | 1892 | ||
| 1861 | if(fage){ | 1893 | if(fage){ |
| 1862 | - lists.add(t); | 1894 | + if(changType.equals("")){ |
| 1895 | + lists.add(t); | ||
| 1896 | + } else { | ||
| 1897 | + if (changType.equals("1")) { | ||
| 1898 | + if (fcsjs > updsj) { | ||
| 1899 | + lists.add(t); | ||
| 1900 | + } | ||
| 1901 | + } else if (changType.equals("2")) { | ||
| 1902 | + if (fcsjs < updsj) { | ||
| 1903 | + lists.add(t); | ||
| 1904 | + } | ||
| 1905 | + } | ||
| 1906 | + } | ||
| 1863 | } | 1907 | } |
| 1864 | } | 1908 | } |
| 1865 | 1909 |
src/main/java/com/bsth/service/report/impl/ReportServiceImpl.java
| @@ -4,6 +4,7 @@ import com.bsth.entity.Line; | @@ -4,6 +4,7 @@ import com.bsth.entity.Line; | ||
| 4 | import com.bsth.entity.Personnel; | 4 | import com.bsth.entity.Personnel; |
| 5 | import com.bsth.entity.StationRoute; | 5 | import com.bsth.entity.StationRoute; |
| 6 | import com.bsth.entity.excep.ArrivalInfo; | 6 | import com.bsth.entity.excep.ArrivalInfo; |
| 7 | +import com.bsth.entity.mcy_forms.Daily; | ||
| 7 | import com.bsth.entity.oil.Dlb; | 8 | import com.bsth.entity.oil.Dlb; |
| 8 | import com.bsth.entity.oil.Ylb; | 9 | import com.bsth.entity.oil.Ylb; |
| 9 | import com.bsth.entity.realcontrol.ChildTaskPlan; | 10 | import com.bsth.entity.realcontrol.ChildTaskPlan; |
| @@ -2234,6 +2235,7 @@ public class ReportServiceImpl implements ReportService{ | @@ -2234,6 +2235,7 @@ public class ReportServiceImpl implements ReportService{ | ||
| 2234 | String date=map.get("date").toString(); | 2235 | String date=map.get("date").toString(); |
| 2235 | String gsbm=map.get("gsbm").toString(); | 2236 | String gsbm=map.get("gsbm").toString(); |
| 2236 | String fgsbm=map.get("fgsbm").toString(); | 2237 | String fgsbm=map.get("fgsbm").toString(); |
| 2238 | + String type=map.get("type").toString(); | ||
| 2237 | List<ScheduleRealInfo> list=new ArrayList<ScheduleRealInfo>(); | 2239 | List<ScheduleRealInfo> list=new ArrayList<ScheduleRealInfo>(); |
| 2238 | if(line.equals("")){ | 2240 | if(line.equals("")){ |
| 2239 | list=scheduleRealInfoRepository.scheduleByDateAndLineByGs(gsbm, fgsbm, date); | 2241 | list=scheduleRealInfoRepository.scheduleByDateAndLineByGs(gsbm, fgsbm, date); |
| @@ -2273,7 +2275,6 @@ public class ReportServiceImpl implements ReportService{ | @@ -2273,7 +2275,6 @@ public class ReportServiceImpl implements ReportService{ | ||
| 2273 | } | 2275 | } |
| 2274 | }); | 2276 | }); |
| 2275 | 2277 | ||
| 2276 | - | ||
| 2277 | for (int i = 0; i < xlList.size(); i++) { | 2278 | for (int i = 0; i < xlList.size(); i++) { |
| 2278 | String lineCode=xlList.get(i).get("line").toString(); | 2279 | String lineCode=xlList.get(i).get("line").toString(); |
| 2279 | String grade =xlList.get(i).get("grade").toString(); | 2280 | String grade =xlList.get(i).get("grade").toString(); |
| @@ -2309,6 +2310,7 @@ public class ReportServiceImpl implements ReportService{ | @@ -2309,6 +2310,7 @@ public class ReportServiceImpl implements ReportService{ | ||
| 2309 | e.printStackTrace(); | 2310 | e.printStackTrace(); |
| 2310 | } | 2311 | } |
| 2311 | } | 2312 | } |
| 2313 | + | ||
| 2312 | if(listInfo.size()>0){ | 2314 | if(listInfo.size()>0){ |
| 2313 | int sjbcs=culateService.culateSjbc(list_, "")+culateService.culateLjbc(list_, ""); | 2315 | int sjbcs=culateService.culateSjbc(list_, "")+culateService.culateLjbc(list_, ""); |
| 2314 | Map<String, Object> m=listDjg(gsbm,fgsbm,lineCode,sjbcs,peak,trough,listInfo,grade); | 2316 | Map<String, Object> m=listDjg(gsbm,fgsbm,lineCode,sjbcs,peak,trough,listInfo,grade); |
| @@ -2316,6 +2318,21 @@ public class ReportServiceImpl implements ReportService{ | @@ -2316,6 +2318,21 @@ public class ReportServiceImpl implements ReportService{ | ||
| 2316 | } | 2318 | } |
| 2317 | 2319 | ||
| 2318 | } | 2320 | } |
| 2321 | + if(type.equals("export")){ | ||
| 2322 | + List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | ||
| 2323 | + Map<String, Object> m = new HashMap<String, Object>(); | ||
| 2324 | + m.put("date", date); | ||
| 2325 | + ReportUtils ee = new ReportUtils(); | ||
| 2326 | + try { | ||
| 2327 | + listI.add(lMap.iterator()); | ||
| 2328 | + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/"; | ||
| 2329 | + ee.excelReplace(listI, new Object[]{m}, path + "mould/countInterval.xls", | ||
| 2330 | + path + "export/大间隔统计表.xls"); | ||
| 2331 | + } catch (Exception e) { | ||
| 2332 | + // TODO: handle exception | ||
| 2333 | + e.printStackTrace(); | ||
| 2334 | + } | ||
| 2335 | + } | ||
| 2319 | return lMap; | 2336 | return lMap; |
| 2320 | } | 2337 | } |
| 2321 | 2338 |
src/main/resources/datatools/ktrs/ttinfodetailDataInput.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>时刻表明细导入</name> | ||
| 5 | - <description>时刻表明细信息导入</description> | ||
| 6 | - <extended_description>时刻表明细信息</extended_description> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - </parameters> | ||
| 13 | - <log> | ||
| 14 | -<trans-log-table><connection/> | ||
| 15 | -<schema/> | ||
| 16 | -<table/> | ||
| 17 | -<size_limit_lines/> | ||
| 18 | -<interval/> | ||
| 19 | -<timeout_days/> | ||
| 20 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 21 | -<perf-log-table><connection/> | ||
| 22 | -<schema/> | ||
| 23 | -<table/> | ||
| 24 | -<interval/> | ||
| 25 | -<timeout_days/> | ||
| 26 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 27 | -<channel-log-table><connection/> | ||
| 28 | -<schema/> | ||
| 29 | -<table/> | ||
| 30 | -<timeout_days/> | ||
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 32 | -<step-log-table><connection/> | ||
| 33 | -<schema/> | ||
| 34 | -<table/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 37 | -<metrics-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 42 | - </log> | ||
| 43 | - <maxdate> | ||
| 44 | - <connection/> | ||
| 45 | - <table/> | ||
| 46 | - <field/> | ||
| 47 | - <offset>0.0</offset> | ||
| 48 | - <maxdiff>0.0</maxdiff> | ||
| 49 | - </maxdate> | ||
| 50 | - <size_rowset>10000</size_rowset> | ||
| 51 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 52 | - <sleep_time_full>50</sleep_time_full> | ||
| 53 | - <unique_connections>N</unique_connections> | ||
| 54 | - <feedback_shown>Y</feedback_shown> | ||
| 55 | - <feedback_size>50000</feedback_size> | ||
| 56 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 57 | - <shared_objects_file/> | ||
| 58 | - <capture_step_performance>N</capture_step_performance> | ||
| 59 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 60 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 61 | - <dependencies> | ||
| 62 | - </dependencies> | ||
| 63 | - <partitionschemas> | ||
| 64 | - </partitionschemas> | ||
| 65 | - <slaveservers> | ||
| 66 | - </slaveservers> | ||
| 67 | - <clusterschemas> | ||
| 68 | - </clusterschemas> | ||
| 69 | - <created_user>-</created_user> | ||
| 70 | - <created_date>2016/06/30 12:21:57.536</created_date> | ||
| 71 | - <modified_user>-</modified_user> | ||
| 72 | - <modified_date>2016/06/30 12:21:57.536</modified_date> | ||
| 73 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 74 | - <is_key_private>N</is_key_private> | ||
| 75 | - </info> | ||
| 76 | - <notepads> | ||
| 77 | - <notepad> | ||
| 78 | - <note>字典表对应(以后直接查找表 bsth_c_sys_dictionary)
类型 代码 名称
LineTrend 0 上行
LineTrend 1 下行
ScheduleType normal 正常班次
ScheduleType out 出场
ScheduleType in 进场
ScheduleType temp 临加
ScheduleType region 区间
ScheduleType venting 放空
ScheduleType major 放大站</note> | ||
| 79 | - <xloc>606</xloc> | ||
| 80 | - <yloc>129</yloc> | ||
| 81 | - <width>332</width> | ||
| 82 | - <heigth>186</heigth> | ||
| 83 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 84 | - <fontsize>12</fontsize> | ||
| 85 | - <fontbold>N</fontbold> | ||
| 86 | - <fontitalic>N</fontitalic> | ||
| 87 | - <fontcolorred>0</fontcolorred> | ||
| 88 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 89 | - <fontcolorblue>0</fontcolorblue> | ||
| 90 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 91 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 92 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 93 | - <bordercolorred>100</bordercolorred> | ||
| 94 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 95 | - <bordercolorblue>100</bordercolorblue> | ||
| 96 | - <drawshadow>Y</drawshadow> | ||
| 97 | - </notepad> | ||
| 98 | - <notepad> | ||
| 99 | - <note>因为时刻表输入格式不确定性,主要因为表结构是反范式化的,
所以需要外部动态指定愿数据,头三个step动态指定愿数据

</note> | ||
| 100 | - <xloc>79</xloc> | ||
| 101 | - <yloc>206</yloc> | ||
| 102 | - <width>346</width> | ||
| 103 | - <heigth>74</heigth> | ||
| 104 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 105 | - <fontsize>12</fontsize> | ||
| 106 | - <fontbold>N</fontbold> | ||
| 107 | - <fontitalic>N</fontitalic> | ||
| 108 | - <fontcolorred>0</fontcolorred> | ||
| 109 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 110 | - <fontcolorblue>0</fontcolorblue> | ||
| 111 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 112 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 113 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 114 | - <bordercolorred>100</bordercolorred> | ||
| 115 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 116 | - <bordercolorblue>100</bordercolorblue> | ||
| 117 | - <drawshadow>Y</drawshadow> | ||
| 118 | - </notepad> | ||
| 119 | - <notepad> | ||
| 120 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 121 | - <xloc>721</xloc> | ||
| 122 | - <yloc>762</yloc> | ||
| 123 | - <width>333</width> | ||
| 124 | - <heigth>90</heigth> | ||
| 125 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 126 | - <fontsize>12</fontsize> | ||
| 127 | - <fontbold>N</fontbold> | ||
| 128 | - <fontitalic>N</fontitalic> | ||
| 129 | - <fontcolorred>0</fontcolorred> | ||
| 130 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 131 | - <fontcolorblue>0</fontcolorblue> | ||
| 132 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 133 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 134 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 135 | - <bordercolorred>100</bordercolorred> | ||
| 136 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 137 | - <bordercolorblue>100</bordercolorblue> | ||
| 138 | - <drawshadow>Y</drawshadow> | ||
| 139 | - </notepad> | ||
| 140 | - <notepad> | ||
| 141 | - <note>出场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 142 | - <xloc>120</xloc> | ||
| 143 | - <yloc>1016</yloc> | ||
| 144 | - <width>178</width> | ||
| 145 | - <heigth>42</heigth> | ||
| 146 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 147 | - <fontsize>12</fontsize> | ||
| 148 | - <fontbold>N</fontbold> | ||
| 149 | - <fontitalic>N</fontitalic> | ||
| 150 | - <fontcolorred>0</fontcolorred> | ||
| 151 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 152 | - <fontcolorblue>0</fontcolorblue> | ||
| 153 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 154 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 155 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 156 | - <bordercolorred>100</bordercolorred> | ||
| 157 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 158 | - <bordercolorblue>100</bordercolorblue> | ||
| 159 | - <drawshadow>Y</drawshadow> | ||
| 160 | - </notepad> | ||
| 161 | - <notepad> | ||
| 162 | - <note>进场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 163 | - <xloc>578</xloc> | ||
| 164 | - <yloc>1084</yloc> | ||
| 165 | - <width>178</width> | ||
| 166 | - <heigth>42</heigth> | ||
| 167 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 168 | - <fontsize>12</fontsize> | ||
| 169 | - <fontbold>N</fontbold> | ||
| 170 | - <fontitalic>N</fontitalic> | ||
| 171 | - <fontcolorred>0</fontcolorred> | ||
| 172 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 173 | - <fontcolorblue>0</fontcolorblue> | ||
| 174 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 175 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 176 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 177 | - <bordercolorred>100</bordercolorred> | ||
| 178 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 179 | - <bordercolorblue>100</bordercolorblue> | ||
| 180 | - <drawshadow>Y</drawshadow> | ||
| 181 | - </notepad> | ||
| 182 | - </notepads> | ||
| 183 | - <connection> | ||
| 184 | - <name>192.168.168.1_jwgl_dw</name> | ||
| 185 | - <server>192.168.168.1</server> | ||
| 186 | - <type>ORACLE</type> | ||
| 187 | - <access>Native</access> | ||
| 188 | - <database>orcl</database> | ||
| 189 | - <port>1521</port> | ||
| 190 | - <username>jwgl_dw</username> | ||
| 191 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 192 | - <servername/> | ||
| 193 | - <data_tablespace/> | ||
| 194 | - <index_tablespace/> | ||
| 195 | - <attributes> | ||
| 196 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 197 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 198 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 199 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 200 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 201 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 202 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 203 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 204 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 205 | - </attributes> | ||
| 206 | - </connection> | ||
| 207 | - <connection> | ||
| 208 | - <name>bus_control_variable</name> | ||
| 209 | - <server>${v_db_ip}</server> | ||
| 210 | - <type>MYSQL</type> | ||
| 211 | - <access>Native</access> | ||
| 212 | - <database>${v_db_dname}</database> | ||
| 213 | - <port>3306</port> | ||
| 214 | - <username>${v_db_uname}</username> | ||
| 215 | - <password>${v_db_pwd}</password> | ||
| 216 | - <servername/> | ||
| 217 | - <data_tablespace/> | ||
| 218 | - <index_tablespace/> | ||
| 219 | - <attributes> | ||
| 220 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 221 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 222 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 223 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 224 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 225 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 226 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 227 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 228 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 229 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 230 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 231 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 232 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 233 | - </attributes> | ||
| 234 | - </connection> | ||
| 235 | - <connection> | ||
| 236 | - <name>bus_control_公司_201</name> | ||
| 237 | - <server>localhost</server> | ||
| 238 | - <type>MYSQL</type> | ||
| 239 | - <access>Native</access> | ||
| 240 | - <database>control</database> | ||
| 241 | - <port>3306</port> | ||
| 242 | - <username>root</username> | ||
| 243 | - <password>Encrypted </password> | ||
| 244 | - <servername/> | ||
| 245 | - <data_tablespace/> | ||
| 246 | - <index_tablespace/> | ||
| 247 | - <attributes> | ||
| 248 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 249 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 250 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 251 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 252 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 253 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 254 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 255 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 256 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 257 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 258 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 259 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 260 | - </attributes> | ||
| 261 | - </connection> | ||
| 262 | - <connection> | ||
| 263 | - <name>bus_control_本机</name> | ||
| 264 | - <server>localhost</server> | ||
| 265 | - <type>MYSQL</type> | ||
| 266 | - <access>Native</access> | ||
| 267 | - <database>control</database> | ||
| 268 | - <port>3306</port> | ||
| 269 | - <username>root</username> | ||
| 270 | - <password>Encrypted </password> | ||
| 271 | - <servername/> | ||
| 272 | - <data_tablespace/> | ||
| 273 | - <index_tablespace/> | ||
| 274 | - <attributes> | ||
| 275 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 276 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 277 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 278 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 279 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 280 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 281 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 282 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 283 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 284 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 285 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 286 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 287 | - </attributes> | ||
| 288 | - </connection> | ||
| 289 | - <connection> | ||
| 290 | - <name>xlab_mysql_youle</name> | ||
| 291 | - <server>101.231.124.8</server> | ||
| 292 | - <type>MYSQL</type> | ||
| 293 | - <access>Native</access> | ||
| 294 | - <database>xlab_youle</database> | ||
| 295 | - <port>45687</port> | ||
| 296 | - <username>xlab-youle</username> | ||
| 297 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 298 | - <servername/> | ||
| 299 | - <data_tablespace/> | ||
| 300 | - <index_tablespace/> | ||
| 301 | - <attributes> | ||
| 302 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 303 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 304 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 305 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 306 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 307 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 308 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 309 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 310 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 311 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 312 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 313 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 314 | - </attributes> | ||
| 315 | - </connection> | ||
| 316 | - <connection> | ||
| 317 | - <name>xlab_mysql_youle(本机)</name> | ||
| 318 | - <server>localhost</server> | ||
| 319 | - <type>MYSQL</type> | ||
| 320 | - <access>Native</access> | ||
| 321 | - <database>xlab_youle</database> | ||
| 322 | - <port>3306</port> | ||
| 323 | - <username>root</username> | ||
| 324 | - <password>Encrypted </password> | ||
| 325 | - <servername/> | ||
| 326 | - <data_tablespace/> | ||
| 327 | - <index_tablespace/> | ||
| 328 | - <attributes> | ||
| 329 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 330 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 331 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 332 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 333 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 334 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 335 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 336 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 337 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 338 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 339 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 340 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 341 | - </attributes> | ||
| 342 | - </connection> | ||
| 343 | - <connection> | ||
| 344 | - <name>xlab_youle</name> | ||
| 345 | - <server/> | ||
| 346 | - <type>MYSQL</type> | ||
| 347 | - <access>JNDI</access> | ||
| 348 | - <database>xlab_youle</database> | ||
| 349 | - <port>1521</port> | ||
| 350 | - <username/> | ||
| 351 | - <password>Encrypted </password> | ||
| 352 | - <servername/> | ||
| 353 | - <data_tablespace/> | ||
| 354 | - <index_tablespace/> | ||
| 355 | - <attributes> | ||
| 356 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 357 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 358 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 359 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 360 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 361 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 362 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 363 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 364 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 365 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 366 | - </attributes> | ||
| 367 | - </connection> | ||
| 368 | - <order> | ||
| 369 | - <hop> <from>时刻表明细信息Excel输入</from><to>班次数据范式化</to><enabled>Y</enabled> </hop> | ||
| 370 | - <hop> <from>添加发车顺序号</from><to>过滤记录(发车时间为空)</to><enabled>Y</enabled> </hop> | ||
| 371 | - <hop> <from>过滤记录(发车时间为空)</from><to>添加对应班次数</to><enabled>Y</enabled> </hop> | ||
| 372 | - <hop> <from>添加对应班次数</from><to>处理数据</to><enabled>Y</enabled> </hop> | ||
| 373 | - <hop> <from>处理数据</from><to>分组各个路牌的站</to><enabled>Y</enabled> </hop> | ||
| 374 | - <hop> <from>查找时刻表基础信息关联</from><to>查找路牌关联</to><enabled>Y</enabled> </hop> | ||
| 375 | - <hop> <from>查找线路关联</from><to>查找时刻表基础信息关联</to><enabled>Y</enabled> </hop> | ||
| 376 | - <hop> <from>上下行字典</from><to>班次类型字典</to><enabled>Y</enabled> </hop> | ||
| 377 | - <hop> <from>上下行字典 2</from><to>班次类型字典 2</to><enabled>Y</enabled> </hop> | ||
| 378 | - <hop> <from>上下行字典 3</from><to>班次类型字典 3</to><enabled>Y</enabled> </hop> | ||
| 379 | - <hop> <from>匹配上下行正常班次里程时间</from><to>类型修正</to><enabled>Y</enabled> </hop> | ||
| 380 | - <hop> <from>按照班次类型过滤数据1</from><to>按照班次类型过滤数据2</to><enabled>Y</enabled> </hop> | ||
| 381 | - <hop> <from>按照班次类型过滤数据1</from><to>正常班次数据</to><enabled>Y</enabled> </hop> | ||
| 382 | - <hop> <from>按照班次类型过滤数据2</from><to>出场班次数据</to><enabled>Y</enabled> </hop> | ||
| 383 | - <hop> <from>按照班次类型过滤数据2</from><to>进场班次数据</to><enabled>Y</enabled> </hop> | ||
| 384 | - <hop> <from>查找线路所有上下行里程时间</from><to>匹配上下行正常班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 385 | - <hop> <from>查找终点站关联</from><to>上下行字典</to><enabled>Y</enabled> </hop> | ||
| 386 | - <hop> <from>查找起点站关联并确定上下行</from><to>查找终点站关联</to><enabled>Y</enabled> </hop> | ||
| 387 | - <hop> <from>正常班次_处理数据</from><to>查找起点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 388 | - <hop> <from>正常班次数据</from><to>正常班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 389 | - <hop> <from>班次类型字典</from><to>查找线路所有上下行里程时间</to><enabled>Y</enabled> </hop> | ||
| 390 | - <hop> <from>班次类型字典 2</from><to>查找线路出场里程时间</to><enabled>Y</enabled> </hop> | ||
| 391 | - <hop> <from>班次类型字典 3</from><to>查找线路进场里程时间</to><enabled>Y</enabled> </hop> | ||
| 392 | - <hop> <from>查找路牌关联</from><to>计算班次类型</to><enabled>Y</enabled> </hop> | ||
| 393 | - <hop> <from>计算班次类型</from><to>按照班次类型过滤数据1</to><enabled>Y</enabled> </hop> | ||
| 394 | - <hop> <from>出场班次数据</from><to>查找停车场1</to><enabled>Y</enabled> </hop> | ||
| 395 | - <hop> <from>查找停车场1</from><to>出场班次_确定终点站名字</to><enabled>Y</enabled> </hop> | ||
| 396 | - <hop> <from>出场班次_确定终点站名字</from><to>查找出场终点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 397 | - <hop> <from>查找出场终点站关联并确定上下行</from><to>上下行字典 2</to><enabled>Y</enabled> </hop> | ||
| 398 | - <hop> <from>进场班次数据</from><to>查找停车场2</to><enabled>Y</enabled> </hop> | ||
| 399 | - <hop> <from>查找停车场2</from><to>进场班次_确定起点站名字</to><enabled>Y</enabled> </hop> | ||
| 400 | - <hop> <from>进场班次_确定起点站名字</from><to>查找进场班次上一个班次的线路方向</to><enabled>Y</enabled> </hop> | ||
| 401 | - <hop> <from>查找进场班次上一个班次的线路方向</from><to>查找进场班次上一个班次的终点站,并作为进场班次的起点站</to><enabled>Y</enabled> </hop> | ||
| 402 | - <hop> <from>字段选择</from><to>添加发车顺序号</to><enabled>Y</enabled> </hop> | ||
| 403 | - <hop> <from>分组各个路牌的站</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 404 | - <hop> <from>增加时刻表名字,线路名字,停车场名字</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 405 | - <hop> <from>班次数据范式化</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 406 | - <hop> <from>记录关联 (笛卡尔输出)</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 407 | - <hop> <from>类型修正</from><to>插入/更新bsth_c_s_ttinfo_detail</to><enabled>Y</enabled> </hop> | ||
| 408 | - <hop> <from>查找进场班次上一个班次的终点站,并作为进场班次的起点站</from><to>查找进场起点站关联确定上下行</to><enabled>Y</enabled> </hop> | ||
| 409 | - <hop> <from>查找进场起点站关联确定上下行</from><to>上下行字典 3</to><enabled>Y</enabled> </hop> | ||
| 410 | - <hop> <from>查找线路出场里程时间</from><to>匹配出场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 411 | - <hop> <from>查找线路进场里程时间</from><to>匹配进场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 412 | - <hop> <from>匹配出场班次里程时间</from><to>上下行NULL判定</to><enabled>Y</enabled> </hop> | ||
| 413 | - <hop> <from>上下行NULL判定</from><to>类型修正 2</to><enabled>Y</enabled> </hop> | ||
| 414 | - <hop> <from>类型修正 2</from><to>插入/更新bsth_c_s_ttinfo_detail 2</to><enabled>Y</enabled> </hop> | ||
| 415 | - <hop> <from>匹配进场班次里程时间</from><to>上下行判定 2</to><enabled>Y</enabled> </hop> | ||
| 416 | - <hop> <from>上下行判定 2</from><to>类型修正 3</to><enabled>Y</enabled> </hop> | ||
| 417 | - <hop> <from>类型修正 3</from><to>插入/更新bsth_c_s_ttinfo_detail 3</to><enabled>Y</enabled> </hop> | ||
| 418 | - </order> | ||
| 419 | - <step> | ||
| 420 | - <name>上下行NULL判定</name> | ||
| 421 | - <type>IfNull</type> | ||
| 422 | - <description/> | ||
| 423 | - <distribute>Y</distribute> | ||
| 424 | - <custom_distribution/> | ||
| 425 | - <copies>1</copies> | ||
| 426 | - <partitioning> | ||
| 427 | - <method>none</method> | ||
| 428 | - <schema_name/> | ||
| 429 | - </partitioning> | ||
| 430 | - <replaceAllByValue/> | ||
| 431 | - <replaceAllMask/> | ||
| 432 | - <selectFields>Y</selectFields> | ||
| 433 | - <selectValuesType>N</selectValuesType> | ||
| 434 | - <setEmptyStringAll>N</setEmptyStringAll> | ||
| 435 | - <valuetypes> | ||
| 436 | - </valuetypes> | ||
| 437 | - <fields> | ||
| 438 | - <field> | ||
| 439 | - <name>sxx</name> | ||
| 440 | - <value>0</value> | ||
| 441 | - <mask/> | ||
| 442 | - <set_empty_string>N</set_empty_string> | ||
| 443 | - </field> | ||
| 444 | - </fields> | ||
| 445 | - <cluster_schema/> | ||
| 446 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 447 | - <xloc>230</xloc> | ||
| 448 | - <yloc>946</yloc> | ||
| 449 | - <draw>Y</draw> | ||
| 450 | - </GUI> | ||
| 451 | - </step> | ||
| 452 | - | ||
| 453 | - <step> | ||
| 454 | - <name>上下行判定 2</name> | ||
| 455 | - <type>IfNull</type> | ||
| 456 | - <description/> | ||
| 457 | - <distribute>Y</distribute> | ||
| 458 | - <custom_distribution/> | ||
| 459 | - <copies>1</copies> | ||
| 460 | - <partitioning> | ||
| 461 | - <method>none</method> | ||
| 462 | - <schema_name/> | ||
| 463 | - </partitioning> | ||
| 464 | - <replaceAllByValue/> | ||
| 465 | - <replaceAllMask/> | ||
| 466 | - <selectFields>Y</selectFields> | ||
| 467 | - <selectValuesType>N</selectValuesType> | ||
| 468 | - <setEmptyStringAll>N</setEmptyStringAll> | ||
| 469 | - <valuetypes> | ||
| 470 | - </valuetypes> | ||
| 471 | - <fields> | ||
| 472 | - <field> | ||
| 473 | - <name>sxx2</name> | ||
| 474 | - <value>0</value> | ||
| 475 | - <mask/> | ||
| 476 | - <set_empty_string>N</set_empty_string> | ||
| 477 | - </field> | ||
| 478 | - </fields> | ||
| 479 | - <cluster_schema/> | ||
| 480 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 481 | - <xloc>804</xloc> | ||
| 482 | - <yloc>1081</yloc> | ||
| 483 | - <draw>Y</draw> | ||
| 484 | - </GUI> | ||
| 485 | - </step> | ||
| 486 | - | ||
| 487 | - <step> | ||
| 488 | - <name>上下行字典</name> | ||
| 489 | - <type>ValueMapper</type> | ||
| 490 | - <description/> | ||
| 491 | - <distribute>Y</distribute> | ||
| 492 | - <custom_distribution/> | ||
| 493 | - <copies>1</copies> | ||
| 494 | - <partitioning> | ||
| 495 | - <method>none</method> | ||
| 496 | - <schema_name/> | ||
| 497 | - </partitioning> | ||
| 498 | - <field_to_use>sxx</field_to_use> | ||
| 499 | - <target_field>sxx_desc</target_field> | ||
| 500 | - <non_match_default/> | ||
| 501 | - <fields> | ||
| 502 | - <field> | ||
| 503 | - <source_value>0</source_value> | ||
| 504 | - <target_value>上行</target_value> | ||
| 505 | - </field> | ||
| 506 | - <field> | ||
| 507 | - <source_value>1</source_value> | ||
| 508 | - <target_value>下行</target_value> | ||
| 509 | - </field> | ||
| 510 | - </fields> | ||
| 511 | - <cluster_schema/> | ||
| 512 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 513 | - <xloc>147</xloc> | ||
| 514 | - <yloc>403</yloc> | ||
| 515 | - <draw>Y</draw> | ||
| 516 | - </GUI> | ||
| 517 | - </step> | ||
| 518 | - | ||
| 519 | - <step> | ||
| 520 | - <name>上下行字典 2</name> | ||
| 521 | - <type>ValueMapper</type> | ||
| 522 | - <description/> | ||
| 523 | - <distribute>Y</distribute> | ||
| 524 | - <custom_distribution/> | ||
| 525 | - <copies>1</copies> | ||
| 526 | - <partitioning> | ||
| 527 | - <method>none</method> | ||
| 528 | - <schema_name/> | ||
| 529 | - </partitioning> | ||
| 530 | - <field_to_use>sxx</field_to_use> | ||
| 531 | - <target_field>sxx_desc</target_field> | ||
| 532 | - <non_match_default/> | ||
| 533 | - <fields> | ||
| 534 | - <field> | ||
| 535 | - <source_value>0</source_value> | ||
| 536 | - <target_value>上行</target_value> | ||
| 537 | - </field> | ||
| 538 | - <field> | ||
| 539 | - <source_value>1</source_value> | ||
| 540 | - <target_value>下行</target_value> | ||
| 541 | - </field> | ||
| 542 | - </fields> | ||
| 543 | - <cluster_schema/> | ||
| 544 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 545 | - <xloc>331</xloc> | ||
| 546 | - <yloc>598</yloc> | ||
| 547 | - <draw>Y</draw> | ||
| 548 | - </GUI> | ||
| 549 | - </step> | ||
| 550 | - | ||
| 551 | - <step> | ||
| 552 | - <name>上下行字典 3</name> | ||
| 553 | - <type>ValueMapper</type> | ||
| 554 | - <description/> | ||
| 555 | - <distribute>Y</distribute> | ||
| 556 | - <custom_distribution/> | ||
| 557 | - <copies>1</copies> | ||
| 558 | - <partitioning> | ||
| 559 | - <method>none</method> | ||
| 560 | - <schema_name/> | ||
| 561 | - </partitioning> | ||
| 562 | - <field_to_use>sxx</field_to_use> | ||
| 563 | - <target_field>sxx_desc</target_field> | ||
| 564 | - <non_match_default/> | ||
| 565 | - <fields> | ||
| 566 | - <field> | ||
| 567 | - <source_value>0</source_value> | ||
| 568 | - <target_value>上行</target_value> | ||
| 569 | - </field> | ||
| 570 | - <field> | ||
| 571 | - <source_value>1</source_value> | ||
| 572 | - <target_value>下行</target_value> | ||
| 573 | - </field> | ||
| 574 | - </fields> | ||
| 575 | - <cluster_schema/> | ||
| 576 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 577 | - <xloc>553</xloc> | ||
| 578 | - <yloc>859</yloc> | ||
| 579 | - <draw>Y</draw> | ||
| 580 | - </GUI> | ||
| 581 | - </step> | ||
| 582 | - | ||
| 583 | - <step> | ||
| 584 | - <name>出场班次_确定终点站名字</name> | ||
| 585 | - <type>ScriptValueMod</type> | ||
| 586 | - <description/> | ||
| 587 | - <distribute>Y</distribute> | ||
| 588 | - <custom_distribution/> | ||
| 589 | - <copies>1</copies> | ||
| 590 | - <partitioning> | ||
| 591 | - <method>none</method> | ||
| 592 | - <schema_name/> | ||
| 593 | - </partitioning> | ||
| 594 | - <compatible>N</compatible> | ||
| 595 | - <optimizationLevel>9</optimizationLevel> | ||
| 596 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 597 | - <jsScript_name>Script 1</jsScript_name> | ||
| 598 | - <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var zdzname = cc_groups[gno]; // 出场班次的终点站是下个班次的起始站
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 599 | - </jsScript> </jsScripts> <fields> <field> <name>zdzname</name> | ||
| 600 | - <rename>zdzname</rename> | ||
| 601 | - <type>String</type> | ||
| 602 | - <length>-1</length> | ||
| 603 | - <precision>-1</precision> | ||
| 604 | - <replace>N</replace> | ||
| 605 | - </field> <field> <name>endZdtype</name> | ||
| 606 | - <rename>endZdtype</rename> | ||
| 607 | - <type>String</type> | ||
| 608 | - <length>-1</length> | ||
| 609 | - <precision>-1</precision> | ||
| 610 | - <replace>N</replace> | ||
| 611 | - </field> <field> <name>destory</name> | ||
| 612 | - <rename>destory</rename> | ||
| 613 | - <type>Integer</type> | ||
| 614 | - <length>-1</length> | ||
| 615 | - <precision>-1</precision> | ||
| 616 | - <replace>N</replace> | ||
| 617 | - </field> </fields> <cluster_schema/> | ||
| 618 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 619 | - <xloc>575</xloc> | ||
| 620 | - <yloc>502</yloc> | ||
| 621 | - <draw>Y</draw> | ||
| 622 | - </GUI> | ||
| 623 | - </step> | ||
| 624 | - | ||
| 625 | - <step> | ||
| 626 | - <name>出场班次数据</name> | ||
| 627 | - <type>Dummy</type> | ||
| 628 | - <description/> | ||
| 629 | - <distribute>Y</distribute> | ||
| 630 | - <custom_distribution/> | ||
| 631 | - <copies>1</copies> | ||
| 632 | - <partitioning> | ||
| 633 | - <method>none</method> | ||
| 634 | - <schema_name/> | ||
| 635 | - </partitioning> | ||
| 636 | - <cluster_schema/> | ||
| 637 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 638 | - <xloc>869</xloc> | ||
| 639 | - <yloc>504</yloc> | ||
| 640 | - <draw>Y</draw> | ||
| 641 | - </GUI> | ||
| 642 | - </step> | ||
| 643 | - | ||
| 644 | - <step> | ||
| 645 | - <name>分组各个路牌的站</name> | ||
| 646 | - <type>GroupBy</type> | ||
| 647 | - <description/> | ||
| 648 | - <distribute>Y</distribute> | ||
| 649 | - <custom_distribution/> | ||
| 650 | - <copies>1</copies> | ||
| 651 | - <partitioning> | ||
| 652 | - <method>none</method> | ||
| 653 | - <schema_name/> | ||
| 654 | - </partitioning> | ||
| 655 | - <all_rows>Y</all_rows> | ||
| 656 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 657 | - <field_ignore/> | ||
| 658 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 659 | - <prefix>grp</prefix> | ||
| 660 | - <add_linenr>Y</add_linenr> | ||
| 661 | - <linenr_fieldname>gno</linenr_fieldname> | ||
| 662 | - <give_back_row>N</give_back_row> | ||
| 663 | - <group> | ||
| 664 | - <field> | ||
| 665 | - <name>lp</name> | ||
| 666 | - </field> | ||
| 667 | - </group> | ||
| 668 | - <fields> | ||
| 669 | - <field> | ||
| 670 | - <aggregate>qdzgroups</aggregate> | ||
| 671 | - <subject>qdzname</subject> | ||
| 672 | - <type>CONCAT_STRING</type> | ||
| 673 | - <valuefield>,</valuefield> | ||
| 674 | - </field> | ||
| 675 | - </fields> | ||
| 676 | - <cluster_schema/> | ||
| 677 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 678 | - <xloc>892</xloc> | ||
| 679 | - <yloc>44</yloc> | ||
| 680 | - <draw>Y</draw> | ||
| 681 | - </GUI> | ||
| 682 | - </step> | ||
| 683 | - | ||
| 684 | - <step> | ||
| 685 | - <name>匹配上下行正常班次里程时间</name> | ||
| 686 | - <type>ScriptValueMod</type> | ||
| 687 | - <description/> | ||
| 688 | - <distribute>Y</distribute> | ||
| 689 | - <custom_distribution/> | ||
| 690 | - <copies>1</copies> | ||
| 691 | - <partitioning> | ||
| 692 | - <method>none</method> | ||
| 693 | - <schema_name/> | ||
| 694 | - </partitioning> | ||
| 695 | - <compatible>N</compatible> | ||
| 696 | - <optimizationLevel>9</optimizationLevel> | ||
| 697 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 698 | - <jsScript_name>Script 1</jsScript_name> | ||
| 699 | - <jsScript_script>//Script here

var jhlc; // 计划里程
var bcsj; // 班次时间

// 时间范围正则表达式
var timeRex = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/;
// 发车时间转换成日期
var fcsj_hour = str2num(sendtime_calcu.substr(0, 2), "#");
var fcsj_min = str2num(sendtime_calcu.substr(3, 2), "#");
var fcsj_date = new Date(2000,1,1,fcsj_hour,fcsj_min,0);

// 判定是否早高峰
var isZgf = false;
if (timeRex.test(early_start_time) && timeRex.test(early_end_time) && early_up_time != null && early_down_time != null) {
 var early_s_hour = str2num(early_start_time.substr(0, 2), "#");
 var early_s_min = str2num(early_start_time.substr(3, 2), "#");
 var early_s_date = new Date(2000,1,1,early_s_hour,early_s_min,0);

 var early_e_hour = str2num(early_end_time.substr(0, 2), "#");
 var early_e_min = str2num(early_end_time.substr(3, 2), "#");
 var early_e_date = new Date(2000,1,1,early_e_hour,early_e_min,0);

 if (fcsj_date >= early_s_date && fcsj_date <= early_e_date) {
 isZgf = true;
 }
}

// 判定是否晚高峰
var isWgf = false;
if (timeRex.test(late_start_time) && timeRex.test(late_end_time) && late_up_time != null && late_down_time != null) {
 var late_s_hour = str2num(late_start_time.substr(0, 2), "#");
 var late_s_min = str2num(late_start_time.substr(3, 2), "#");
 var late_s_date = new Date(2000,1,1,late_s_hour,late_s_min,0);

 var late_e_hour = str2num(late_end_time.substr(0, 2), "#");
 var late_e_min = str2num(late_end_time.substr(3, 2), "#");
 var late_e_date = new Date(2000,1,1,late_e_hour,late_e_min,0);

 if (fcsj_date >= late_s_date && fcsj_date <= late_e_date) {
 isWgf = true;
 }
}

// 判定是否晚高峰

if (sxx == 0) { // 上行
 if (isZgf) {
 jhlc = up_mileage;
 bcsj = early_up_time != 0 ? early_up_time : up_travel_time;
 } else if (isWgf) {
 jhlc = up_mileage;
 bcsj = late_up_time != 0 ? late_up_time : up_travel_time;
 } else {
 jhlc = up_mileage;
 bcsj = up_travel_time;
 }
} else { // sxx == 1 下行
 if (isZgf) {
 jhlc = down_mileage;
 bcsj = early_down_time != 0 ? early_down_time : down_travel_time;
 } else if (isWgf) {
 jhlc = down_mileage;
 bcsj = late_down_time != 0 ? late_down_time : down_travel_time;
 } else {
 jhlc = down_mileage;
 bcsj = down_travel_time;
 }
}

</jsScript_script> | ||
| 700 | - </jsScript> </jsScripts> <fields> <field> <name>jhlc</name> | ||
| 701 | - <rename>jhlc</rename> | ||
| 702 | - <type>String</type> | ||
| 703 | - <length>-1</length> | ||
| 704 | - <precision>-1</precision> | ||
| 705 | - <replace>N</replace> | ||
| 706 | - </field> <field> <name>bcsj</name> | ||
| 707 | - <rename>bcsj</rename> | ||
| 708 | - <type>String</type> | ||
| 709 | - <length>-1</length> | ||
| 710 | - <precision>-1</precision> | ||
| 711 | - <replace>N</replace> | ||
| 712 | - </field> </fields> <cluster_schema/> | ||
| 713 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | - <xloc>148</xloc> | ||
| 715 | - <yloc>674</yloc> | ||
| 716 | - <draw>Y</draw> | ||
| 717 | - </GUI> | ||
| 718 | - </step> | ||
| 719 | - | ||
| 720 | - <step> | ||
| 721 | - <name>匹配出场班次里程时间</name> | ||
| 722 | - <type>ScriptValueMod</type> | ||
| 723 | - <description/> | ||
| 724 | - <distribute>Y</distribute> | ||
| 725 | - <custom_distribution/> | ||
| 726 | - <copies>1</copies> | ||
| 727 | - <partitioning> | ||
| 728 | - <method>none</method> | ||
| 729 | - <schema_name/> | ||
| 730 | - </partitioning> | ||
| 731 | - <compatible>N</compatible> | ||
| 732 | - <optimizationLevel>9</optimizationLevel> | ||
| 733 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 734 | - <jsScript_name>Script 1</jsScript_name> | ||
| 735 | - <jsScript_script>//Script here

var out_mileage; // 出场计划里程
var out_time; // 出场计划时间

if (sxx == 0) { // 上行
 out_mileage = up_out_mileage;
 out_time = up_out_timer;
} else { // sxx == 1 下行
 out_mileage = down_out_mileage;
 out_time = down_out_timer;
}



</jsScript_script> | ||
| 736 | - </jsScript> </jsScripts> <fields> <field> <name>out_mileage</name> | ||
| 737 | - <rename>out_mileage</rename> | ||
| 738 | - <type>String</type> | ||
| 739 | - <length>-1</length> | ||
| 740 | - <precision>-1</precision> | ||
| 741 | - <replace>N</replace> | ||
| 742 | - </field> <field> <name>out_time</name> | ||
| 743 | - <rename>out_time</rename> | ||
| 744 | - <type>String</type> | ||
| 745 | - <length>-1</length> | ||
| 746 | - <precision>-1</precision> | ||
| 747 | - <replace>N</replace> | ||
| 748 | - </field> </fields> <cluster_schema/> | ||
| 749 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 750 | - <xloc>336</xloc> | ||
| 751 | - <yloc>862</yloc> | ||
| 752 | - <draw>Y</draw> | ||
| 753 | - </GUI> | ||
| 754 | - </step> | ||
| 755 | - | ||
| 756 | - <step> | ||
| 757 | - <name>匹配进场班次里程时间</name> | ||
| 758 | - <type>ScriptValueMod</type> | ||
| 759 | - <description/> | ||
| 760 | - <distribute>Y</distribute> | ||
| 761 | - <custom_distribution/> | ||
| 762 | - <copies>1</copies> | ||
| 763 | - <partitioning> | ||
| 764 | - <method>none</method> | ||
| 765 | - <schema_name/> | ||
| 766 | - </partitioning> | ||
| 767 | - <compatible>N</compatible> | ||
| 768 | - <optimizationLevel>9</optimizationLevel> | ||
| 769 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 770 | - <jsScript_name>Script 1</jsScript_name> | ||
| 771 | - <jsScript_script>//Script here

var parade_mileage; // 进场计划里程
var parade_time; // 进场计划时间

if (sxx2 == 0) { // 上行
 parade_mileage = up_in_mileage;
 parade_time = up_in_timer;
} else { // sxx == 1 下行
 parade_mileage = down_in_mileage;
 parade_time = down_in_timer;
}



</jsScript_script> | ||
| 772 | - </jsScript> </jsScripts> <fields> <field> <name>parade_mileage</name> | ||
| 773 | - <rename>parade_mileage</rename> | ||
| 774 | - <type>String</type> | ||
| 775 | - <length>-1</length> | ||
| 776 | - <precision>-1</precision> | ||
| 777 | - <replace>N</replace> | ||
| 778 | - </field> <field> <name>parade_time</name> | ||
| 779 | - <rename>parade_time</rename> | ||
| 780 | - <type>String</type> | ||
| 781 | - <length>-1</length> | ||
| 782 | - <precision>-1</precision> | ||
| 783 | - <replace>N</replace> | ||
| 784 | - </field> </fields> <cluster_schema/> | ||
| 785 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 786 | - <xloc>726</xloc> | ||
| 787 | - <yloc>1005</yloc> | ||
| 788 | - <draw>Y</draw> | ||
| 789 | - </GUI> | ||
| 790 | - </step> | ||
| 791 | - | ||
| 792 | - <step> | ||
| 793 | - <name>增加时刻表名字,线路名字,停车场名字</name> | ||
| 794 | - <type>DataGrid</type> | ||
| 795 | - <description/> | ||
| 796 | - <distribute>Y</distribute> | ||
| 797 | - <custom_distribution/> | ||
| 798 | - <copies>1</copies> | ||
| 799 | - <partitioning> | ||
| 800 | - <method>none</method> | ||
| 801 | - <schema_name/> | ||
| 802 | - </partitioning> | ||
| 803 | - <fields> | ||
| 804 | - </fields> | ||
| 805 | - <data> | ||
| 806 | - <line> </line> | ||
| 807 | - </data> | ||
| 808 | - <cluster_schema/> | ||
| 809 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 810 | - <xloc>110</xloc> | ||
| 811 | - <yloc>133</yloc> | ||
| 812 | - <draw>Y</draw> | ||
| 813 | - </GUI> | ||
| 814 | - </step> | ||
| 815 | - | ||
| 816 | - <step> | ||
| 817 | - <name>处理数据</name> | ||
| 818 | - <type>ScriptValueMod</type> | ||
| 819 | - <description/> | ||
| 820 | - <distribute>Y</distribute> | ||
| 821 | - <custom_distribution/> | ||
| 822 | - <copies>1</copies> | ||
| 823 | - <partitioning> | ||
| 824 | - <method>none</method> | ||
| 825 | - <schema_name/> | ||
| 826 | - </partitioning> | ||
| 827 | - <compatible>N</compatible> | ||
| 828 | - <optimizationLevel>9</optimizationLevel> | ||
| 829 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 830 | - <jsScript_name>Script 1</jsScript_name> | ||
| 831 | - <jsScript_script>//Script here

// 使用正则表达式去除站点名称右侧多余的数字
qdzname = qdzname.replace(/(\d+$)/g,'');

// sendtime处理,hhmm,hh:mm,hh,mm
var sendtime_calcu;
if (sendtime.length == 5) { // 最长格式,包括分隔符,统一把分隔符替换成冒号
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(3, 2);
} else if (sendtime.length == 4) {
 if (sendtime.indexOf(":") > 0) { // 冒号分隔,无需修改
 sendtime_calcu = sendtime;
 } else if (sendtime.indexOf(",") > 0) { // 逗号分隔,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(2, 2);
 } else { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(2, 2);
 }
} else if (sendtime.length == 3) { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(1, 2);
}

// 设置分班
var isfb = 0;

// 设置停驶
var ists = 0;

// 设置isCanceled
var iscanceled = 0;</jsScript_script> | ||
| 832 | - </jsScript> </jsScripts> <fields> <field> <name>qdzname</name> | ||
| 833 | - <rename>qdzname</rename> | ||
| 834 | - <type>String</type> | ||
| 835 | - <length>-1</length> | ||
| 836 | - <precision>-1</precision> | ||
| 837 | - <replace>Y</replace> | ||
| 838 | - </field> <field> <name>isfb</name> | ||
| 839 | - <rename>isfb</rename> | ||
| 840 | - <type>Integer</type> | ||
| 841 | - <length>-1</length> | ||
| 842 | - <precision>-1</precision> | ||
| 843 | - <replace>N</replace> | ||
| 844 | - </field> <field> <name>iscanceled</name> | ||
| 845 | - <rename>iscanceled</rename> | ||
| 846 | - <type>Integer</type> | ||
| 847 | - <length>-1</length> | ||
| 848 | - <precision>-1</precision> | ||
| 849 | - <replace>N</replace> | ||
| 850 | - </field> <field> <name>sendtime_calcu</name> | ||
| 851 | - <rename>sendtime_calcu</rename> | ||
| 852 | - <type>String</type> | ||
| 853 | - <length>-1</length> | ||
| 854 | - <precision>-1</precision> | ||
| 855 | - <replace>N</replace> | ||
| 856 | - </field> <field> <name>ists</name> | ||
| 857 | - <rename>ists</rename> | ||
| 858 | - <type>Integer</type> | ||
| 859 | - <length>-1</length> | ||
| 860 | - <precision>-1</precision> | ||
| 861 | - <replace>N</replace> | ||
| 862 | - </field> </fields> <cluster_schema/> | ||
| 863 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 864 | - <xloc>788</xloc> | ||
| 865 | - <yloc>44</yloc> | ||
| 866 | - <draw>Y</draw> | ||
| 867 | - </GUI> | ||
| 868 | - </step> | ||
| 869 | - | ||
| 870 | - <step> | ||
| 871 | - <name>字段选择</name> | ||
| 872 | - <type>SelectValues</type> | ||
| 873 | - <description/> | ||
| 874 | - <distribute>Y</distribute> | ||
| 875 | - <custom_distribution/> | ||
| 876 | - <copies>1</copies> | ||
| 877 | - <partitioning> | ||
| 878 | - <method>none</method> | ||
| 879 | - <schema_name/> | ||
| 880 | - </partitioning> | ||
| 881 | - <fields> <field> <name>路牌</name> | ||
| 882 | - <rename>lp</rename> | ||
| 883 | - <length>-2</length> | ||
| 884 | - <precision>-2</precision> | ||
| 885 | - </field> <field> <name>站点名称</name> | ||
| 886 | - <rename>qdzname</rename> | ||
| 887 | - <length>-2</length> | ||
| 888 | - <precision>-2</precision> | ||
| 889 | - </field> <field> <name>发车时间</name> | ||
| 890 | - <rename>sendtime</rename> | ||
| 891 | - <length>-2</length> | ||
| 892 | - <precision>-2</precision> | ||
| 893 | - </field> <select_unspecified>Y</select_unspecified> | ||
| 894 | - </fields> <cluster_schema/> | ||
| 895 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 896 | - <xloc>444</xloc> | ||
| 897 | - <yloc>131</yloc> | ||
| 898 | - <draw>Y</draw> | ||
| 899 | - </GUI> | ||
| 900 | - </step> | ||
| 901 | - | ||
| 902 | - <step> | ||
| 903 | - <name>按照班次类型过滤数据1</name> | ||
| 904 | - <type>FilterRows</type> | ||
| 905 | - <description/> | ||
| 906 | - <distribute>Y</distribute> | ||
| 907 | - <custom_distribution/> | ||
| 908 | - <copies>1</copies> | ||
| 909 | - <partitioning> | ||
| 910 | - <method>none</method> | ||
| 911 | - <schema_name/> | ||
| 912 | - </partitioning> | ||
| 913 | -<send_true_to>正常班次数据</send_true_to> | ||
| 914 | -<send_false_to>按照班次类型过滤数据2</send_false_to> | ||
| 915 | - <compare> | ||
| 916 | -<condition> | ||
| 917 | - <negated>N</negated> | ||
| 918 | - <leftvalue>bctype</leftvalue> | ||
| 919 | - <function>=</function> | ||
| 920 | - <rightvalue/> | ||
| 921 | - <value><name>constant</name><type>String</type><text>正常班次</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 922 | - </compare> | ||
| 923 | - <cluster_schema/> | ||
| 924 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 925 | - <xloc>860</xloc> | ||
| 926 | - <yloc>401</yloc> | ||
| 927 | - <draw>Y</draw> | ||
| 928 | - </GUI> | ||
| 929 | - </step> | ||
| 930 | - | ||
| 931 | - <step> | ||
| 932 | - <name>按照班次类型过滤数据2</name> | ||
| 933 | - <type>FilterRows</type> | ||
| 934 | - <description/> | ||
| 935 | - <distribute>Y</distribute> | ||
| 936 | - <custom_distribution/> | ||
| 937 | - <copies>1</copies> | ||
| 938 | - <partitioning> | ||
| 939 | - <method>none</method> | ||
| 940 | - <schema_name/> | ||
| 941 | - </partitioning> | ||
| 942 | -<send_true_to>出场班次数据</send_true_to> | ||
| 943 | -<send_false_to>进场班次数据</send_false_to> | ||
| 944 | - <compare> | ||
| 945 | -<condition> | ||
| 946 | - <negated>N</negated> | ||
| 947 | - <leftvalue>bctype</leftvalue> | ||
| 948 | - <function>=</function> | ||
| 949 | - <rightvalue/> | ||
| 950 | - <value><name>constant</name><type>String</type><text>出场</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 951 | - </compare> | ||
| 952 | - <cluster_schema/> | ||
| 953 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 954 | - <xloc>995</xloc> | ||
| 955 | - <yloc>503</yloc> | ||
| 956 | - <draw>Y</draw> | ||
| 957 | - </GUI> | ||
| 958 | - </step> | ||
| 959 | - | ||
| 960 | - <step> | ||
| 961 | - <name>插入/更新bsth_c_s_ttinfo_detail</name> | ||
| 962 | - <type>InsertUpdate</type> | ||
| 963 | - <description/> | ||
| 964 | - <distribute>Y</distribute> | ||
| 965 | - <custom_distribution/> | ||
| 966 | - <copies>1</copies> | ||
| 967 | - <partitioning> | ||
| 968 | - <method>none</method> | ||
| 969 | - <schema_name/> | ||
| 970 | - </partitioning> | ||
| 971 | - <connection>bus_control_variable</connection> | ||
| 972 | - <commit>100</commit> | ||
| 973 | - <update_bypassed>N</update_bypassed> | ||
| 974 | - <lookup> | ||
| 975 | - <schema/> | ||
| 976 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 977 | - <key> | ||
| 978 | - <name>xlid</name> | ||
| 979 | - <field>xl</field> | ||
| 980 | - <condition>=</condition> | ||
| 981 | - <name2/> | ||
| 982 | - </key> | ||
| 983 | - <key> | ||
| 984 | - <name>ttid</name> | ||
| 985 | - <field>ttinfo</field> | ||
| 986 | - <condition>=</condition> | ||
| 987 | - <name2/> | ||
| 988 | - </key> | ||
| 989 | - <key> | ||
| 990 | - <name>lpid</name> | ||
| 991 | - <field>lp</field> | ||
| 992 | - <condition>=</condition> | ||
| 993 | - <name2/> | ||
| 994 | - </key> | ||
| 995 | - <key> | ||
| 996 | - <name>fcno</name> | ||
| 997 | - <field>fcno</field> | ||
| 998 | - <condition>=</condition> | ||
| 999 | - <name2/> | ||
| 1000 | - </key> | ||
| 1001 | - <key> | ||
| 1002 | - <name>bcs</name> | ||
| 1003 | - <field>bcs</field> | ||
| 1004 | - <condition>=</condition> | ||
| 1005 | - <name2/> | ||
| 1006 | - </key> | ||
| 1007 | - <value> | ||
| 1008 | - <name>lp</name> | ||
| 1009 | - <rename>lpid</rename> | ||
| 1010 | - <update>Y</update> | ||
| 1011 | - </value> | ||
| 1012 | - <value> | ||
| 1013 | - <name>bc_type</name> | ||
| 1014 | - <rename>bctype_code</rename> | ||
| 1015 | - <update>Y</update> | ||
| 1016 | - </value> | ||
| 1017 | - <value> | ||
| 1018 | - <name>bcs</name> | ||
| 1019 | - <rename>bcs</rename> | ||
| 1020 | - <update>Y</update> | ||
| 1021 | - </value> | ||
| 1022 | - <value> | ||
| 1023 | - <name>bcsj</name> | ||
| 1024 | - <rename>bcsj</rename> | ||
| 1025 | - <update>Y</update> | ||
| 1026 | - </value> | ||
| 1027 | - <value> | ||
| 1028 | - <name>fcno</name> | ||
| 1029 | - <rename>fcno</rename> | ||
| 1030 | - <update>Y</update> | ||
| 1031 | - </value> | ||
| 1032 | - <value> | ||
| 1033 | - <name>jhlc</name> | ||
| 1034 | - <rename>jhlc</rename> | ||
| 1035 | - <update>Y</update> | ||
| 1036 | - </value> | ||
| 1037 | - <value> | ||
| 1038 | - <name>fcsj</name> | ||
| 1039 | - <rename>sendtime_calcu</rename> | ||
| 1040 | - <update>Y</update> | ||
| 1041 | - </value> | ||
| 1042 | - <value> | ||
| 1043 | - <name>ttinfo</name> | ||
| 1044 | - <rename>ttid</rename> | ||
| 1045 | - <update>Y</update> | ||
| 1046 | - </value> | ||
| 1047 | - <value> | ||
| 1048 | - <name>xl</name> | ||
| 1049 | - <rename>xlid</rename> | ||
| 1050 | - <update>Y</update> | ||
| 1051 | - </value> | ||
| 1052 | - <value> | ||
| 1053 | - <name>qdz</name> | ||
| 1054 | - <rename>qdzid</rename> | ||
| 1055 | - <update>Y</update> | ||
| 1056 | - </value> | ||
| 1057 | - <value> | ||
| 1058 | - <name>zdz</name> | ||
| 1059 | - <rename>zdzid</rename> | ||
| 1060 | - <update>Y</update> | ||
| 1061 | - </value> | ||
| 1062 | - <value> | ||
| 1063 | - <name>xl_dir</name> | ||
| 1064 | - <rename>sxx</rename> | ||
| 1065 | - <update>Y</update> | ||
| 1066 | - </value> | ||
| 1067 | - <value> | ||
| 1068 | - <name>isfb</name> | ||
| 1069 | - <rename>isfb</rename> | ||
| 1070 | - <update>Y</update> | ||
| 1071 | - </value> | ||
| 1072 | - <value> | ||
| 1073 | - <name>qdz_code</name> | ||
| 1074 | - <rename>qdzcode</rename> | ||
| 1075 | - <update>Y</update> | ||
| 1076 | - </value> | ||
| 1077 | - <value> | ||
| 1078 | - <name>qdz_name</name> | ||
| 1079 | - <rename>qdzname</rename> | ||
| 1080 | - <update>Y</update> | ||
| 1081 | - </value> | ||
| 1082 | - <value> | ||
| 1083 | - <name>zdz_code</name> | ||
| 1084 | - <rename>zdzcode</rename> | ||
| 1085 | - <update>Y</update> | ||
| 1086 | - </value> | ||
| 1087 | - <value> | ||
| 1088 | - <name>zdz_name</name> | ||
| 1089 | - <rename>zdzname</rename> | ||
| 1090 | - <update>Y</update> | ||
| 1091 | - </value> | ||
| 1092 | - <value> | ||
| 1093 | - <name>ists</name> | ||
| 1094 | - <rename>ists</rename> | ||
| 1095 | - <update>Y</update> | ||
| 1096 | - </value> | ||
| 1097 | - </lookup> | ||
| 1098 | - <cluster_schema/> | ||
| 1099 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1100 | - <xloc>143</xloc> | ||
| 1101 | - <yloc>860</yloc> | ||
| 1102 | - <draw>Y</draw> | ||
| 1103 | - </GUI> | ||
| 1104 | - </step> | ||
| 1105 | - | ||
| 1106 | - <step> | ||
| 1107 | - <name>插入/更新bsth_c_s_ttinfo_detail 2</name> | ||
| 1108 | - <type>InsertUpdate</type> | ||
| 1109 | - <description/> | ||
| 1110 | - <distribute>Y</distribute> | ||
| 1111 | - <custom_distribution/> | ||
| 1112 | - <copies>1</copies> | ||
| 1113 | - <partitioning> | ||
| 1114 | - <method>none</method> | ||
| 1115 | - <schema_name/> | ||
| 1116 | - </partitioning> | ||
| 1117 | - <connection>bus_control_variable</connection> | ||
| 1118 | - <commit>100</commit> | ||
| 1119 | - <update_bypassed>N</update_bypassed> | ||
| 1120 | - <lookup> | ||
| 1121 | - <schema/> | ||
| 1122 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 1123 | - <key> | ||
| 1124 | - <name>xlid</name> | ||
| 1125 | - <field>xl</field> | ||
| 1126 | - <condition>=</condition> | ||
| 1127 | - <name2/> | ||
| 1128 | - </key> | ||
| 1129 | - <key> | ||
| 1130 | - <name>ttid</name> | ||
| 1131 | - <field>ttinfo</field> | ||
| 1132 | - <condition>=</condition> | ||
| 1133 | - <name2/> | ||
| 1134 | - </key> | ||
| 1135 | - <key> | ||
| 1136 | - <name>lpid</name> | ||
| 1137 | - <field>lp</field> | ||
| 1138 | - <condition>=</condition> | ||
| 1139 | - <name2/> | ||
| 1140 | - </key> | ||
| 1141 | - <key> | ||
| 1142 | - <name>fcno</name> | ||
| 1143 | - <field>fcno</field> | ||
| 1144 | - <condition>=</condition> | ||
| 1145 | - <name2/> | ||
| 1146 | - </key> | ||
| 1147 | - <key> | ||
| 1148 | - <name>bcs</name> | ||
| 1149 | - <field>bcs</field> | ||
| 1150 | - <condition>=</condition> | ||
| 1151 | - <name2/> | ||
| 1152 | - </key> | ||
| 1153 | - <value> | ||
| 1154 | - <name>tcc</name> | ||
| 1155 | - <rename>qdzid</rename> | ||
| 1156 | - <update>Y</update> | ||
| 1157 | - </value> | ||
| 1158 | - <value> | ||
| 1159 | - <name>zdz</name> | ||
| 1160 | - <rename>zdzid</rename> | ||
| 1161 | - <update>Y</update> | ||
| 1162 | - </value> | ||
| 1163 | - <value> | ||
| 1164 | - <name>xl</name> | ||
| 1165 | - <rename>xlid</rename> | ||
| 1166 | - <update>Y</update> | ||
| 1167 | - </value> | ||
| 1168 | - <value> | ||
| 1169 | - <name>ttinfo</name> | ||
| 1170 | - <rename>ttid</rename> | ||
| 1171 | - <update>Y</update> | ||
| 1172 | - </value> | ||
| 1173 | - <value> | ||
| 1174 | - <name>xl_dir</name> | ||
| 1175 | - <rename>sxx</rename> | ||
| 1176 | - <update>Y</update> | ||
| 1177 | - </value> | ||
| 1178 | - <value> | ||
| 1179 | - <name>lp</name> | ||
| 1180 | - <rename>lpid</rename> | ||
| 1181 | - <update>Y</update> | ||
| 1182 | - </value> | ||
| 1183 | - <value> | ||
| 1184 | - <name>jhlc</name> | ||
| 1185 | - <rename>out_mileage</rename> | ||
| 1186 | - <update>Y</update> | ||
| 1187 | - </value> | ||
| 1188 | - <value> | ||
| 1189 | - <name>fcsj</name> | ||
| 1190 | - <rename>sendtime_calcu</rename> | ||
| 1191 | - <update>Y</update> | ||
| 1192 | - </value> | ||
| 1193 | - <value> | ||
| 1194 | - <name>bcsj</name> | ||
| 1195 | - <rename>out_time</rename> | ||
| 1196 | - <update>Y</update> | ||
| 1197 | - </value> | ||
| 1198 | - <value> | ||
| 1199 | - <name>bcs</name> | ||
| 1200 | - <rename>bcs</rename> | ||
| 1201 | - <update>Y</update> | ||
| 1202 | - </value> | ||
| 1203 | - <value> | ||
| 1204 | - <name>fcno</name> | ||
| 1205 | - <rename>fcno</rename> | ||
| 1206 | - <update>Y</update> | ||
| 1207 | - </value> | ||
| 1208 | - <value> | ||
| 1209 | - <name>bc_type</name> | ||
| 1210 | - <rename>bctype_code</rename> | ||
| 1211 | - <update>Y</update> | ||
| 1212 | - </value> | ||
| 1213 | - <value> | ||
| 1214 | - <name>isfb</name> | ||
| 1215 | - <rename>isfb</rename> | ||
| 1216 | - <update>Y</update> | ||
| 1217 | - </value> | ||
| 1218 | - <value> | ||
| 1219 | - <name>qdz_code</name> | ||
| 1220 | - <rename>qdzcode</rename> | ||
| 1221 | - <update>Y</update> | ||
| 1222 | - </value> | ||
| 1223 | - <value> | ||
| 1224 | - <name>qdz_name</name> | ||
| 1225 | - <rename>tn</rename> | ||
| 1226 | - <update>Y</update> | ||
| 1227 | - </value> | ||
| 1228 | - <value> | ||
| 1229 | - <name>zdz_code</name> | ||
| 1230 | - <rename>zdzcode</rename> | ||
| 1231 | - <update>Y</update> | ||
| 1232 | - </value> | ||
| 1233 | - <value> | ||
| 1234 | - <name>zdz_name</name> | ||
| 1235 | - <rename>zdzname</rename> | ||
| 1236 | - <update>Y</update> | ||
| 1237 | - </value> | ||
| 1238 | - <value> | ||
| 1239 | - <name>ists</name> | ||
| 1240 | - <rename>ists</rename> | ||
| 1241 | - <update>Y</update> | ||
| 1242 | - </value> | ||
| 1243 | - </lookup> | ||
| 1244 | - <cluster_schema/> | ||
| 1245 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1246 | - <xloc>340</xloc> | ||
| 1247 | - <yloc>1087</yloc> | ||
| 1248 | - <draw>Y</draw> | ||
| 1249 | - </GUI> | ||
| 1250 | - </step> | ||
| 1251 | - | ||
| 1252 | - <step> | ||
| 1253 | - <name>插入/更新bsth_c_s_ttinfo_detail 3</name> | ||
| 1254 | - <type>InsertUpdate</type> | ||
| 1255 | - <description/> | ||
| 1256 | - <distribute>Y</distribute> | ||
| 1257 | - <custom_distribution/> | ||
| 1258 | - <copies>1</copies> | ||
| 1259 | - <partitioning> | ||
| 1260 | - <method>none</method> | ||
| 1261 | - <schema_name/> | ||
| 1262 | - </partitioning> | ||
| 1263 | - <connection>bus_control_variable</connection> | ||
| 1264 | - <commit>100</commit> | ||
| 1265 | - <update_bypassed>N</update_bypassed> | ||
| 1266 | - <lookup> | ||
| 1267 | - <schema/> | ||
| 1268 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 1269 | - <key> | ||
| 1270 | - <name>xlid</name> | ||
| 1271 | - <field>xl</field> | ||
| 1272 | - <condition>=</condition> | ||
| 1273 | - <name2/> | ||
| 1274 | - </key> | ||
| 1275 | - <key> | ||
| 1276 | - <name>ttid</name> | ||
| 1277 | - <field>ttinfo</field> | ||
| 1278 | - <condition>=</condition> | ||
| 1279 | - <name2/> | ||
| 1280 | - </key> | ||
| 1281 | - <key> | ||
| 1282 | - <name>lpid</name> | ||
| 1283 | - <field>lp</field> | ||
| 1284 | - <condition>=</condition> | ||
| 1285 | - <name2/> | ||
| 1286 | - </key> | ||
| 1287 | - <key> | ||
| 1288 | - <name>fcno</name> | ||
| 1289 | - <field>fcno</field> | ||
| 1290 | - <condition>=</condition> | ||
| 1291 | - <name2/> | ||
| 1292 | - </key> | ||
| 1293 | - <key> | ||
| 1294 | - <name>bcs</name> | ||
| 1295 | - <field>bcs</field> | ||
| 1296 | - <condition>=</condition> | ||
| 1297 | - <name2/> | ||
| 1298 | - </key> | ||
| 1299 | - <value> | ||
| 1300 | - <name>fcno</name> | ||
| 1301 | - <rename>fcno</rename> | ||
| 1302 | - <update>Y</update> | ||
| 1303 | - </value> | ||
| 1304 | - <value> | ||
| 1305 | - <name>bcs</name> | ||
| 1306 | - <rename>bcs</rename> | ||
| 1307 | - <update>Y</update> | ||
| 1308 | - </value> | ||
| 1309 | - <value> | ||
| 1310 | - <name>xl</name> | ||
| 1311 | - <rename>xlid</rename> | ||
| 1312 | - <update>Y</update> | ||
| 1313 | - </value> | ||
| 1314 | - <value> | ||
| 1315 | - <name>ttinfo</name> | ||
| 1316 | - <rename>ttid</rename> | ||
| 1317 | - <update>Y</update> | ||
| 1318 | - </value> | ||
| 1319 | - <value> | ||
| 1320 | - <name>lp</name> | ||
| 1321 | - <rename>lpid</rename> | ||
| 1322 | - <update>Y</update> | ||
| 1323 | - </value> | ||
| 1324 | - <value> | ||
| 1325 | - <name>bc_type</name> | ||
| 1326 | - <rename>bctype_code</rename> | ||
| 1327 | - <update>Y</update> | ||
| 1328 | - </value> | ||
| 1329 | - <value> | ||
| 1330 | - <name>bcsj</name> | ||
| 1331 | - <rename>parade_time</rename> | ||
| 1332 | - <update>Y</update> | ||
| 1333 | - </value> | ||
| 1334 | - <value> | ||
| 1335 | - <name>jhlc</name> | ||
| 1336 | - <rename>parade_mileage</rename> | ||
| 1337 | - <update>Y</update> | ||
| 1338 | - </value> | ||
| 1339 | - <value> | ||
| 1340 | - <name>fcsj</name> | ||
| 1341 | - <rename>sendtime_calcu</rename> | ||
| 1342 | - <update>Y</update> | ||
| 1343 | - </value> | ||
| 1344 | - <value> | ||
| 1345 | - <name>xl_dir</name> | ||
| 1346 | - <rename>sxx2</rename> | ||
| 1347 | - <update>Y</update> | ||
| 1348 | - </value> | ||
| 1349 | - <value> | ||
| 1350 | - <name>qdz</name> | ||
| 1351 | - <rename>qdzid</rename> | ||
| 1352 | - <update>Y</update> | ||
| 1353 | - </value> | ||
| 1354 | - <value> | ||
| 1355 | - <name>tcc</name> | ||
| 1356 | - <rename>zdzid</rename> | ||
| 1357 | - <update>Y</update> | ||
| 1358 | - </value> | ||
| 1359 | - <value> | ||
| 1360 | - <name>isfb</name> | ||
| 1361 | - <rename>isfb</rename> | ||
| 1362 | - <update>Y</update> | ||
| 1363 | - </value> | ||
| 1364 | - <value> | ||
| 1365 | - <name>qdz_code</name> | ||
| 1366 | - <rename>qdzcode</rename> | ||
| 1367 | - <update>Y</update> | ||
| 1368 | - </value> | ||
| 1369 | - <value> | ||
| 1370 | - <name>qdz_name</name> | ||
| 1371 | - <rename>qname</rename> | ||
| 1372 | - <update>Y</update> | ||
| 1373 | - </value> | ||
| 1374 | - <value> | ||
| 1375 | - <name>zdz_code</name> | ||
| 1376 | - <rename>zdzcode</rename> | ||
| 1377 | - <update>Y</update> | ||
| 1378 | - </value> | ||
| 1379 | - <value> | ||
| 1380 | - <name>zdz_name</name> | ||
| 1381 | - <rename>tn</rename> | ||
| 1382 | - <update>Y</update> | ||
| 1383 | - </value> | ||
| 1384 | - <value> | ||
| 1385 | - <name>ists</name> | ||
| 1386 | - <rename>ists</rename> | ||
| 1387 | - <update>Y</update> | ||
| 1388 | - </value> | ||
| 1389 | - </lookup> | ||
| 1390 | - <cluster_schema/> | ||
| 1391 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1392 | - <xloc>845</xloc> | ||
| 1393 | - <yloc>899</yloc> | ||
| 1394 | - <draw>Y</draw> | ||
| 1395 | - </GUI> | ||
| 1396 | - </step> | ||
| 1397 | - | ||
| 1398 | - <step> | ||
| 1399 | - <name>时刻表明细信息Excel输入</name> | ||
| 1400 | - <type>ExcelInput</type> | ||
| 1401 | - <description/> | ||
| 1402 | - <distribute>N</distribute> | ||
| 1403 | - <custom_distribution/> | ||
| 1404 | - <copies>1</copies> | ||
| 1405 | - <partitioning> | ||
| 1406 | - <method>none</method> | ||
| 1407 | - <schema_name/> | ||
| 1408 | - </partitioning> | ||
| 1409 | - <header>Y</header> | ||
| 1410 | - <noempty>Y</noempty> | ||
| 1411 | - <stoponempty>N</stoponempty> | ||
| 1412 | - <filefield/> | ||
| 1413 | - <sheetfield/> | ||
| 1414 | - <sheetrownumfield/> | ||
| 1415 | - <rownumfield/> | ||
| 1416 | - <sheetfield/> | ||
| 1417 | - <filefield/> | ||
| 1418 | - <limit>0</limit> | ||
| 1419 | - <encoding/> | ||
| 1420 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 1421 | - <accept_filenames>N</accept_filenames> | ||
| 1422 | - <accept_field/> | ||
| 1423 | - <accept_stepname/> | ||
| 1424 | - <file> | ||
| 1425 | - <name/> | ||
| 1426 | - <filemask/> | ||
| 1427 | - <exclude_filemask/> | ||
| 1428 | - <file_required>N</file_required> | ||
| 1429 | - <include_subfolders>N</include_subfolders> | ||
| 1430 | - </file> | ||
| 1431 | - <fields> | ||
| 1432 | - </fields> | ||
| 1433 | - <sheets> | ||
| 1434 | - <sheet> | ||
| 1435 | - <name/> | ||
| 1436 | - <startrow>0</startrow> | ||
| 1437 | - <startcol>0</startcol> | ||
| 1438 | - </sheet> | ||
| 1439 | - </sheets> | ||
| 1440 | - <strict_types>N</strict_types> | ||
| 1441 | - <error_ignored>N</error_ignored> | ||
| 1442 | - <error_line_skipped>N</error_line_skipped> | ||
| 1443 | - <bad_line_files_destination_directory/> | ||
| 1444 | - <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 1445 | - <error_line_files_destination_directory/> | ||
| 1446 | - <error_line_files_extension>error</error_line_files_extension> | ||
| 1447 | - <line_number_files_destination_directory/> | ||
| 1448 | - <line_number_files_extension>line</line_number_files_extension> | ||
| 1449 | - <shortFileFieldName/> | ||
| 1450 | - <pathFieldName/> | ||
| 1451 | - <hiddenFieldName/> | ||
| 1452 | - <lastModificationTimeFieldName/> | ||
| 1453 | - <uriNameFieldName/> | ||
| 1454 | - <rootUriNameFieldName/> | ||
| 1455 | - <extensionFieldName/> | ||
| 1456 | - <sizeFieldName/> | ||
| 1457 | - <spreadsheet_type>JXL</spreadsheet_type> | ||
| 1458 | - <cluster_schema/> | ||
| 1459 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1460 | - <xloc>112</xloc> | ||
| 1461 | - <yloc>44</yloc> | ||
| 1462 | - <draw>Y</draw> | ||
| 1463 | - </GUI> | ||
| 1464 | - </step> | ||
| 1465 | - | ||
| 1466 | - <step> | ||
| 1467 | - <name>查找停车场1</name> | ||
| 1468 | - <type>DBLookup</type> | ||
| 1469 | - <description/> | ||
| 1470 | - <distribute>Y</distribute> | ||
| 1471 | - <custom_distribution/> | ||
| 1472 | - <copies>1</copies> | ||
| 1473 | - <partitioning> | ||
| 1474 | - <method>none</method> | ||
| 1475 | - <schema_name/> | ||
| 1476 | - </partitioning> | ||
| 1477 | - <connection>bus_control_variable</connection> | ||
| 1478 | - <cache>N</cache> | ||
| 1479 | - <cache_load_all>N</cache_load_all> | ||
| 1480 | - <cache_size>0</cache_size> | ||
| 1481 | - <lookup> | ||
| 1482 | - <schema/> | ||
| 1483 | - <table>bsth_c_car_park</table> | ||
| 1484 | - <orderby/> | ||
| 1485 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1486 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1487 | - <key> | ||
| 1488 | - <name>tccname_</name> | ||
| 1489 | - <field>park_name</field> | ||
| 1490 | - <condition>=</condition> | ||
| 1491 | - <name2/> | ||
| 1492 | - </key> | ||
| 1493 | - <value> | ||
| 1494 | - <name>id</name> | ||
| 1495 | - <rename>qdzid</rename> | ||
| 1496 | - <default/> | ||
| 1497 | - <type>Integer</type> | ||
| 1498 | - </value> | ||
| 1499 | - <value> | ||
| 1500 | - <name>park_code</name> | ||
| 1501 | - <rename>qdzcode</rename> | ||
| 1502 | - <default/> | ||
| 1503 | - <type>String</type> | ||
| 1504 | - </value> | ||
| 1505 | - <value> | ||
| 1506 | - <name>park_name</name> | ||
| 1507 | - <rename>tn</rename> | ||
| 1508 | - <default/> | ||
| 1509 | - <type>String</type> | ||
| 1510 | - </value> | ||
| 1511 | - </lookup> | ||
| 1512 | - <cluster_schema/> | ||
| 1513 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1514 | - <xloc>755</xloc> | ||
| 1515 | - <yloc>504</yloc> | ||
| 1516 | - <draw>Y</draw> | ||
| 1517 | - </GUI> | ||
| 1518 | - </step> | ||
| 1519 | - | ||
| 1520 | - <step> | ||
| 1521 | - <name>查找停车场2</name> | ||
| 1522 | - <type>DBLookup</type> | ||
| 1523 | - <description/> | ||
| 1524 | - <distribute>Y</distribute> | ||
| 1525 | - <custom_distribution/> | ||
| 1526 | - <copies>1</copies> | ||
| 1527 | - <partitioning> | ||
| 1528 | - <method>none</method> | ||
| 1529 | - <schema_name/> | ||
| 1530 | - </partitioning> | ||
| 1531 | - <connection>bus_control_variable</connection> | ||
| 1532 | - <cache>N</cache> | ||
| 1533 | - <cache_load_all>N</cache_load_all> | ||
| 1534 | - <cache_size>0</cache_size> | ||
| 1535 | - <lookup> | ||
| 1536 | - <schema/> | ||
| 1537 | - <table>bsth_c_car_park</table> | ||
| 1538 | - <orderby/> | ||
| 1539 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1540 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1541 | - <key> | ||
| 1542 | - <name>tccname_</name> | ||
| 1543 | - <field>park_name</field> | ||
| 1544 | - <condition>=</condition> | ||
| 1545 | - <name2/> | ||
| 1546 | - </key> | ||
| 1547 | - <value> | ||
| 1548 | - <name>id</name> | ||
| 1549 | - <rename>zdzid</rename> | ||
| 1550 | - <default/> | ||
| 1551 | - <type>Integer</type> | ||
| 1552 | - </value> | ||
| 1553 | - <value> | ||
| 1554 | - <name>park_code</name> | ||
| 1555 | - <rename>zdzcode</rename> | ||
| 1556 | - <default/> | ||
| 1557 | - <type>String</type> | ||
| 1558 | - </value> | ||
| 1559 | - <value> | ||
| 1560 | - <name>park_name</name> | ||
| 1561 | - <rename>tn</rename> | ||
| 1562 | - <default/> | ||
| 1563 | - <type>String</type> | ||
| 1564 | - </value> | ||
| 1565 | - </lookup> | ||
| 1566 | - <cluster_schema/> | ||
| 1567 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1568 | - <xloc>887</xloc> | ||
| 1569 | - <yloc>608</yloc> | ||
| 1570 | - <draw>Y</draw> | ||
| 1571 | - </GUI> | ||
| 1572 | - </step> | ||
| 1573 | - | ||
| 1574 | - <step> | ||
| 1575 | - <name>查找出场终点站关联并确定上下行</name> | ||
| 1576 | - <type>DBLookup</type> | ||
| 1577 | - <description/> | ||
| 1578 | - <distribute>Y</distribute> | ||
| 1579 | - <custom_distribution/> | ||
| 1580 | - <copies>1</copies> | ||
| 1581 | - <partitioning> | ||
| 1582 | - <method>none</method> | ||
| 1583 | - <schema_name/> | ||
| 1584 | - </partitioning> | ||
| 1585 | - <connection>bus_control_variable</connection> | ||
| 1586 | - <cache>N</cache> | ||
| 1587 | - <cache_load_all>N</cache_load_all> | ||
| 1588 | - <cache_size>0</cache_size> | ||
| 1589 | - <lookup> | ||
| 1590 | - <schema/> | ||
| 1591 | - <table>bsth_c_stationroute</table> | ||
| 1592 | - <orderby/> | ||
| 1593 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1594 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1595 | - <key> | ||
| 1596 | - <name>xlid</name> | ||
| 1597 | - <field>line</field> | ||
| 1598 | - <condition>=</condition> | ||
| 1599 | - <name2/> | ||
| 1600 | - </key> | ||
| 1601 | - <key> | ||
| 1602 | - <name>zdzname</name> | ||
| 1603 | - <field>station_name</field> | ||
| 1604 | - <condition>=</condition> | ||
| 1605 | - <name2/> | ||
| 1606 | - </key> | ||
| 1607 | - <key> | ||
| 1608 | - <name>endZdtype</name> | ||
| 1609 | - <field>station_mark</field> | ||
| 1610 | - <condition>=</condition> | ||
| 1611 | - <name2/> | ||
| 1612 | - </key> | ||
| 1613 | - <key> | ||
| 1614 | - <name>destory</name> | ||
| 1615 | - <field>destroy</field> | ||
| 1616 | - <condition>=</condition> | ||
| 1617 | - <name2/> | ||
| 1618 | - </key> | ||
| 1619 | - <value> | ||
| 1620 | - <name>station</name> | ||
| 1621 | - <rename>zdzid</rename> | ||
| 1622 | - <default/> | ||
| 1623 | - <type>Integer</type> | ||
| 1624 | - </value> | ||
| 1625 | - <value> | ||
| 1626 | - <name>directions</name> | ||
| 1627 | - <rename>sxx</rename> | ||
| 1628 | - <default/> | ||
| 1629 | - <type>Integer</type> | ||
| 1630 | - </value> | ||
| 1631 | - <value> | ||
| 1632 | - <name>station_code</name> | ||
| 1633 | - <rename>zdzcode</rename> | ||
| 1634 | - <default/> | ||
| 1635 | - <type>String</type> | ||
| 1636 | - </value> | ||
| 1637 | - </lookup> | ||
| 1638 | - <cluster_schema/> | ||
| 1639 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1640 | - <xloc>329</xloc> | ||
| 1641 | - <yloc>505</yloc> | ||
| 1642 | - <draw>Y</draw> | ||
| 1643 | - </GUI> | ||
| 1644 | - </step> | ||
| 1645 | - | ||
| 1646 | - <step> | ||
| 1647 | - <name>查找时刻表基础信息关联</name> | ||
| 1648 | - <type>DBLookup</type> | ||
| 1649 | - <description/> | ||
| 1650 | - <distribute>Y</distribute> | ||
| 1651 | - <custom_distribution/> | ||
| 1652 | - <copies>1</copies> | ||
| 1653 | - <partitioning> | ||
| 1654 | - <method>none</method> | ||
| 1655 | - <schema_name/> | ||
| 1656 | - </partitioning> | ||
| 1657 | - <connection>bus_control_variable</connection> | ||
| 1658 | - <cache>N</cache> | ||
| 1659 | - <cache_load_all>N</cache_load_all> | ||
| 1660 | - <cache_size>0</cache_size> | ||
| 1661 | - <lookup> | ||
| 1662 | - <schema/> | ||
| 1663 | - <table>bsth_c_s_ttinfo</table> | ||
| 1664 | - <orderby/> | ||
| 1665 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1666 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1667 | - <key> | ||
| 1668 | - <name>xlid</name> | ||
| 1669 | - <field>xl</field> | ||
| 1670 | - <condition>=</condition> | ||
| 1671 | - <name2/> | ||
| 1672 | - </key> | ||
| 1673 | - <key> | ||
| 1674 | - <name>ttinfoname_</name> | ||
| 1675 | - <field>name</field> | ||
| 1676 | - <condition>=</condition> | ||
| 1677 | - <name2/> | ||
| 1678 | - </key> | ||
| 1679 | - <key> | ||
| 1680 | - <name>iscanceled</name> | ||
| 1681 | - <field>is_cancel</field> | ||
| 1682 | - <condition>=</condition> | ||
| 1683 | - <name2/> | ||
| 1684 | - </key> | ||
| 1685 | - <value> | ||
| 1686 | - <name>id</name> | ||
| 1687 | - <rename>ttid</rename> | ||
| 1688 | - <default/> | ||
| 1689 | - <type>Integer</type> | ||
| 1690 | - </value> | ||
| 1691 | - </lookup> | ||
| 1692 | - <cluster_schema/> | ||
| 1693 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1694 | - <xloc>1011</xloc> | ||
| 1695 | - <yloc>134</yloc> | ||
| 1696 | - <draw>Y</draw> | ||
| 1697 | - </GUI> | ||
| 1698 | - </step> | ||
| 1699 | - | ||
| 1700 | - <step> | ||
| 1701 | - <name>查找线路关联</name> | ||
| 1702 | - <type>DBLookup</type> | ||
| 1703 | - <description/> | ||
| 1704 | - <distribute>Y</distribute> | ||
| 1705 | - <custom_distribution/> | ||
| 1706 | - <copies>1</copies> | ||
| 1707 | - <partitioning> | ||
| 1708 | - <method>none</method> | ||
| 1709 | - <schema_name/> | ||
| 1710 | - </partitioning> | ||
| 1711 | - <connection>bus_control_variable</connection> | ||
| 1712 | - <cache>N</cache> | ||
| 1713 | - <cache_load_all>N</cache_load_all> | ||
| 1714 | - <cache_size>0</cache_size> | ||
| 1715 | - <lookup> | ||
| 1716 | - <schema/> | ||
| 1717 | - <table>bsth_c_line</table> | ||
| 1718 | - <orderby/> | ||
| 1719 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1720 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1721 | - <key> | ||
| 1722 | - <name>xlname_</name> | ||
| 1723 | - <field>name</field> | ||
| 1724 | - <condition>=</condition> | ||
| 1725 | - <name2/> | ||
| 1726 | - </key> | ||
| 1727 | - <key> | ||
| 1728 | - <name>iscanceled</name> | ||
| 1729 | - <field>destroy</field> | ||
| 1730 | - <condition>=</condition> | ||
| 1731 | - <name2/> | ||
| 1732 | - </key> | ||
| 1733 | - <value> | ||
| 1734 | - <name>id</name> | ||
| 1735 | - <rename>xlid</rename> | ||
| 1736 | - <default/> | ||
| 1737 | - <type>Integer</type> | ||
| 1738 | - </value> | ||
| 1739 | - </lookup> | ||
| 1740 | - <cluster_schema/> | ||
| 1741 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1742 | - <xloc>1007</xloc> | ||
| 1743 | - <yloc>43</yloc> | ||
| 1744 | - <draw>Y</draw> | ||
| 1745 | - </GUI> | ||
| 1746 | - </step> | ||
| 1747 | - | ||
| 1748 | - <step> | ||
| 1749 | - <name>查找线路出场里程时间</name> | ||
| 1750 | - <type>DBLookup</type> | ||
| 1751 | - <description/> | ||
| 1752 | - <distribute>Y</distribute> | ||
| 1753 | - <custom_distribution/> | ||
| 1754 | - <copies>1</copies> | ||
| 1755 | - <partitioning> | ||
| 1756 | - <method>none</method> | ||
| 1757 | - <schema_name/> | ||
| 1758 | - </partitioning> | ||
| 1759 | - <connection>bus_control_variable</connection> | ||
| 1760 | - <cache>N</cache> | ||
| 1761 | - <cache_load_all>N</cache_load_all> | ||
| 1762 | - <cache_size>0</cache_size> | ||
| 1763 | - <lookup> | ||
| 1764 | - <schema/> | ||
| 1765 | - <table>bsth_c_line_information</table> | ||
| 1766 | - <orderby/> | ||
| 1767 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1768 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1769 | - <key> | ||
| 1770 | - <name>xlid</name> | ||
| 1771 | - <field>line</field> | ||
| 1772 | - <condition>=</condition> | ||
| 1773 | - <name2/> | ||
| 1774 | - </key> | ||
| 1775 | - <value> | ||
| 1776 | - <name>up_out_timer</name> | ||
| 1777 | - <rename>up_out_timer</rename> | ||
| 1778 | - <default/> | ||
| 1779 | - <type>Number</type> | ||
| 1780 | - </value> | ||
| 1781 | - <value> | ||
| 1782 | - <name>up_out_mileage</name> | ||
| 1783 | - <rename>up_out_mileage</rename> | ||
| 1784 | - <default/> | ||
| 1785 | - <type>Number</type> | ||
| 1786 | - </value> | ||
| 1787 | - <value> | ||
| 1788 | - <name>down_out_timer</name> | ||
| 1789 | - <rename>down_out_timer</rename> | ||
| 1790 | - <default/> | ||
| 1791 | - <type>Number</type> | ||
| 1792 | - </value> | ||
| 1793 | - <value> | ||
| 1794 | - <name>down_out_mileage</name> | ||
| 1795 | - <rename>down_out_mileage</rename> | ||
| 1796 | - <default/> | ||
| 1797 | - <type>Number</type> | ||
| 1798 | - </value> | ||
| 1799 | - </lookup> | ||
| 1800 | - <cluster_schema/> | ||
| 1801 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1802 | - <xloc>335</xloc> | ||
| 1803 | - <yloc>763</yloc> | ||
| 1804 | - <draw>Y</draw> | ||
| 1805 | - </GUI> | ||
| 1806 | - </step> | ||
| 1807 | - | ||
| 1808 | - <step> | ||
| 1809 | - <name>查找线路所有上下行里程时间</name> | ||
| 1810 | - <type>DBLookup</type> | ||
| 1811 | - <description/> | ||
| 1812 | - <distribute>Y</distribute> | ||
| 1813 | - <custom_distribution/> | ||
| 1814 | - <copies>1</copies> | ||
| 1815 | - <partitioning> | ||
| 1816 | - <method>none</method> | ||
| 1817 | - <schema_name/> | ||
| 1818 | - </partitioning> | ||
| 1819 | - <connection>bus_control_variable</connection> | ||
| 1820 | - <cache>N</cache> | ||
| 1821 | - <cache_load_all>N</cache_load_all> | ||
| 1822 | - <cache_size>0</cache_size> | ||
| 1823 | - <lookup> | ||
| 1824 | - <schema/> | ||
| 1825 | - <table>bsth_c_line_information</table> | ||
| 1826 | - <orderby/> | ||
| 1827 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1828 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1829 | - <key> | ||
| 1830 | - <name>xlid</name> | ||
| 1831 | - <field>line</field> | ||
| 1832 | - <condition>=</condition> | ||
| 1833 | - <name2/> | ||
| 1834 | - </key> | ||
| 1835 | - <value> | ||
| 1836 | - <name>up_mileage</name> | ||
| 1837 | - <rename>up_mileage</rename> | ||
| 1838 | - <default/> | ||
| 1839 | - <type>Number</type> | ||
| 1840 | - </value> | ||
| 1841 | - <value> | ||
| 1842 | - <name>down_mileage</name> | ||
| 1843 | - <rename>down_mileage</rename> | ||
| 1844 | - <default/> | ||
| 1845 | - <type>Number</type> | ||
| 1846 | - </value> | ||
| 1847 | - <value> | ||
| 1848 | - <name>up_travel_time</name> | ||
| 1849 | - <rename>up_travel_time</rename> | ||
| 1850 | - <default/> | ||
| 1851 | - <type>Number</type> | ||
| 1852 | - </value> | ||
| 1853 | - <value> | ||
| 1854 | - <name>down_travel_time</name> | ||
| 1855 | - <rename>down_travel_time</rename> | ||
| 1856 | - <default/> | ||
| 1857 | - <type>Number</type> | ||
| 1858 | - </value> | ||
| 1859 | - <value> | ||
| 1860 | - <name>early_start_time</name> | ||
| 1861 | - <rename>early_start_time</rename> | ||
| 1862 | - <default/> | ||
| 1863 | - <type>String</type> | ||
| 1864 | - </value> | ||
| 1865 | - <value> | ||
| 1866 | - <name>early_end_time</name> | ||
| 1867 | - <rename>early_end_time</rename> | ||
| 1868 | - <default/> | ||
| 1869 | - <type>String</type> | ||
| 1870 | - </value> | ||
| 1871 | - <value> | ||
| 1872 | - <name>early_up_time</name> | ||
| 1873 | - <rename>early_up_time</rename> | ||
| 1874 | - <default/> | ||
| 1875 | - <type>Number</type> | ||
| 1876 | - </value> | ||
| 1877 | - <value> | ||
| 1878 | - <name>early_down_time</name> | ||
| 1879 | - <rename>early_down_time</rename> | ||
| 1880 | - <default/> | ||
| 1881 | - <type>Number</type> | ||
| 1882 | - </value> | ||
| 1883 | - <value> | ||
| 1884 | - <name>late_start_time</name> | ||
| 1885 | - <rename>late_start_time</rename> | ||
| 1886 | - <default/> | ||
| 1887 | - <type>String</type> | ||
| 1888 | - </value> | ||
| 1889 | - <value> | ||
| 1890 | - <name>late_end_time</name> | ||
| 1891 | - <rename>late_end_time</rename> | ||
| 1892 | - <default/> | ||
| 1893 | - <type>String</type> | ||
| 1894 | - </value> | ||
| 1895 | - <value> | ||
| 1896 | - <name>late_up_time</name> | ||
| 1897 | - <rename>late_up_time</rename> | ||
| 1898 | - <default/> | ||
| 1899 | - <type>Number</type> | ||
| 1900 | - </value> | ||
| 1901 | - <value> | ||
| 1902 | - <name>late_down_time</name> | ||
| 1903 | - <rename>late_down_time</rename> | ||
| 1904 | - <default/> | ||
| 1905 | - <type>Number</type> | ||
| 1906 | - </value> | ||
| 1907 | - </lookup> | ||
| 1908 | - <cluster_schema/> | ||
| 1909 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1910 | - <xloc>149</xloc> | ||
| 1911 | - <yloc>581</yloc> | ||
| 1912 | - <draw>Y</draw> | ||
| 1913 | - </GUI> | ||
| 1914 | - </step> | ||
| 1915 | - | ||
| 1916 | - <step> | ||
| 1917 | - <name>查找线路进场里程时间</name> | ||
| 1918 | - <type>DBLookup</type> | ||
| 1919 | - <description/> | ||
| 1920 | - <distribute>Y</distribute> | ||
| 1921 | - <custom_distribution/> | ||
| 1922 | - <copies>1</copies> | ||
| 1923 | - <partitioning> | ||
| 1924 | - <method>none</method> | ||
| 1925 | - <schema_name/> | ||
| 1926 | - </partitioning> | ||
| 1927 | - <connection>bus_control_variable</connection> | ||
| 1928 | - <cache>N</cache> | ||
| 1929 | - <cache_load_all>N</cache_load_all> | ||
| 1930 | - <cache_size>0</cache_size> | ||
| 1931 | - <lookup> | ||
| 1932 | - <schema/> | ||
| 1933 | - <table>bsth_c_line_information</table> | ||
| 1934 | - <orderby/> | ||
| 1935 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1936 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1937 | - <key> | ||
| 1938 | - <name>xlid</name> | ||
| 1939 | - <field>line</field> | ||
| 1940 | - <condition>=</condition> | ||
| 1941 | - <name2/> | ||
| 1942 | - </key> | ||
| 1943 | - <value> | ||
| 1944 | - <name>up_in_mileage</name> | ||
| 1945 | - <rename>up_in_mileage</rename> | ||
| 1946 | - <default/> | ||
| 1947 | - <type>Number</type> | ||
| 1948 | - </value> | ||
| 1949 | - <value> | ||
| 1950 | - <name>up_in_timer</name> | ||
| 1951 | - <rename>up_in_timer</rename> | ||
| 1952 | - <default/> | ||
| 1953 | - <type>Number</type> | ||
| 1954 | - </value> | ||
| 1955 | - <value> | ||
| 1956 | - <name>down_in_mileage</name> | ||
| 1957 | - <rename>down_in_mileage</rename> | ||
| 1958 | - <default/> | ||
| 1959 | - <type>Number</type> | ||
| 1960 | - </value> | ||
| 1961 | - <value> | ||
| 1962 | - <name>down_in_timer</name> | ||
| 1963 | - <rename>down_in_timer</rename> | ||
| 1964 | - <default/> | ||
| 1965 | - <type>Number</type> | ||
| 1966 | - </value> | ||
| 1967 | - </lookup> | ||
| 1968 | - <cluster_schema/> | ||
| 1969 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1970 | - <xloc>553</xloc> | ||
| 1971 | - <yloc>1004</yloc> | ||
| 1972 | - <draw>Y</draw> | ||
| 1973 | - </GUI> | ||
| 1974 | - </step> | ||
| 1975 | - | ||
| 1976 | - <step> | ||
| 1977 | - <name>查找终点站关联</name> | ||
| 1978 | - <type>DBLookup</type> | ||
| 1979 | - <description/> | ||
| 1980 | - <distribute>Y</distribute> | ||
| 1981 | - <custom_distribution/> | ||
| 1982 | - <copies>1</copies> | ||
| 1983 | - <partitioning> | ||
| 1984 | - <method>none</method> | ||
| 1985 | - <schema_name/> | ||
| 1986 | - </partitioning> | ||
| 1987 | - <connection>bus_control_variable</connection> | ||
| 1988 | - <cache>N</cache> | ||
| 1989 | - <cache_load_all>N</cache_load_all> | ||
| 1990 | - <cache_size>0</cache_size> | ||
| 1991 | - <lookup> | ||
| 1992 | - <schema/> | ||
| 1993 | - <table>bsth_c_stationroute</table> | ||
| 1994 | - <orderby/> | ||
| 1995 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1996 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1997 | - <key> | ||
| 1998 | - <name>xlid</name> | ||
| 1999 | - <field>line</field> | ||
| 2000 | - <condition>=</condition> | ||
| 2001 | - <name2/> | ||
| 2002 | - </key> | ||
| 2003 | - <key> | ||
| 2004 | - <name>sxx</name> | ||
| 2005 | - <field>directions</field> | ||
| 2006 | - <condition>=</condition> | ||
| 2007 | - <name2/> | ||
| 2008 | - </key> | ||
| 2009 | - <key> | ||
| 2010 | - <name>endZdtype</name> | ||
| 2011 | - <field>station_mark</field> | ||
| 2012 | - <condition>=</condition> | ||
| 2013 | - <name2/> | ||
| 2014 | - </key> | ||
| 2015 | - <key> | ||
| 2016 | - <name>destory</name> | ||
| 2017 | - <field>destroy</field> | ||
| 2018 | - <condition>=</condition> | ||
| 2019 | - <name2/> | ||
| 2020 | - </key> | ||
| 2021 | - <value> | ||
| 2022 | - <name>station_name</name> | ||
| 2023 | - <rename>zdzname</rename> | ||
| 2024 | - <default/> | ||
| 2025 | - <type>String</type> | ||
| 2026 | - </value> | ||
| 2027 | - <value> | ||
| 2028 | - <name>station</name> | ||
| 2029 | - <rename>zdzid</rename> | ||
| 2030 | - <default/> | ||
| 2031 | - <type>Integer</type> | ||
| 2032 | - </value> | ||
| 2033 | - <value> | ||
| 2034 | - <name>station_code</name> | ||
| 2035 | - <rename>zdzcode</rename> | ||
| 2036 | - <default/> | ||
| 2037 | - <type>String</type> | ||
| 2038 | - </value> | ||
| 2039 | - </lookup> | ||
| 2040 | - <cluster_schema/> | ||
| 2041 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2042 | - <xloc>280</xloc> | ||
| 2043 | - <yloc>404</yloc> | ||
| 2044 | - <draw>Y</draw> | ||
| 2045 | - </GUI> | ||
| 2046 | - </step> | ||
| 2047 | - | ||
| 2048 | - <step> | ||
| 2049 | - <name>查找起点站关联并确定上下行</name> | ||
| 2050 | - <type>DBLookup</type> | ||
| 2051 | - <description/> | ||
| 2052 | - <distribute>Y</distribute> | ||
| 2053 | - <custom_distribution/> | ||
| 2054 | - <copies>1</copies> | ||
| 2055 | - <partitioning> | ||
| 2056 | - <method>none</method> | ||
| 2057 | - <schema_name/> | ||
| 2058 | - </partitioning> | ||
| 2059 | - <connection>bus_control_variable</connection> | ||
| 2060 | - <cache>N</cache> | ||
| 2061 | - <cache_load_all>N</cache_load_all> | ||
| 2062 | - <cache_size>0</cache_size> | ||
| 2063 | - <lookup> | ||
| 2064 | - <schema/> | ||
| 2065 | - <table>bsth_c_stationroute</table> | ||
| 2066 | - <orderby/> | ||
| 2067 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2068 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2069 | - <key> | ||
| 2070 | - <name>xlid</name> | ||
| 2071 | - <field>line</field> | ||
| 2072 | - <condition>=</condition> | ||
| 2073 | - <name2/> | ||
| 2074 | - </key> | ||
| 2075 | - <key> | ||
| 2076 | - <name>qdzname</name> | ||
| 2077 | - <field>station_name</field> | ||
| 2078 | - <condition>=</condition> | ||
| 2079 | - <name2/> | ||
| 2080 | - </key> | ||
| 2081 | - <key> | ||
| 2082 | - <name>sendZdtype</name> | ||
| 2083 | - <field>station_mark</field> | ||
| 2084 | - <condition>=</condition> | ||
| 2085 | - <name2/> | ||
| 2086 | - </key> | ||
| 2087 | - <key> | ||
| 2088 | - <name>destory</name> | ||
| 2089 | - <field>destroy</field> | ||
| 2090 | - <condition>=</condition> | ||
| 2091 | - <name2/> | ||
| 2092 | - </key> | ||
| 2093 | - <value> | ||
| 2094 | - <name>station</name> | ||
| 2095 | - <rename>qdzid</rename> | ||
| 2096 | - <default/> | ||
| 2097 | - <type>Integer</type> | ||
| 2098 | - </value> | ||
| 2099 | - <value> | ||
| 2100 | - <name>directions</name> | ||
| 2101 | - <rename>sxx</rename> | ||
| 2102 | - <default/> | ||
| 2103 | - <type>Integer</type> | ||
| 2104 | - </value> | ||
| 2105 | - <value> | ||
| 2106 | - <name>station_code</name> | ||
| 2107 | - <rename>qdzcode</rename> | ||
| 2108 | - <default/> | ||
| 2109 | - <type>String</type> | ||
| 2110 | - </value> | ||
| 2111 | - </lookup> | ||
| 2112 | - <cluster_schema/> | ||
| 2113 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2114 | - <xloc>430</xloc> | ||
| 2115 | - <yloc>403</yloc> | ||
| 2116 | - <draw>Y</draw> | ||
| 2117 | - </GUI> | ||
| 2118 | - </step> | ||
| 2119 | - | ||
| 2120 | - <step> | ||
| 2121 | - <name>查找路牌关联</name> | ||
| 2122 | - <type>DBLookup</type> | ||
| 2123 | - <description/> | ||
| 2124 | - <distribute>Y</distribute> | ||
| 2125 | - <custom_distribution/> | ||
| 2126 | - <copies>1</copies> | ||
| 2127 | - <partitioning> | ||
| 2128 | - <method>none</method> | ||
| 2129 | - <schema_name/> | ||
| 2130 | - </partitioning> | ||
| 2131 | - <connection>bus_control_variable</connection> | ||
| 2132 | - <cache>N</cache> | ||
| 2133 | - <cache_load_all>N</cache_load_all> | ||
| 2134 | - <cache_size>0</cache_size> | ||
| 2135 | - <lookup> | ||
| 2136 | - <schema/> | ||
| 2137 | - <table>bsth_c_s_gbi</table> | ||
| 2138 | - <orderby/> | ||
| 2139 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2140 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2141 | - <key> | ||
| 2142 | - <name>xlid</name> | ||
| 2143 | - <field>xl</field> | ||
| 2144 | - <condition>=</condition> | ||
| 2145 | - <name2/> | ||
| 2146 | - </key> | ||
| 2147 | - <key> | ||
| 2148 | - <name>lp</name> | ||
| 2149 | - <field>lp_name</field> | ||
| 2150 | - <condition>=</condition> | ||
| 2151 | - <name2/> | ||
| 2152 | - </key> | ||
| 2153 | - <key> | ||
| 2154 | - <name>iscanceled</name> | ||
| 2155 | - <field>is_cancel</field> | ||
| 2156 | - <condition>=</condition> | ||
| 2157 | - <name2/> | ||
| 2158 | - </key> | ||
| 2159 | - <value> | ||
| 2160 | - <name>id</name> | ||
| 2161 | - <rename>lpid</rename> | ||
| 2162 | - <default/> | ||
| 2163 | - <type>Integer</type> | ||
| 2164 | - </value> | ||
| 2165 | - </lookup> | ||
| 2166 | - <cluster_schema/> | ||
| 2167 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2168 | - <xloc>1013</xloc> | ||
| 2169 | - <yloc>265</yloc> | ||
| 2170 | - <draw>Y</draw> | ||
| 2171 | - </GUI> | ||
| 2172 | - </step> | ||
| 2173 | - | ||
| 2174 | - <step> | ||
| 2175 | - <name>查找进场班次上一个班次的线路方向</name> | ||
| 2176 | - <type>DBLookup</type> | ||
| 2177 | - <description/> | ||
| 2178 | - <distribute>Y</distribute> | ||
| 2179 | - <custom_distribution/> | ||
| 2180 | - <copies>1</copies> | ||
| 2181 | - <partitioning> | ||
| 2182 | - <method>none</method> | ||
| 2183 | - <schema_name/> | ||
| 2184 | - </partitioning> | ||
| 2185 | - <connection>bus_control_variable</connection> | ||
| 2186 | - <cache>N</cache> | ||
| 2187 | - <cache_load_all>N</cache_load_all> | ||
| 2188 | - <cache_size>0</cache_size> | ||
| 2189 | - <lookup> | ||
| 2190 | - <schema/> | ||
| 2191 | - <table>bsth_c_stationroute</table> | ||
| 2192 | - <orderby/> | ||
| 2193 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2194 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2195 | - <key> | ||
| 2196 | - <name>xlid</name> | ||
| 2197 | - <field>line</field> | ||
| 2198 | - <condition>=</condition> | ||
| 2199 | - <name2/> | ||
| 2200 | - </key> | ||
| 2201 | - <key> | ||
| 2202 | - <name>startZdtype_calcu</name> | ||
| 2203 | - <field>station_mark</field> | ||
| 2204 | - <condition>=</condition> | ||
| 2205 | - <name2/> | ||
| 2206 | - </key> | ||
| 2207 | - <key> | ||
| 2208 | - <name>qdzname_calcu</name> | ||
| 2209 | - <field>station_name</field> | ||
| 2210 | - <condition>=</condition> | ||
| 2211 | - <name2/> | ||
| 2212 | - </key> | ||
| 2213 | - <key> | ||
| 2214 | - <name>destory</name> | ||
| 2215 | - <field>destroy</field> | ||
| 2216 | - <condition>=</condition> | ||
| 2217 | - <name2/> | ||
| 2218 | - </key> | ||
| 2219 | - <value> | ||
| 2220 | - <name>directions</name> | ||
| 2221 | - <rename>sxx</rename> | ||
| 2222 | - <default/> | ||
| 2223 | - <type>String</type> | ||
| 2224 | - </value> | ||
| 2225 | - </lookup> | ||
| 2226 | - <cluster_schema/> | ||
| 2227 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2228 | - <xloc>548</xloc> | ||
| 2229 | - <yloc>610</yloc> | ||
| 2230 | - <draw>Y</draw> | ||
| 2231 | - </GUI> | ||
| 2232 | - </step> | ||
| 2233 | - | ||
| 2234 | - <step> | ||
| 2235 | - <name>查找进场班次上一个班次的终点站,并作为进场班次的起点站</name> | ||
| 2236 | - <type>DBLookup</type> | ||
| 2237 | - <description/> | ||
| 2238 | - <distribute>Y</distribute> | ||
| 2239 | - <custom_distribution/> | ||
| 2240 | - <copies>1</copies> | ||
| 2241 | - <partitioning> | ||
| 2242 | - <method>none</method> | ||
| 2243 | - <schema_name/> | ||
| 2244 | - </partitioning> | ||
| 2245 | - <connection>bus_control_variable</connection> | ||
| 2246 | - <cache>Y</cache> | ||
| 2247 | - <cache_load_all>Y</cache_load_all> | ||
| 2248 | - <cache_size>0</cache_size> | ||
| 2249 | - <lookup> | ||
| 2250 | - <schema/> | ||
| 2251 | - <table>bsth_c_stationroute</table> | ||
| 2252 | - <orderby/> | ||
| 2253 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2254 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2255 | - <key> | ||
| 2256 | - <name>xlid</name> | ||
| 2257 | - <field>line</field> | ||
| 2258 | - <condition>=</condition> | ||
| 2259 | - <name2/> | ||
| 2260 | - </key> | ||
| 2261 | - <key> | ||
| 2262 | - <name>endZdtype_calcu</name> | ||
| 2263 | - <field>station_mark</field> | ||
| 2264 | - <condition>=</condition> | ||
| 2265 | - <name2/> | ||
| 2266 | - </key> | ||
| 2267 | - <key> | ||
| 2268 | - <name>sxx</name> | ||
| 2269 | - <field>directions</field> | ||
| 2270 | - <condition>=</condition> | ||
| 2271 | - <name2/> | ||
| 2272 | - </key> | ||
| 2273 | - <key> | ||
| 2274 | - <name>destory</name> | ||
| 2275 | - <field>destroy</field> | ||
| 2276 | - <condition>=</condition> | ||
| 2277 | - <name2/> | ||
| 2278 | - </key> | ||
| 2279 | - <value> | ||
| 2280 | - <name>station_name</name> | ||
| 2281 | - <rename>zdzname_calcu</rename> | ||
| 2282 | - <default/> | ||
| 2283 | - <type>Integer</type> | ||
| 2284 | - </value> | ||
| 2285 | - </lookup> | ||
| 2286 | - <cluster_schema/> | ||
| 2287 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2288 | - <xloc>550</xloc> | ||
| 2289 | - <yloc>701</yloc> | ||
| 2290 | - <draw>Y</draw> | ||
| 2291 | - </GUI> | ||
| 2292 | - </step> | ||
| 2293 | - | ||
| 2294 | - <step> | ||
| 2295 | - <name>查找进场起点站关联确定上下行</name> | ||
| 2296 | - <type>DBLookup</type> | ||
| 2297 | - <description/> | ||
| 2298 | - <distribute>Y</distribute> | ||
| 2299 | - <custom_distribution/> | ||
| 2300 | - <copies>1</copies> | ||
| 2301 | - <partitioning> | ||
| 2302 | - <method>none</method> | ||
| 2303 | - <schema_name/> | ||
| 2304 | - </partitioning> | ||
| 2305 | - <connection>bus_control_variable</connection> | ||
| 2306 | - <cache>N</cache> | ||
| 2307 | - <cache_load_all>N</cache_load_all> | ||
| 2308 | - <cache_size>0</cache_size> | ||
| 2309 | - <lookup> | ||
| 2310 | - <schema/> | ||
| 2311 | - <table>bsth_c_stationroute</table> | ||
| 2312 | - <orderby/> | ||
| 2313 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2314 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2315 | - <key> | ||
| 2316 | - <name>xlid</name> | ||
| 2317 | - <field>line</field> | ||
| 2318 | - <condition>=</condition> | ||
| 2319 | - <name2/> | ||
| 2320 | - </key> | ||
| 2321 | - <key> | ||
| 2322 | - <name>zdzname_calcu</name> | ||
| 2323 | - <field>station_name</field> | ||
| 2324 | - <condition>=</condition> | ||
| 2325 | - <name2/> | ||
| 2326 | - </key> | ||
| 2327 | - <key> | ||
| 2328 | - <name>startZdtype_calcu</name> | ||
| 2329 | - <field>station_mark</field> | ||
| 2330 | - <condition>=</condition> | ||
| 2331 | - <name2/> | ||
| 2332 | - </key> | ||
| 2333 | - <key> | ||
| 2334 | - <name>destory</name> | ||
| 2335 | - <field>destroy</field> | ||
| 2336 | - <condition>=</condition> | ||
| 2337 | - <name2/> | ||
| 2338 | - </key> | ||
| 2339 | - <value> | ||
| 2340 | - <name>directions</name> | ||
| 2341 | - <rename>sxx2</rename> | ||
| 2342 | - <default/> | ||
| 2343 | - <type>Integer</type> | ||
| 2344 | - </value> | ||
| 2345 | - <value> | ||
| 2346 | - <name>station</name> | ||
| 2347 | - <rename>qdzid</rename> | ||
| 2348 | - <default/> | ||
| 2349 | - <type>Integer</type> | ||
| 2350 | - </value> | ||
| 2351 | - <value> | ||
| 2352 | - <name>station_code</name> | ||
| 2353 | - <rename>qdzcode</rename> | ||
| 2354 | - <default/> | ||
| 2355 | - <type>String</type> | ||
| 2356 | - </value> | ||
| 2357 | - <value> | ||
| 2358 | - <name>station_name</name> | ||
| 2359 | - <rename>qname</rename> | ||
| 2360 | - <default/> | ||
| 2361 | - <type>String</type> | ||
| 2362 | - </value> | ||
| 2363 | - </lookup> | ||
| 2364 | - <cluster_schema/> | ||
| 2365 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2366 | - <xloc>551</xloc> | ||
| 2367 | - <yloc>782</yloc> | ||
| 2368 | - <draw>Y</draw> | ||
| 2369 | - </GUI> | ||
| 2370 | - </step> | ||
| 2371 | - | ||
| 2372 | - <step> | ||
| 2373 | - <name>正常班次_处理数据</name> | ||
| 2374 | - <type>ScriptValueMod</type> | ||
| 2375 | - <description/> | ||
| 2376 | - <distribute>Y</distribute> | ||
| 2377 | - <custom_distribution/> | ||
| 2378 | - <copies>1</copies> | ||
| 2379 | - <partitioning> | ||
| 2380 | - <method>none</method> | ||
| 2381 | - <schema_name/> | ||
| 2382 | - </partitioning> | ||
| 2383 | - <compatible>N</compatible> | ||
| 2384 | - <optimizationLevel>9</optimizationLevel> | ||
| 2385 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2386 | - <jsScript_name>Script 1</jsScript_name> | ||
| 2387 | - <jsScript_script>//Script here

// 添加站点标识
var sendZdtype = 'B';
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2388 | - </jsScript> </jsScripts> <fields> <field> <name>sendZdtype</name> | ||
| 2389 | - <rename>sendZdtype</rename> | ||
| 2390 | - <type>String</type> | ||
| 2391 | - <length>-1</length> | ||
| 2392 | - <precision>-1</precision> | ||
| 2393 | - <replace>N</replace> | ||
| 2394 | - </field> <field> <name>endZdtype</name> | ||
| 2395 | - <rename>endZdtype</rename> | ||
| 2396 | - <type>String</type> | ||
| 2397 | - <length>-1</length> | ||
| 2398 | - <precision>-1</precision> | ||
| 2399 | - <replace>N</replace> | ||
| 2400 | - </field> <field> <name>destory</name> | ||
| 2401 | - <rename>destory</rename> | ||
| 2402 | - <type>Integer</type> | ||
| 2403 | - <length>-1</length> | ||
| 2404 | - <precision>-1</precision> | ||
| 2405 | - <replace>N</replace> | ||
| 2406 | - </field> </fields> <cluster_schema/> | ||
| 2407 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2408 | - <xloc>588</xloc> | ||
| 2409 | - <yloc>403</yloc> | ||
| 2410 | - <draw>Y</draw> | ||
| 2411 | - </GUI> | ||
| 2412 | - </step> | ||
| 2413 | - | ||
| 2414 | - <step> | ||
| 2415 | - <name>正常班次数据</name> | ||
| 2416 | - <type>Dummy</type> | ||
| 2417 | - <description/> | ||
| 2418 | - <distribute>Y</distribute> | ||
| 2419 | - <custom_distribution/> | ||
| 2420 | - <copies>1</copies> | ||
| 2421 | - <partitioning> | ||
| 2422 | - <method>none</method> | ||
| 2423 | - <schema_name/> | ||
| 2424 | - </partitioning> | ||
| 2425 | - <cluster_schema/> | ||
| 2426 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2427 | - <xloc>725</xloc> | ||
| 2428 | - <yloc>404</yloc> | ||
| 2429 | - <draw>Y</draw> | ||
| 2430 | - </GUI> | ||
| 2431 | - </step> | ||
| 2432 | - | ||
| 2433 | - <step> | ||
| 2434 | - <name>添加发车顺序号</name> | ||
| 2435 | - <type>GroupBy</type> | ||
| 2436 | - <description/> | ||
| 2437 | - <distribute>Y</distribute> | ||
| 2438 | - <custom_distribution/> | ||
| 2439 | - <copies>1</copies> | ||
| 2440 | - <partitioning> | ||
| 2441 | - <method>none</method> | ||
| 2442 | - <schema_name/> | ||
| 2443 | - </partitioning> | ||
| 2444 | - <all_rows>Y</all_rows> | ||
| 2445 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 2446 | - <field_ignore/> | ||
| 2447 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2448 | - <prefix>grp</prefix> | ||
| 2449 | - <add_linenr>Y</add_linenr> | ||
| 2450 | - <linenr_fieldname>fcno</linenr_fieldname> | ||
| 2451 | - <give_back_row>N</give_back_row> | ||
| 2452 | - <group> | ||
| 2453 | - <field> | ||
| 2454 | - <name>lp</name> | ||
| 2455 | - </field> | ||
| 2456 | - </group> | ||
| 2457 | - <fields> | ||
| 2458 | - </fields> | ||
| 2459 | - <cluster_schema/> | ||
| 2460 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2461 | - <xloc>442</xloc> | ||
| 2462 | - <yloc>44</yloc> | ||
| 2463 | - <draw>Y</draw> | ||
| 2464 | - </GUI> | ||
| 2465 | - </step> | ||
| 2466 | - | ||
| 2467 | - <step> | ||
| 2468 | - <name>添加对应班次数</name> | ||
| 2469 | - <type>GroupBy</type> | ||
| 2470 | - <description/> | ||
| 2471 | - <distribute>Y</distribute> | ||
| 2472 | - <custom_distribution/> | ||
| 2473 | - <copies>1</copies> | ||
| 2474 | - <partitioning> | ||
| 2475 | - <method>none</method> | ||
| 2476 | - <schema_name/> | ||
| 2477 | - </partitioning> | ||
| 2478 | - <all_rows>Y</all_rows> | ||
| 2479 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 2480 | - <field_ignore/> | ||
| 2481 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2482 | - <prefix>grp</prefix> | ||
| 2483 | - <add_linenr>Y</add_linenr> | ||
| 2484 | - <linenr_fieldname>bcs</linenr_fieldname> | ||
| 2485 | - <give_back_row>N</give_back_row> | ||
| 2486 | - <group> | ||
| 2487 | - </group> | ||
| 2488 | - <fields> | ||
| 2489 | - </fields> | ||
| 2490 | - <cluster_schema/> | ||
| 2491 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2492 | - <xloc>692</xloc> | ||
| 2493 | - <yloc>44</yloc> | ||
| 2494 | - <draw>Y</draw> | ||
| 2495 | - </GUI> | ||
| 2496 | - </step> | ||
| 2497 | - | ||
| 2498 | - <step> | ||
| 2499 | - <name>班次数据范式化</name> | ||
| 2500 | - <type>Normaliser</type> | ||
| 2501 | - <description/> | ||
| 2502 | - <distribute>Y</distribute> | ||
| 2503 | - <custom_distribution/> | ||
| 2504 | - <copies>1</copies> | ||
| 2505 | - <partitioning> | ||
| 2506 | - <method>none</method> | ||
| 2507 | - <schema_name/> | ||
| 2508 | - </partitioning> | ||
| 2509 | - <typefield>站点名称</typefield> | ||
| 2510 | - <fields> </fields> <cluster_schema/> | ||
| 2511 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2512 | - <xloc>248</xloc> | ||
| 2513 | - <yloc>44</yloc> | ||
| 2514 | - <draw>Y</draw> | ||
| 2515 | - </GUI> | ||
| 2516 | - </step> | ||
| 2517 | - | ||
| 2518 | - <step> | ||
| 2519 | - <name>班次类型字典</name> | ||
| 2520 | - <type>ValueMapper</type> | ||
| 2521 | - <description/> | ||
| 2522 | - <distribute>Y</distribute> | ||
| 2523 | - <custom_distribution/> | ||
| 2524 | - <copies>1</copies> | ||
| 2525 | - <partitioning> | ||
| 2526 | - <method>none</method> | ||
| 2527 | - <schema_name/> | ||
| 2528 | - </partitioning> | ||
| 2529 | - <field_to_use>bctype</field_to_use> | ||
| 2530 | - <target_field>bctype_code</target_field> | ||
| 2531 | - <non_match_default>未知类型</non_match_default> | ||
| 2532 | - <fields> | ||
| 2533 | - <field> | ||
| 2534 | - <source_value>正常班次</source_value> | ||
| 2535 | - <target_value>normal</target_value> | ||
| 2536 | - </field> | ||
| 2537 | - <field> | ||
| 2538 | - <source_value>出场</source_value> | ||
| 2539 | - <target_value>out</target_value> | ||
| 2540 | - </field> | ||
| 2541 | - <field> | ||
| 2542 | - <source_value>进场</source_value> | ||
| 2543 | - <target_value>in</target_value> | ||
| 2544 | - </field> | ||
| 2545 | - <field> | ||
| 2546 | - <source_value>加油</source_value> | ||
| 2547 | - <target_value>oil</target_value> | ||
| 2548 | - </field> | ||
| 2549 | - <field> | ||
| 2550 | - <source_value>临加</source_value> | ||
| 2551 | - <target_value>temp</target_value> | ||
| 2552 | - </field> | ||
| 2553 | - <field> | ||
| 2554 | - <source_value>区间</source_value> | ||
| 2555 | - <target_value>region</target_value> | ||
| 2556 | - </field> | ||
| 2557 | - <field> | ||
| 2558 | - <source_value>放空</source_value> | ||
| 2559 | - <target_value>venting</target_value> | ||
| 2560 | - </field> | ||
| 2561 | - <field> | ||
| 2562 | - <source_value>放大站</source_value> | ||
| 2563 | - <target_value>major</target_value> | ||
| 2564 | - </field> | ||
| 2565 | - </fields> | ||
| 2566 | - <cluster_schema/> | ||
| 2567 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2568 | - <xloc>149</xloc> | ||
| 2569 | - <yloc>491</yloc> | ||
| 2570 | - <draw>Y</draw> | ||
| 2571 | - </GUI> | ||
| 2572 | - </step> | ||
| 2573 | - | ||
| 2574 | - <step> | ||
| 2575 | - <name>班次类型字典 2</name> | ||
| 2576 | - <type>ValueMapper</type> | ||
| 2577 | - <description/> | ||
| 2578 | - <distribute>Y</distribute> | ||
| 2579 | - <custom_distribution/> | ||
| 2580 | - <copies>1</copies> | ||
| 2581 | - <partitioning> | ||
| 2582 | - <method>none</method> | ||
| 2583 | - <schema_name/> | ||
| 2584 | - </partitioning> | ||
| 2585 | - <field_to_use>bctype</field_to_use> | ||
| 2586 | - <target_field>bctype_code</target_field> | ||
| 2587 | - <non_match_default>未知类型</non_match_default> | ||
| 2588 | - <fields> | ||
| 2589 | - <field> | ||
| 2590 | - <source_value>正常班次</source_value> | ||
| 2591 | - <target_value>normal</target_value> | ||
| 2592 | - </field> | ||
| 2593 | - <field> | ||
| 2594 | - <source_value>出场</source_value> | ||
| 2595 | - <target_value>out</target_value> | ||
| 2596 | - </field> | ||
| 2597 | - <field> | ||
| 2598 | - <source_value>进场</source_value> | ||
| 2599 | - <target_value>in</target_value> | ||
| 2600 | - </field> | ||
| 2601 | - <field> | ||
| 2602 | - <source_value>加油</source_value> | ||
| 2603 | - <target_value>oil</target_value> | ||
| 2604 | - </field> | ||
| 2605 | - <field> | ||
| 2606 | - <source_value>临加</source_value> | ||
| 2607 | - <target_value>temp</target_value> | ||
| 2608 | - </field> | ||
| 2609 | - <field> | ||
| 2610 | - <source_value>区间</source_value> | ||
| 2611 | - <target_value>region</target_value> | ||
| 2612 | - </field> | ||
| 2613 | - <field> | ||
| 2614 | - <source_value>放空</source_value> | ||
| 2615 | - <target_value>venting</target_value> | ||
| 2616 | - </field> | ||
| 2617 | - <field> | ||
| 2618 | - <source_value>放大站</source_value> | ||
| 2619 | - <target_value>major</target_value> | ||
| 2620 | - </field> | ||
| 2621 | - </fields> | ||
| 2622 | - <cluster_schema/> | ||
| 2623 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2624 | - <xloc>333</xloc> | ||
| 2625 | - <yloc>681</yloc> | ||
| 2626 | - <draw>Y</draw> | ||
| 2627 | - </GUI> | ||
| 2628 | - </step> | ||
| 2629 | - | ||
| 2630 | - <step> | ||
| 2631 | - <name>班次类型字典 3</name> | ||
| 2632 | - <type>ValueMapper</type> | ||
| 2633 | - <description/> | ||
| 2634 | - <distribute>Y</distribute> | ||
| 2635 | - <custom_distribution/> | ||
| 2636 | - <copies>1</copies> | ||
| 2637 | - <partitioning> | ||
| 2638 | - <method>none</method> | ||
| 2639 | - <schema_name/> | ||
| 2640 | - </partitioning> | ||
| 2641 | - <field_to_use>bctype</field_to_use> | ||
| 2642 | - <target_field>bctype_code</target_field> | ||
| 2643 | - <non_match_default>未知类型</non_match_default> | ||
| 2644 | - <fields> | ||
| 2645 | - <field> | ||
| 2646 | - <source_value>正常班次</source_value> | ||
| 2647 | - <target_value>normal</target_value> | ||
| 2648 | - </field> | ||
| 2649 | - <field> | ||
| 2650 | - <source_value>出场</source_value> | ||
| 2651 | - <target_value>out</target_value> | ||
| 2652 | - </field> | ||
| 2653 | - <field> | ||
| 2654 | - <source_value>进场</source_value> | ||
| 2655 | - <target_value>in</target_value> | ||
| 2656 | - </field> | ||
| 2657 | - <field> | ||
| 2658 | - <source_value>加油</source_value> | ||
| 2659 | - <target_value>oil</target_value> | ||
| 2660 | - </field> | ||
| 2661 | - <field> | ||
| 2662 | - <source_value>临加</source_value> | ||
| 2663 | - <target_value>temp</target_value> | ||
| 2664 | - </field> | ||
| 2665 | - <field> | ||
| 2666 | - <source_value>区间</source_value> | ||
| 2667 | - <target_value>region</target_value> | ||
| 2668 | - </field> | ||
| 2669 | - <field> | ||
| 2670 | - <source_value>放空</source_value> | ||
| 2671 | - <target_value>venting</target_value> | ||
| 2672 | - </field> | ||
| 2673 | - <field> | ||
| 2674 | - <source_value>放大站</source_value> | ||
| 2675 | - <target_value>major</target_value> | ||
| 2676 | - </field> | ||
| 2677 | - </fields> | ||
| 2678 | - <cluster_schema/> | ||
| 2679 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2680 | - <xloc>551</xloc> | ||
| 2681 | - <yloc>928</yloc> | ||
| 2682 | - <draw>Y</draw> | ||
| 2683 | - </GUI> | ||
| 2684 | - </step> | ||
| 2685 | - | ||
| 2686 | - <step> | ||
| 2687 | - <name>类型修正</name> | ||
| 2688 | - <type>SelectValues</type> | ||
| 2689 | - <description/> | ||
| 2690 | - <distribute>Y</distribute> | ||
| 2691 | - <custom_distribution/> | ||
| 2692 | - <copies>1</copies> | ||
| 2693 | - <partitioning> | ||
| 2694 | - <method>none</method> | ||
| 2695 | - <schema_name/> | ||
| 2696 | - </partitioning> | ||
| 2697 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2698 | - <meta> <name>jhlc</name> | ||
| 2699 | - <rename>jhlc</rename> | ||
| 2700 | - <type>Number</type> | ||
| 2701 | - <length>-2</length> | ||
| 2702 | - <precision>-2</precision> | ||
| 2703 | - <conversion_mask/> | ||
| 2704 | - <date_format_lenient>false</date_format_lenient> | ||
| 2705 | - <date_format_locale/> | ||
| 2706 | - <date_format_timezone/> | ||
| 2707 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2708 | - <encoding/> | ||
| 2709 | - <decimal_symbol/> | ||
| 2710 | - <grouping_symbol/> | ||
| 2711 | - <currency_symbol/> | ||
| 2712 | - <storage_type/> | ||
| 2713 | - </meta> <meta> <name>bcsj</name> | ||
| 2714 | - <rename>bcsj</rename> | ||
| 2715 | - <type>Integer</type> | ||
| 2716 | - <length>-2</length> | ||
| 2717 | - <precision>-2</precision> | ||
| 2718 | - <conversion_mask/> | ||
| 2719 | - <date_format_lenient>false</date_format_lenient> | ||
| 2720 | - <date_format_locale/> | ||
| 2721 | - <date_format_timezone/> | ||
| 2722 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2723 | - <encoding/> | ||
| 2724 | - <decimal_symbol/> | ||
| 2725 | - <grouping_symbol/> | ||
| 2726 | - <currency_symbol/> | ||
| 2727 | - <storage_type/> | ||
| 2728 | - </meta> </fields> <cluster_schema/> | ||
| 2729 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2730 | - <xloc>146</xloc> | ||
| 2731 | - <yloc>768</yloc> | ||
| 2732 | - <draw>Y</draw> | ||
| 2733 | - </GUI> | ||
| 2734 | - </step> | ||
| 2735 | - | ||
| 2736 | - <step> | ||
| 2737 | - <name>类型修正 2</name> | ||
| 2738 | - <type>SelectValues</type> | ||
| 2739 | - <description/> | ||
| 2740 | - <distribute>Y</distribute> | ||
| 2741 | - <custom_distribution/> | ||
| 2742 | - <copies>1</copies> | ||
| 2743 | - <partitioning> | ||
| 2744 | - <method>none</method> | ||
| 2745 | - <schema_name/> | ||
| 2746 | - </partitioning> | ||
| 2747 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2748 | - <meta> <name>out_mileage</name> | ||
| 2749 | - <rename>out_mileage</rename> | ||
| 2750 | - <type>Number</type> | ||
| 2751 | - <length>-2</length> | ||
| 2752 | - <precision>-2</precision> | ||
| 2753 | - <conversion_mask/> | ||
| 2754 | - <date_format_lenient>false</date_format_lenient> | ||
| 2755 | - <date_format_locale/> | ||
| 2756 | - <date_format_timezone/> | ||
| 2757 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2758 | - <encoding/> | ||
| 2759 | - <decimal_symbol/> | ||
| 2760 | - <grouping_symbol/> | ||
| 2761 | - <currency_symbol/> | ||
| 2762 | - <storage_type/> | ||
| 2763 | - </meta> <meta> <name>out_time</name> | ||
| 2764 | - <rename>out_time</rename> | ||
| 2765 | - <type>Integer</type> | ||
| 2766 | - <length>-2</length> | ||
| 2767 | - <precision>-2</precision> | ||
| 2768 | - <conversion_mask/> | ||
| 2769 | - <date_format_lenient>false</date_format_lenient> | ||
| 2770 | - <date_format_locale/> | ||
| 2771 | - <date_format_timezone/> | ||
| 2772 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2773 | - <encoding/> | ||
| 2774 | - <decimal_symbol/> | ||
| 2775 | - <grouping_symbol/> | ||
| 2776 | - <currency_symbol/> | ||
| 2777 | - <storage_type/> | ||
| 2778 | - </meta> <meta> <name>sxx</name> | ||
| 2779 | - <rename>sxx</rename> | ||
| 2780 | - <type>Integer</type> | ||
| 2781 | - <length>-2</length> | ||
| 2782 | - <precision>-2</precision> | ||
| 2783 | - <conversion_mask/> | ||
| 2784 | - <date_format_lenient>false</date_format_lenient> | ||
| 2785 | - <date_format_locale/> | ||
| 2786 | - <date_format_timezone/> | ||
| 2787 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2788 | - <encoding/> | ||
| 2789 | - <decimal_symbol/> | ||
| 2790 | - <grouping_symbol/> | ||
| 2791 | - <currency_symbol/> | ||
| 2792 | - <storage_type/> | ||
| 2793 | - </meta> </fields> <cluster_schema/> | ||
| 2794 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2795 | - <xloc>338</xloc> | ||
| 2796 | - <yloc>1008</yloc> | ||
| 2797 | - <draw>Y</draw> | ||
| 2798 | - </GUI> | ||
| 2799 | - </step> | ||
| 2800 | - | ||
| 2801 | - <step> | ||
| 2802 | - <name>类型修正 3</name> | ||
| 2803 | - <type>SelectValues</type> | ||
| 2804 | - <description/> | ||
| 2805 | - <distribute>Y</distribute> | ||
| 2806 | - <custom_distribution/> | ||
| 2807 | - <copies>1</copies> | ||
| 2808 | - <partitioning> | ||
| 2809 | - <method>none</method> | ||
| 2810 | - <schema_name/> | ||
| 2811 | - </partitioning> | ||
| 2812 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2813 | - <meta> <name>parade_mileage</name> | ||
| 2814 | - <rename>parade_mileage</rename> | ||
| 2815 | - <type>Number</type> | ||
| 2816 | - <length>-2</length> | ||
| 2817 | - <precision>-2</precision> | ||
| 2818 | - <conversion_mask/> | ||
| 2819 | - <date_format_lenient>false</date_format_lenient> | ||
| 2820 | - <date_format_locale/> | ||
| 2821 | - <date_format_timezone/> | ||
| 2822 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2823 | - <encoding/> | ||
| 2824 | - <decimal_symbol/> | ||
| 2825 | - <grouping_symbol/> | ||
| 2826 | - <currency_symbol/> | ||
| 2827 | - <storage_type/> | ||
| 2828 | - </meta> <meta> <name>parade_time</name> | ||
| 2829 | - <rename>parade_time</rename> | ||
| 2830 | - <type>Integer</type> | ||
| 2831 | - <length>-2</length> | ||
| 2832 | - <precision>-2</precision> | ||
| 2833 | - <conversion_mask/> | ||
| 2834 | - <date_format_lenient>false</date_format_lenient> | ||
| 2835 | - <date_format_locale/> | ||
| 2836 | - <date_format_timezone/> | ||
| 2837 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2838 | - <encoding/> | ||
| 2839 | - <decimal_symbol/> | ||
| 2840 | - <grouping_symbol/> | ||
| 2841 | - <currency_symbol/> | ||
| 2842 | - <storage_type/> | ||
| 2843 | - </meta> <meta> <name>sxx2</name> | ||
| 2844 | - <rename>sxx2</rename> | ||
| 2845 | - <type>Integer</type> | ||
| 2846 | - <length>-2</length> | ||
| 2847 | - <precision>-2</precision> | ||
| 2848 | - <conversion_mask/> | ||
| 2849 | - <date_format_lenient>false</date_format_lenient> | ||
| 2850 | - <date_format_locale/> | ||
| 2851 | - <date_format_timezone/> | ||
| 2852 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2853 | - <encoding/> | ||
| 2854 | - <decimal_symbol/> | ||
| 2855 | - <grouping_symbol/> | ||
| 2856 | - <currency_symbol/> | ||
| 2857 | - <storage_type/> | ||
| 2858 | - </meta> </fields> <cluster_schema/> | ||
| 2859 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2860 | - <xloc>847</xloc> | ||
| 2861 | - <yloc>1003</yloc> | ||
| 2862 | - <draw>Y</draw> | ||
| 2863 | - </GUI> | ||
| 2864 | - </step> | ||
| 2865 | - | ||
| 2866 | - <step> | ||
| 2867 | - <name>计算班次类型</name> | ||
| 2868 | - <type>ValueMapper</type> | ||
| 2869 | - <description/> | ||
| 2870 | - <distribute>Y</distribute> | ||
| 2871 | - <custom_distribution/> | ||
| 2872 | - <copies>1</copies> | ||
| 2873 | - <partitioning> | ||
| 2874 | - <method>none</method> | ||
| 2875 | - <schema_name/> | ||
| 2876 | - </partitioning> | ||
| 2877 | - <field_to_use>qdzname</field_to_use> | ||
| 2878 | - <target_field>bctype</target_field> | ||
| 2879 | - <non_match_default>正常班次</non_match_default> | ||
| 2880 | - <fields> | ||
| 2881 | - <field> | ||
| 2882 | - <source_value>出场</source_value> | ||
| 2883 | - <target_value>出场</target_value> | ||
| 2884 | - </field> | ||
| 2885 | - <field> | ||
| 2886 | - <source_value>进场</source_value> | ||
| 2887 | - <target_value>进场</target_value> | ||
| 2888 | - </field> | ||
| 2889 | - </fields> | ||
| 2890 | - <cluster_schema/> | ||
| 2891 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2892 | - <xloc>1014</xloc> | ||
| 2893 | - <yloc>401</yloc> | ||
| 2894 | - <draw>Y</draw> | ||
| 2895 | - </GUI> | ||
| 2896 | - </step> | ||
| 2897 | - | ||
| 2898 | - <step> | ||
| 2899 | - <name>记录关联 (笛卡尔输出)</name> | ||
| 2900 | - <type>JoinRows</type> | ||
| 2901 | - <description/> | ||
| 2902 | - <distribute>Y</distribute> | ||
| 2903 | - <custom_distribution/> | ||
| 2904 | - <copies>1</copies> | ||
| 2905 | - <partitioning> | ||
| 2906 | - <method>none</method> | ||
| 2907 | - <schema_name/> | ||
| 2908 | - </partitioning> | ||
| 2909 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2910 | - <prefix>out</prefix> | ||
| 2911 | - <cache_size>500</cache_size> | ||
| 2912 | - <main/> | ||
| 2913 | - <compare> | ||
| 2914 | -<condition> | ||
| 2915 | - <negated>N</negated> | ||
| 2916 | - <leftvalue/> | ||
| 2917 | - <function>=</function> | ||
| 2918 | - <rightvalue/> | ||
| 2919 | - </condition> | ||
| 2920 | - </compare> | ||
| 2921 | - <cluster_schema/> | ||
| 2922 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2923 | - <xloc>310</xloc> | ||
| 2924 | - <yloc>133</yloc> | ||
| 2925 | - <draw>Y</draw> | ||
| 2926 | - </GUI> | ||
| 2927 | - </step> | ||
| 2928 | - | ||
| 2929 | - <step> | ||
| 2930 | - <name>过滤记录(发车时间为空)</name> | ||
| 2931 | - <type>FilterRows</type> | ||
| 2932 | - <description/> | ||
| 2933 | - <distribute>Y</distribute> | ||
| 2934 | - <custom_distribution/> | ||
| 2935 | - <copies>1</copies> | ||
| 2936 | - <partitioning> | ||
| 2937 | - <method>none</method> | ||
| 2938 | - <schema_name/> | ||
| 2939 | - </partitioning> | ||
| 2940 | -<send_true_to/> | ||
| 2941 | -<send_false_to/> | ||
| 2942 | - <compare> | ||
| 2943 | -<condition> | ||
| 2944 | - <negated>N</negated> | ||
| 2945 | - <leftvalue>sendtime</leftvalue> | ||
| 2946 | - <function>IS NOT NULL</function> | ||
| 2947 | - <rightvalue/> | ||
| 2948 | - </condition> | ||
| 2949 | - </compare> | ||
| 2950 | - <cluster_schema/> | ||
| 2951 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2952 | - <xloc>571</xloc> | ||
| 2953 | - <yloc>44</yloc> | ||
| 2954 | - <draw>Y</draw> | ||
| 2955 | - </GUI> | ||
| 2956 | - </step> | ||
| 2957 | - | ||
| 2958 | - <step> | ||
| 2959 | - <name>进场班次_确定起点站名字</name> | ||
| 2960 | - <type>ScriptValueMod</type> | ||
| 2961 | - <description/> | ||
| 2962 | - <distribute>Y</distribute> | ||
| 2963 | - <custom_distribution/> | ||
| 2964 | - <copies>1</copies> | ||
| 2965 | - <partitioning> | ||
| 2966 | - <method>none</method> | ||
| 2967 | - <schema_name/> | ||
| 2968 | - </partitioning> | ||
| 2969 | - <compatible>N</compatible> | ||
| 2970 | - <optimizationLevel>9</optimizationLevel> | ||
| 2971 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2972 | - <jsScript_name>Script 1</jsScript_name> | ||
| 2973 | - <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var qdzname_calcu = cc_groups[gno - 2]; // 进场班次的起点站是上一个班次的终点站,这里只有上一个班次的起点站,还需要计算
var startZdtype_calcu = 'B';
var endZdtype_calcu = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2974 | - </jsScript> </jsScripts> <fields> <field> <name>qdzname_calcu</name> | ||
| 2975 | - <rename>qdzname_calcu</rename> | ||
| 2976 | - <type>String</type> | ||
| 2977 | - <length>-1</length> | ||
| 2978 | - <precision>-1</precision> | ||
| 2979 | - <replace>N</replace> | ||
| 2980 | - </field> <field> <name>startZdtype_calcu</name> | ||
| 2981 | - <rename>startZdtype_calcu</rename> | ||
| 2982 | - <type>String</type> | ||
| 2983 | - <length>-1</length> | ||
| 2984 | - <precision>-1</precision> | ||
| 2985 | - <replace>N</replace> | ||
| 2986 | - </field> <field> <name>endZdtype_calcu</name> | ||
| 2987 | - <rename>endZdtype_calcu</rename> | ||
| 2988 | - <type>String</type> | ||
| 2989 | - <length>-1</length> | ||
| 2990 | - <precision>-1</precision> | ||
| 2991 | - <replace>N</replace> | ||
| 2992 | - </field> <field> <name>destory</name> | ||
| 2993 | - <rename>destory</rename> | ||
| 2994 | - <type>Integer</type> | ||
| 2995 | - <length>-1</length> | ||
| 2996 | - <precision>-1</precision> | ||
| 2997 | - <replace>N</replace> | ||
| 2998 | - </field> </fields> <cluster_schema/> | ||
| 2999 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3000 | - <xloc>754</xloc> | ||
| 3001 | - <yloc>610</yloc> | ||
| 3002 | - <draw>Y</draw> | ||
| 3003 | - </GUI> | ||
| 3004 | - </step> | ||
| 3005 | - | ||
| 3006 | - <step> | ||
| 3007 | - <name>进场班次数据</name> | ||
| 3008 | - <type>Dummy</type> | ||
| 3009 | - <description/> | ||
| 3010 | - <distribute>Y</distribute> | ||
| 3011 | - <custom_distribution/> | ||
| 3012 | - <copies>1</copies> | ||
| 3013 | - <partitioning> | ||
| 3014 | - <method>none</method> | ||
| 3015 | - <schema_name/> | ||
| 3016 | - </partitioning> | ||
| 3017 | - <cluster_schema/> | ||
| 3018 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3019 | - <xloc>997</xloc> | ||
| 3020 | - <yloc>606</yloc> | ||
| 3021 | - <draw>Y</draw> | ||
| 3022 | - </GUI> | ||
| 3023 | - </step> | ||
| 3024 | - | ||
| 3025 | - <step_error_handling> | ||
| 3026 | - <error> | ||
| 3027 | - <source_step>插入/更新bsth_c_s_ttinfo_detail</source_step> | ||
| 3028 | - <target_step/> | ||
| 3029 | - <is_enabled>Y</is_enabled> | ||
| 3030 | - <nr_valuename>c1</nr_valuename> | ||
| 3031 | - <descriptions_valuename>c2</descriptions_valuename> | ||
| 3032 | - <fields_valuename>c3</fields_valuename> | ||
| 3033 | - <codes_valuename>c4</codes_valuename> | ||
| 3034 | - <max_errors/> | ||
| 3035 | - <max_pct_errors/> | ||
| 3036 | - <min_pct_rows/> | ||
| 3037 | - </error> | ||
| 3038 | - </step_error_handling> | ||
| 3039 | - <slave-step-copy-partition-distribution> | ||
| 3040 | -</slave-step-copy-partition-distribution> | ||
| 3041 | - <slave_transformation>N</slave_transformation> | ||
| 3042 | - | ||
| 3043 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>时刻表明细导入</name> | ||
| 5 | + <description>时刻表明细信息导入</description> | ||
| 6 | + <extended_description>时刻表明细信息</extended_description> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + </parameters> | ||
| 13 | + <log> | ||
| 14 | +<trans-log-table><connection/> | ||
| 15 | +<schema/> | ||
| 16 | +<table/> | ||
| 17 | +<size_limit_lines/> | ||
| 18 | +<interval/> | ||
| 19 | +<timeout_days/> | ||
| 20 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 21 | +<perf-log-table><connection/> | ||
| 22 | +<schema/> | ||
| 23 | +<table/> | ||
| 24 | +<interval/> | ||
| 25 | +<timeout_days/> | ||
| 26 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 27 | +<channel-log-table><connection/> | ||
| 28 | +<schema/> | ||
| 29 | +<table/> | ||
| 30 | +<timeout_days/> | ||
| 31 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 32 | +<step-log-table><connection/> | ||
| 33 | +<schema/> | ||
| 34 | +<table/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 37 | +<metrics-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 42 | + </log> | ||
| 43 | + <maxdate> | ||
| 44 | + <connection/> | ||
| 45 | + <table/> | ||
| 46 | + <field/> | ||
| 47 | + <offset>0.0</offset> | ||
| 48 | + <maxdiff>0.0</maxdiff> | ||
| 49 | + </maxdate> | ||
| 50 | + <size_rowset>10000</size_rowset> | ||
| 51 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 52 | + <sleep_time_full>50</sleep_time_full> | ||
| 53 | + <unique_connections>N</unique_connections> | ||
| 54 | + <feedback_shown>Y</feedback_shown> | ||
| 55 | + <feedback_size>50000</feedback_size> | ||
| 56 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 57 | + <shared_objects_file/> | ||
| 58 | + <capture_step_performance>N</capture_step_performance> | ||
| 59 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 60 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 61 | + <dependencies> | ||
| 62 | + </dependencies> | ||
| 63 | + <partitionschemas> | ||
| 64 | + </partitionschemas> | ||
| 65 | + <slaveservers> | ||
| 66 | + </slaveservers> | ||
| 67 | + <clusterschemas> | ||
| 68 | + </clusterschemas> | ||
| 69 | + <created_user>-</created_user> | ||
| 70 | + <created_date>2016/06/30 12:21:57.536</created_date> | ||
| 71 | + <modified_user>-</modified_user> | ||
| 72 | + <modified_date>2016/06/30 12:21:57.536</modified_date> | ||
| 73 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 74 | + <is_key_private>N</is_key_private> | ||
| 75 | + </info> | ||
| 76 | + <notepads> | ||
| 77 | + <notepad> | ||
| 78 | + <note>字典表对应(以后直接查找表 bsth_c_sys_dictionary)
类型 代码 名称
LineTrend 0 上行
LineTrend 1 下行
ScheduleType normal 正常班次
ScheduleType out 出场
ScheduleType in 进场
ScheduleType temp 临加
ScheduleType region 区间
ScheduleType venting 放空
ScheduleType major 放大站</note> | ||
| 79 | + <xloc>606</xloc> | ||
| 80 | + <yloc>129</yloc> | ||
| 81 | + <width>332</width> | ||
| 82 | + <heigth>186</heigth> | ||
| 83 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 84 | + <fontsize>12</fontsize> | ||
| 85 | + <fontbold>N</fontbold> | ||
| 86 | + <fontitalic>N</fontitalic> | ||
| 87 | + <fontcolorred>0</fontcolorred> | ||
| 88 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 89 | + <fontcolorblue>0</fontcolorblue> | ||
| 90 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 91 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 92 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 93 | + <bordercolorred>100</bordercolorred> | ||
| 94 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 95 | + <bordercolorblue>100</bordercolorblue> | ||
| 96 | + <drawshadow>Y</drawshadow> | ||
| 97 | + </notepad> | ||
| 98 | + <notepad> | ||
| 99 | + <note>因为时刻表输入格式不确定性,主要因为表结构是反范式化的,
所以需要外部动态指定愿数据,头三个step动态指定愿数据

</note> | ||
| 100 | + <xloc>79</xloc> | ||
| 101 | + <yloc>206</yloc> | ||
| 102 | + <width>346</width> | ||
| 103 | + <heigth>74</heigth> | ||
| 104 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 105 | + <fontsize>12</fontsize> | ||
| 106 | + <fontbold>N</fontbold> | ||
| 107 | + <fontitalic>N</fontitalic> | ||
| 108 | + <fontcolorred>0</fontcolorred> | ||
| 109 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 110 | + <fontcolorblue>0</fontcolorblue> | ||
| 111 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 112 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 113 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 114 | + <bordercolorred>100</bordercolorred> | ||
| 115 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 116 | + <bordercolorblue>100</bordercolorblue> | ||
| 117 | + <drawshadow>Y</drawshadow> | ||
| 118 | + </notepad> | ||
| 119 | + <notepad> | ||
| 120 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 121 | + <xloc>721</xloc> | ||
| 122 | + <yloc>762</yloc> | ||
| 123 | + <width>333</width> | ||
| 124 | + <heigth>90</heigth> | ||
| 125 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 126 | + <fontsize>12</fontsize> | ||
| 127 | + <fontbold>N</fontbold> | ||
| 128 | + <fontitalic>N</fontitalic> | ||
| 129 | + <fontcolorred>0</fontcolorred> | ||
| 130 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 131 | + <fontcolorblue>0</fontcolorblue> | ||
| 132 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 133 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 134 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 135 | + <bordercolorred>100</bordercolorred> | ||
| 136 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 137 | + <bordercolorblue>100</bordercolorblue> | ||
| 138 | + <drawshadow>Y</drawshadow> | ||
| 139 | + </notepad> | ||
| 140 | + <notepad> | ||
| 141 | + <note>出场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 142 | + <xloc>120</xloc> | ||
| 143 | + <yloc>1016</yloc> | ||
| 144 | + <width>178</width> | ||
| 145 | + <heigth>42</heigth> | ||
| 146 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 147 | + <fontsize>12</fontsize> | ||
| 148 | + <fontbold>N</fontbold> | ||
| 149 | + <fontitalic>N</fontitalic> | ||
| 150 | + <fontcolorred>0</fontcolorred> | ||
| 151 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 152 | + <fontcolorblue>0</fontcolorblue> | ||
| 153 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 154 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 155 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 156 | + <bordercolorred>100</bordercolorred> | ||
| 157 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 158 | + <bordercolorblue>100</bordercolorblue> | ||
| 159 | + <drawshadow>Y</drawshadow> | ||
| 160 | + </notepad> | ||
| 161 | + <notepad> | ||
| 162 | + <note>进场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 163 | + <xloc>578</xloc> | ||
| 164 | + <yloc>1084</yloc> | ||
| 165 | + <width>178</width> | ||
| 166 | + <heigth>42</heigth> | ||
| 167 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 168 | + <fontsize>12</fontsize> | ||
| 169 | + <fontbold>N</fontbold> | ||
| 170 | + <fontitalic>N</fontitalic> | ||
| 171 | + <fontcolorred>0</fontcolorred> | ||
| 172 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 173 | + <fontcolorblue>0</fontcolorblue> | ||
| 174 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 175 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 176 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 177 | + <bordercolorred>100</bordercolorred> | ||
| 178 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 179 | + <bordercolorblue>100</bordercolorblue> | ||
| 180 | + <drawshadow>Y</drawshadow> | ||
| 181 | + </notepad> | ||
| 182 | + </notepads> | ||
| 183 | + <connection> | ||
| 184 | + <name>192.168.168.1_jwgl_dw</name> | ||
| 185 | + <server>192.168.168.1</server> | ||
| 186 | + <type>ORACLE</type> | ||
| 187 | + <access>Native</access> | ||
| 188 | + <database>orcl</database> | ||
| 189 | + <port>1521</port> | ||
| 190 | + <username>jwgl_dw</username> | ||
| 191 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 192 | + <servername/> | ||
| 193 | + <data_tablespace/> | ||
| 194 | + <index_tablespace/> | ||
| 195 | + <attributes> | ||
| 196 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 197 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 198 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 199 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 200 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 201 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 202 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 203 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 204 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 205 | + </attributes> | ||
| 206 | + </connection> | ||
| 207 | + <connection> | ||
| 208 | + <name>bus_control_variable</name> | ||
| 209 | + <server>${v_db_ip}</server> | ||
| 210 | + <type>MYSQL</type> | ||
| 211 | + <access>Native</access> | ||
| 212 | + <database>${v_db_dname}</database> | ||
| 213 | + <port>3306</port> | ||
| 214 | + <username>${v_db_uname}</username> | ||
| 215 | + <password>${v_db_pwd}</password> | ||
| 216 | + <servername/> | ||
| 217 | + <data_tablespace/> | ||
| 218 | + <index_tablespace/> | ||
| 219 | + <attributes> | ||
| 220 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 221 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 222 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 223 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 224 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 225 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 226 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 227 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 228 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 229 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 230 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 231 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 232 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 233 | + </attributes> | ||
| 234 | + </connection> | ||
| 235 | + <connection> | ||
| 236 | + <name>bus_control_公司_201</name> | ||
| 237 | + <server>localhost</server> | ||
| 238 | + <type>MYSQL</type> | ||
| 239 | + <access>Native</access> | ||
| 240 | + <database>control</database> | ||
| 241 | + <port>3306</port> | ||
| 242 | + <username>root</username> | ||
| 243 | + <password>Encrypted </password> | ||
| 244 | + <servername/> | ||
| 245 | + <data_tablespace/> | ||
| 246 | + <index_tablespace/> | ||
| 247 | + <attributes> | ||
| 248 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 249 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 250 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 251 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 252 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 253 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 254 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 255 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 256 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 257 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 258 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 259 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 260 | + </attributes> | ||
| 261 | + </connection> | ||
| 262 | + <connection> | ||
| 263 | + <name>bus_control_本机</name> | ||
| 264 | + <server>localhost</server> | ||
| 265 | + <type>MYSQL</type> | ||
| 266 | + <access>Native</access> | ||
| 267 | + <database>control</database> | ||
| 268 | + <port>3306</port> | ||
| 269 | + <username>root</username> | ||
| 270 | + <password>Encrypted </password> | ||
| 271 | + <servername/> | ||
| 272 | + <data_tablespace/> | ||
| 273 | + <index_tablespace/> | ||
| 274 | + <attributes> | ||
| 275 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 276 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 277 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 278 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 279 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 280 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 281 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 282 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 283 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 284 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 285 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 286 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 287 | + </attributes> | ||
| 288 | + </connection> | ||
| 289 | + <connection> | ||
| 290 | + <name>xlab_mysql_youle</name> | ||
| 291 | + <server>101.231.124.8</server> | ||
| 292 | + <type>MYSQL</type> | ||
| 293 | + <access>Native</access> | ||
| 294 | + <database>xlab_youle</database> | ||
| 295 | + <port>45687</port> | ||
| 296 | + <username>xlab-youle</username> | ||
| 297 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 298 | + <servername/> | ||
| 299 | + <data_tablespace/> | ||
| 300 | + <index_tablespace/> | ||
| 301 | + <attributes> | ||
| 302 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 303 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 304 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 305 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 306 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 307 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 308 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 309 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 310 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 311 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 312 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 313 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 314 | + </attributes> | ||
| 315 | + </connection> | ||
| 316 | + <connection> | ||
| 317 | + <name>xlab_mysql_youle(本机)</name> | ||
| 318 | + <server>localhost</server> | ||
| 319 | + <type>MYSQL</type> | ||
| 320 | + <access>Native</access> | ||
| 321 | + <database>xlab_youle</database> | ||
| 322 | + <port>3306</port> | ||
| 323 | + <username>root</username> | ||
| 324 | + <password>Encrypted </password> | ||
| 325 | + <servername/> | ||
| 326 | + <data_tablespace/> | ||
| 327 | + <index_tablespace/> | ||
| 328 | + <attributes> | ||
| 329 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 330 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 331 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 332 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 333 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 334 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 335 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 336 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 337 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 338 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 339 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 340 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 341 | + </attributes> | ||
| 342 | + </connection> | ||
| 343 | + <connection> | ||
| 344 | + <name>xlab_youle</name> | ||
| 345 | + <server/> | ||
| 346 | + <type>MYSQL</type> | ||
| 347 | + <access>JNDI</access> | ||
| 348 | + <database>xlab_youle</database> | ||
| 349 | + <port>1521</port> | ||
| 350 | + <username/> | ||
| 351 | + <password>Encrypted </password> | ||
| 352 | + <servername/> | ||
| 353 | + <data_tablespace/> | ||
| 354 | + <index_tablespace/> | ||
| 355 | + <attributes> | ||
| 356 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 357 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 358 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 359 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 360 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 361 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 362 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 363 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 364 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 365 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 366 | + </attributes> | ||
| 367 | + </connection> | ||
| 368 | + <order> | ||
| 369 | + <hop> <from>时刻表明细信息Excel输入</from><to>班次数据范式化</to><enabled>Y</enabled> </hop> | ||
| 370 | + <hop> <from>添加发车顺序号</from><to>过滤记录(发车时间为空)</to><enabled>Y</enabled> </hop> | ||
| 371 | + <hop> <from>过滤记录(发车时间为空)</from><to>添加对应班次数</to><enabled>Y</enabled> </hop> | ||
| 372 | + <hop> <from>添加对应班次数</from><to>处理数据</to><enabled>Y</enabled> </hop> | ||
| 373 | + <hop> <from>处理数据</from><to>分组各个路牌的站</to><enabled>Y</enabled> </hop> | ||
| 374 | + <hop> <from>查找时刻表基础信息关联</from><to>查找路牌关联</to><enabled>Y</enabled> </hop> | ||
| 375 | + <hop> <from>查找线路关联</from><to>查找时刻表基础信息关联</to><enabled>Y</enabled> </hop> | ||
| 376 | + <hop> <from>上下行字典</from><to>班次类型字典</to><enabled>Y</enabled> </hop> | ||
| 377 | + <hop> <from>上下行字典 2</from><to>班次类型字典 2</to><enabled>Y</enabled> </hop> | ||
| 378 | + <hop> <from>上下行字典 3</from><to>班次类型字典 3</to><enabled>Y</enabled> </hop> | ||
| 379 | + <hop> <from>匹配上下行正常班次里程时间</from><to>类型修正</to><enabled>Y</enabled> </hop> | ||
| 380 | + <hop> <from>按照班次类型过滤数据1</from><to>按照班次类型过滤数据2</to><enabled>Y</enabled> </hop> | ||
| 381 | + <hop> <from>按照班次类型过滤数据1</from><to>正常班次数据</to><enabled>Y</enabled> </hop> | ||
| 382 | + <hop> <from>按照班次类型过滤数据2</from><to>出场班次数据</to><enabled>Y</enabled> </hop> | ||
| 383 | + <hop> <from>按照班次类型过滤数据2</from><to>进场班次数据</to><enabled>Y</enabled> </hop> | ||
| 384 | + <hop> <from>查找线路所有上下行里程时间</from><to>匹配上下行正常班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 385 | + <hop> <from>查找终点站关联</from><to>上下行字典</to><enabled>Y</enabled> </hop> | ||
| 386 | + <hop> <from>查找起点站关联并确定上下行</from><to>查找终点站关联</to><enabled>Y</enabled> </hop> | ||
| 387 | + <hop> <from>正常班次_处理数据</from><to>查找起点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 388 | + <hop> <from>正常班次数据</from><to>正常班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 389 | + <hop> <from>班次类型字典</from><to>查找线路所有上下行里程时间</to><enabled>Y</enabled> </hop> | ||
| 390 | + <hop> <from>班次类型字典 2</from><to>查找线路出场里程时间</to><enabled>Y</enabled> </hop> | ||
| 391 | + <hop> <from>班次类型字典 3</from><to>查找线路进场里程时间</to><enabled>Y</enabled> </hop> | ||
| 392 | + <hop> <from>查找路牌关联</from><to>计算班次类型</to><enabled>Y</enabled> </hop> | ||
| 393 | + <hop> <from>计算班次类型</from><to>按照班次类型过滤数据1</to><enabled>Y</enabled> </hop> | ||
| 394 | + <hop> <from>出场班次数据</from><to>查找停车场1</to><enabled>Y</enabled> </hop> | ||
| 395 | + <hop> <from>查找停车场1</from><to>出场班次_确定终点站名字</to><enabled>Y</enabled> </hop> | ||
| 396 | + <hop> <from>出场班次_确定终点站名字</from><to>查找出场终点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 397 | + <hop> <from>查找出场终点站关联并确定上下行</from><to>上下行字典 2</to><enabled>Y</enabled> </hop> | ||
| 398 | + <hop> <from>进场班次数据</from><to>查找停车场2</to><enabled>Y</enabled> </hop> | ||
| 399 | + <hop> <from>查找停车场2</from><to>进场班次_确定起点站名字</to><enabled>Y</enabled> </hop> | ||
| 400 | + <hop> <from>进场班次_确定起点站名字</from><to>查找进场班次上一个班次的线路方向</to><enabled>Y</enabled> </hop> | ||
| 401 | + <hop> <from>查找进场班次上一个班次的线路方向</from><to>查找进场班次上一个班次的终点站,并作为进场班次的起点站</to><enabled>Y</enabled> </hop> | ||
| 402 | + <hop> <from>字段选择</from><to>添加发车顺序号</to><enabled>Y</enabled> </hop> | ||
| 403 | + <hop> <from>分组各个路牌的站</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 404 | + <hop> <from>增加时刻表名字,线路名字,停车场名字</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 405 | + <hop> <from>班次数据范式化</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 406 | + <hop> <from>记录关联 (笛卡尔输出)</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 407 | + <hop> <from>类型修正</from><to>插入/更新bsth_c_s_ttinfo_detail</to><enabled>Y</enabled> </hop> | ||
| 408 | + <hop> <from>查找进场班次上一个班次的终点站,并作为进场班次的起点站</from><to>查找进场起点站关联确定上下行</to><enabled>Y</enabled> </hop> | ||
| 409 | + <hop> <from>查找进场起点站关联确定上下行</from><to>上下行字典 3</to><enabled>Y</enabled> </hop> | ||
| 410 | + <hop> <from>查找线路出场里程时间</from><to>匹配出场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 411 | + <hop> <from>查找线路进场里程时间</from><to>匹配进场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 412 | + <hop> <from>匹配出场班次里程时间</from><to>上下行NULL判定</to><enabled>Y</enabled> </hop> | ||
| 413 | + <hop> <from>上下行NULL判定</from><to>类型修正 2</to><enabled>Y</enabled> </hop> | ||
| 414 | + <hop> <from>类型修正 2</from><to>插入/更新bsth_c_s_ttinfo_detail 2</to><enabled>Y</enabled> </hop> | ||
| 415 | + <hop> <from>匹配进场班次里程时间</from><to>上下行判定 2</to><enabled>Y</enabled> </hop> | ||
| 416 | + <hop> <from>上下行判定 2</from><to>类型修正 3</to><enabled>Y</enabled> </hop> | ||
| 417 | + <hop> <from>类型修正 3</from><to>插入/更新bsth_c_s_ttinfo_detail 3</to><enabled>Y</enabled> </hop> | ||
| 418 | + </order> | ||
| 419 | + <step> | ||
| 420 | + <name>上下行NULL判定</name> | ||
| 421 | + <type>IfNull</type> | ||
| 422 | + <description/> | ||
| 423 | + <distribute>Y</distribute> | ||
| 424 | + <custom_distribution/> | ||
| 425 | + <copies>1</copies> | ||
| 426 | + <partitioning> | ||
| 427 | + <method>none</method> | ||
| 428 | + <schema_name/> | ||
| 429 | + </partitioning> | ||
| 430 | + <replaceAllByValue/> | ||
| 431 | + <replaceAllMask/> | ||
| 432 | + <selectFields>Y</selectFields> | ||
| 433 | + <selectValuesType>N</selectValuesType> | ||
| 434 | + <setEmptyStringAll>N</setEmptyStringAll> | ||
| 435 | + <valuetypes> | ||
| 436 | + </valuetypes> | ||
| 437 | + <fields> | ||
| 438 | + <field> | ||
| 439 | + <name>sxx</name> | ||
| 440 | + <value>0</value> | ||
| 441 | + <mask/> | ||
| 442 | + <set_empty_string>N</set_empty_string> | ||
| 443 | + </field> | ||
| 444 | + </fields> | ||
| 445 | + <cluster_schema/> | ||
| 446 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 447 | + <xloc>230</xloc> | ||
| 448 | + <yloc>946</yloc> | ||
| 449 | + <draw>Y</draw> | ||
| 450 | + </GUI> | ||
| 451 | + </step> | ||
| 452 | + | ||
| 453 | + <step> | ||
| 454 | + <name>上下行判定 2</name> | ||
| 455 | + <type>IfNull</type> | ||
| 456 | + <description/> | ||
| 457 | + <distribute>Y</distribute> | ||
| 458 | + <custom_distribution/> | ||
| 459 | + <copies>1</copies> | ||
| 460 | + <partitioning> | ||
| 461 | + <method>none</method> | ||
| 462 | + <schema_name/> | ||
| 463 | + </partitioning> | ||
| 464 | + <replaceAllByValue/> | ||
| 465 | + <replaceAllMask/> | ||
| 466 | + <selectFields>Y</selectFields> | ||
| 467 | + <selectValuesType>N</selectValuesType> | ||
| 468 | + <setEmptyStringAll>N</setEmptyStringAll> | ||
| 469 | + <valuetypes> | ||
| 470 | + </valuetypes> | ||
| 471 | + <fields> | ||
| 472 | + <field> | ||
| 473 | + <name>sxx2</name> | ||
| 474 | + <value>0</value> | ||
| 475 | + <mask/> | ||
| 476 | + <set_empty_string>N</set_empty_string> | ||
| 477 | + </field> | ||
| 478 | + </fields> | ||
| 479 | + <cluster_schema/> | ||
| 480 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 481 | + <xloc>804</xloc> | ||
| 482 | + <yloc>1081</yloc> | ||
| 483 | + <draw>Y</draw> | ||
| 484 | + </GUI> | ||
| 485 | + </step> | ||
| 486 | + | ||
| 487 | + <step> | ||
| 488 | + <name>上下行字典</name> | ||
| 489 | + <type>ValueMapper</type> | ||
| 490 | + <description/> | ||
| 491 | + <distribute>Y</distribute> | ||
| 492 | + <custom_distribution/> | ||
| 493 | + <copies>1</copies> | ||
| 494 | + <partitioning> | ||
| 495 | + <method>none</method> | ||
| 496 | + <schema_name/> | ||
| 497 | + </partitioning> | ||
| 498 | + <field_to_use>sxx</field_to_use> | ||
| 499 | + <target_field>sxx_desc</target_field> | ||
| 500 | + <non_match_default/> | ||
| 501 | + <fields> | ||
| 502 | + <field> | ||
| 503 | + <source_value>0</source_value> | ||
| 504 | + <target_value>上行</target_value> | ||
| 505 | + </field> | ||
| 506 | + <field> | ||
| 507 | + <source_value>1</source_value> | ||
| 508 | + <target_value>下行</target_value> | ||
| 509 | + </field> | ||
| 510 | + </fields> | ||
| 511 | + <cluster_schema/> | ||
| 512 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 513 | + <xloc>147</xloc> | ||
| 514 | + <yloc>403</yloc> | ||
| 515 | + <draw>Y</draw> | ||
| 516 | + </GUI> | ||
| 517 | + </step> | ||
| 518 | + | ||
| 519 | + <step> | ||
| 520 | + <name>上下行字典 2</name> | ||
| 521 | + <type>ValueMapper</type> | ||
| 522 | + <description/> | ||
| 523 | + <distribute>Y</distribute> | ||
| 524 | + <custom_distribution/> | ||
| 525 | + <copies>1</copies> | ||
| 526 | + <partitioning> | ||
| 527 | + <method>none</method> | ||
| 528 | + <schema_name/> | ||
| 529 | + </partitioning> | ||
| 530 | + <field_to_use>sxx</field_to_use> | ||
| 531 | + <target_field>sxx_desc</target_field> | ||
| 532 | + <non_match_default/> | ||
| 533 | + <fields> | ||
| 534 | + <field> | ||
| 535 | + <source_value>0</source_value> | ||
| 536 | + <target_value>上行</target_value> | ||
| 537 | + </field> | ||
| 538 | + <field> | ||
| 539 | + <source_value>1</source_value> | ||
| 540 | + <target_value>下行</target_value> | ||
| 541 | + </field> | ||
| 542 | + </fields> | ||
| 543 | + <cluster_schema/> | ||
| 544 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 545 | + <xloc>331</xloc> | ||
| 546 | + <yloc>598</yloc> | ||
| 547 | + <draw>Y</draw> | ||
| 548 | + </GUI> | ||
| 549 | + </step> | ||
| 550 | + | ||
| 551 | + <step> | ||
| 552 | + <name>上下行字典 3</name> | ||
| 553 | + <type>ValueMapper</type> | ||
| 554 | + <description/> | ||
| 555 | + <distribute>Y</distribute> | ||
| 556 | + <custom_distribution/> | ||
| 557 | + <copies>1</copies> | ||
| 558 | + <partitioning> | ||
| 559 | + <method>none</method> | ||
| 560 | + <schema_name/> | ||
| 561 | + </partitioning> | ||
| 562 | + <field_to_use>sxx</field_to_use> | ||
| 563 | + <target_field>sxx_desc</target_field> | ||
| 564 | + <non_match_default/> | ||
| 565 | + <fields> | ||
| 566 | + <field> | ||
| 567 | + <source_value>0</source_value> | ||
| 568 | + <target_value>上行</target_value> | ||
| 569 | + </field> | ||
| 570 | + <field> | ||
| 571 | + <source_value>1</source_value> | ||
| 572 | + <target_value>下行</target_value> | ||
| 573 | + </field> | ||
| 574 | + </fields> | ||
| 575 | + <cluster_schema/> | ||
| 576 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 577 | + <xloc>553</xloc> | ||
| 578 | + <yloc>859</yloc> | ||
| 579 | + <draw>Y</draw> | ||
| 580 | + </GUI> | ||
| 581 | + </step> | ||
| 582 | + | ||
| 583 | + <step> | ||
| 584 | + <name>出场班次_确定终点站名字</name> | ||
| 585 | + <type>ScriptValueMod</type> | ||
| 586 | + <description/> | ||
| 587 | + <distribute>Y</distribute> | ||
| 588 | + <custom_distribution/> | ||
| 589 | + <copies>1</copies> | ||
| 590 | + <partitioning> | ||
| 591 | + <method>none</method> | ||
| 592 | + <schema_name/> | ||
| 593 | + </partitioning> | ||
| 594 | + <compatible>N</compatible> | ||
| 595 | + <optimizationLevel>9</optimizationLevel> | ||
| 596 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 597 | + <jsScript_name>Script 1</jsScript_name> | ||
| 598 | + <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var zdzname = cc_groups[gno]; // 出场班次的终点站是下个班次的起始站
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 599 | + </jsScript> </jsScripts> <fields> <field> <name>zdzname</name> | ||
| 600 | + <rename>zdzname</rename> | ||
| 601 | + <type>String</type> | ||
| 602 | + <length>-1</length> | ||
| 603 | + <precision>-1</precision> | ||
| 604 | + <replace>N</replace> | ||
| 605 | + </field> <field> <name>endZdtype</name> | ||
| 606 | + <rename>endZdtype</rename> | ||
| 607 | + <type>String</type> | ||
| 608 | + <length>-1</length> | ||
| 609 | + <precision>-1</precision> | ||
| 610 | + <replace>N</replace> | ||
| 611 | + </field> <field> <name>destory</name> | ||
| 612 | + <rename>destory</rename> | ||
| 613 | + <type>Integer</type> | ||
| 614 | + <length>-1</length> | ||
| 615 | + <precision>-1</precision> | ||
| 616 | + <replace>N</replace> | ||
| 617 | + </field> </fields> <cluster_schema/> | ||
| 618 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 619 | + <xloc>575</xloc> | ||
| 620 | + <yloc>502</yloc> | ||
| 621 | + <draw>Y</draw> | ||
| 622 | + </GUI> | ||
| 623 | + </step> | ||
| 624 | + | ||
| 625 | + <step> | ||
| 626 | + <name>出场班次数据</name> | ||
| 627 | + <type>Dummy</type> | ||
| 628 | + <description/> | ||
| 629 | + <distribute>Y</distribute> | ||
| 630 | + <custom_distribution/> | ||
| 631 | + <copies>1</copies> | ||
| 632 | + <partitioning> | ||
| 633 | + <method>none</method> | ||
| 634 | + <schema_name/> | ||
| 635 | + </partitioning> | ||
| 636 | + <cluster_schema/> | ||
| 637 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 638 | + <xloc>869</xloc> | ||
| 639 | + <yloc>504</yloc> | ||
| 640 | + <draw>Y</draw> | ||
| 641 | + </GUI> | ||
| 642 | + </step> | ||
| 643 | + | ||
| 644 | + <step> | ||
| 645 | + <name>分组各个路牌的站</name> | ||
| 646 | + <type>GroupBy</type> | ||
| 647 | + <description/> | ||
| 648 | + <distribute>Y</distribute> | ||
| 649 | + <custom_distribution/> | ||
| 650 | + <copies>1</copies> | ||
| 651 | + <partitioning> | ||
| 652 | + <method>none</method> | ||
| 653 | + <schema_name/> | ||
| 654 | + </partitioning> | ||
| 655 | + <all_rows>Y</all_rows> | ||
| 656 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 657 | + <field_ignore/> | ||
| 658 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 659 | + <prefix>grp</prefix> | ||
| 660 | + <add_linenr>Y</add_linenr> | ||
| 661 | + <linenr_fieldname>gno</linenr_fieldname> | ||
| 662 | + <give_back_row>N</give_back_row> | ||
| 663 | + <group> | ||
| 664 | + <field> | ||
| 665 | + <name>lp</name> | ||
| 666 | + </field> | ||
| 667 | + </group> | ||
| 668 | + <fields> | ||
| 669 | + <field> | ||
| 670 | + <aggregate>qdzgroups</aggregate> | ||
| 671 | + <subject>qdzname</subject> | ||
| 672 | + <type>CONCAT_STRING</type> | ||
| 673 | + <valuefield>,</valuefield> | ||
| 674 | + </field> | ||
| 675 | + </fields> | ||
| 676 | + <cluster_schema/> | ||
| 677 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 678 | + <xloc>892</xloc> | ||
| 679 | + <yloc>44</yloc> | ||
| 680 | + <draw>Y</draw> | ||
| 681 | + </GUI> | ||
| 682 | + </step> | ||
| 683 | + | ||
| 684 | + <step> | ||
| 685 | + <name>匹配上下行正常班次里程时间</name> | ||
| 686 | + <type>ScriptValueMod</type> | ||
| 687 | + <description/> | ||
| 688 | + <distribute>Y</distribute> | ||
| 689 | + <custom_distribution/> | ||
| 690 | + <copies>1</copies> | ||
| 691 | + <partitioning> | ||
| 692 | + <method>none</method> | ||
| 693 | + <schema_name/> | ||
| 694 | + </partitioning> | ||
| 695 | + <compatible>N</compatible> | ||
| 696 | + <optimizationLevel>9</optimizationLevel> | ||
| 697 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 698 | + <jsScript_name>Script 1</jsScript_name> | ||
| 699 | + <jsScript_script>//Script here

var jhlc; // 计划里程
var bcsj; // 班次时间

// 时间范围正则表达式
var timeRex = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/;
// 发车时间转换成日期
var fcsj_hour = str2num(sendtime_calcu.substr(0, 2), "#");
var fcsj_min = str2num(sendtime_calcu.substr(3, 2), "#");
var fcsj_date = new Date(2000,1,1,fcsj_hour,fcsj_min,0);

// 判定是否早高峰
var isZgf = false;
if (timeRex.test(early_start_time) && timeRex.test(early_end_time) && early_up_time != null && early_down_time != null) {
 var early_s_hour = str2num(early_start_time.substr(0, 2), "#");
 var early_s_min = str2num(early_start_time.substr(3, 2), "#");
 var early_s_date = new Date(2000,1,1,early_s_hour,early_s_min,0);

 var early_e_hour = str2num(early_end_time.substr(0, 2), "#");
 var early_e_min = str2num(early_end_time.substr(3, 2), "#");
 var early_e_date = new Date(2000,1,1,early_e_hour,early_e_min,0);

 if (fcsj_date >= early_s_date && fcsj_date <= early_e_date) {
 isZgf = true;
 }
}

// 判定是否晚高峰
var isWgf = false;
if (timeRex.test(late_start_time) && timeRex.test(late_end_time) && late_up_time != null && late_down_time != null) {
 var late_s_hour = str2num(late_start_time.substr(0, 2), "#");
 var late_s_min = str2num(late_start_time.substr(3, 2), "#");
 var late_s_date = new Date(2000,1,1,late_s_hour,late_s_min,0);

 var late_e_hour = str2num(late_end_time.substr(0, 2), "#");
 var late_e_min = str2num(late_end_time.substr(3, 2), "#");
 var late_e_date = new Date(2000,1,1,late_e_hour,late_e_min,0);

 if (fcsj_date >= late_s_date && fcsj_date <= late_e_date) {
 isWgf = true;
 }
}

// 判定是否晚高峰

if (sxx == 0) { // 上行
 if (isZgf) {
 jhlc = up_mileage;
 bcsj = early_up_time != 0 ? early_up_time : up_travel_time;
 } else if (isWgf) {
 jhlc = up_mileage;
 bcsj = late_up_time != 0 ? late_up_time : up_travel_time;
 } else {
 jhlc = up_mileage;
 bcsj = up_travel_time;
 }
} else { // sxx == 1 下行
 if (isZgf) {
 jhlc = down_mileage;
 bcsj = early_down_time != 0 ? early_down_time : down_travel_time;
 } else if (isWgf) {
 jhlc = down_mileage;
 bcsj = late_down_time != 0 ? late_down_time : down_travel_time;
 } else {
 jhlc = down_mileage;
 bcsj = down_travel_time;
 }
}

</jsScript_script> | ||
| 700 | + </jsScript> </jsScripts> <fields> <field> <name>jhlc</name> | ||
| 701 | + <rename>jhlc</rename> | ||
| 702 | + <type>String</type> | ||
| 703 | + <length>-1</length> | ||
| 704 | + <precision>-1</precision> | ||
| 705 | + <replace>N</replace> | ||
| 706 | + </field> <field> <name>bcsj</name> | ||
| 707 | + <rename>bcsj</rename> | ||
| 708 | + <type>String</type> | ||
| 709 | + <length>-1</length> | ||
| 710 | + <precision>-1</precision> | ||
| 711 | + <replace>N</replace> | ||
| 712 | + </field> </fields> <cluster_schema/> | ||
| 713 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | + <xloc>148</xloc> | ||
| 715 | + <yloc>674</yloc> | ||
| 716 | + <draw>Y</draw> | ||
| 717 | + </GUI> | ||
| 718 | + </step> | ||
| 719 | + | ||
| 720 | + <step> | ||
| 721 | + <name>匹配出场班次里程时间</name> | ||
| 722 | + <type>ScriptValueMod</type> | ||
| 723 | + <description/> | ||
| 724 | + <distribute>Y</distribute> | ||
| 725 | + <custom_distribution/> | ||
| 726 | + <copies>1</copies> | ||
| 727 | + <partitioning> | ||
| 728 | + <method>none</method> | ||
| 729 | + <schema_name/> | ||
| 730 | + </partitioning> | ||
| 731 | + <compatible>N</compatible> | ||
| 732 | + <optimizationLevel>9</optimizationLevel> | ||
| 733 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 734 | + <jsScript_name>Script 1</jsScript_name> | ||
| 735 | + <jsScript_script>//Script here

var out_mileage; // 出场计划里程
var out_time; // 出场计划时间

if (sxx == 0) { // 上行
 out_mileage = up_out_mileage;
 out_time = up_out_timer;
} else { // sxx == 1 下行
 out_mileage = down_out_mileage;
 out_time = down_out_timer;
}



</jsScript_script> | ||
| 736 | + </jsScript> </jsScripts> <fields> <field> <name>out_mileage</name> | ||
| 737 | + <rename>out_mileage</rename> | ||
| 738 | + <type>String</type> | ||
| 739 | + <length>-1</length> | ||
| 740 | + <precision>-1</precision> | ||
| 741 | + <replace>N</replace> | ||
| 742 | + </field> <field> <name>out_time</name> | ||
| 743 | + <rename>out_time</rename> | ||
| 744 | + <type>String</type> | ||
| 745 | + <length>-1</length> | ||
| 746 | + <precision>-1</precision> | ||
| 747 | + <replace>N</replace> | ||
| 748 | + </field> </fields> <cluster_schema/> | ||
| 749 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 750 | + <xloc>336</xloc> | ||
| 751 | + <yloc>862</yloc> | ||
| 752 | + <draw>Y</draw> | ||
| 753 | + </GUI> | ||
| 754 | + </step> | ||
| 755 | + | ||
| 756 | + <step> | ||
| 757 | + <name>匹配进场班次里程时间</name> | ||
| 758 | + <type>ScriptValueMod</type> | ||
| 759 | + <description/> | ||
| 760 | + <distribute>Y</distribute> | ||
| 761 | + <custom_distribution/> | ||
| 762 | + <copies>1</copies> | ||
| 763 | + <partitioning> | ||
| 764 | + <method>none</method> | ||
| 765 | + <schema_name/> | ||
| 766 | + </partitioning> | ||
| 767 | + <compatible>N</compatible> | ||
| 768 | + <optimizationLevel>9</optimizationLevel> | ||
| 769 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 770 | + <jsScript_name>Script 1</jsScript_name> | ||
| 771 | + <jsScript_script>//Script here

var parade_mileage; // 进场计划里程
var parade_time; // 进场计划时间

if (sxx2 == 0) { // 上行
 parade_mileage = up_in_mileage;
 parade_time = up_in_timer;
} else { // sxx == 1 下行
 parade_mileage = down_in_mileage;
 parade_time = down_in_timer;
}



</jsScript_script> | ||
| 772 | + </jsScript> </jsScripts> <fields> <field> <name>parade_mileage</name> | ||
| 773 | + <rename>parade_mileage</rename> | ||
| 774 | + <type>String</type> | ||
| 775 | + <length>-1</length> | ||
| 776 | + <precision>-1</precision> | ||
| 777 | + <replace>N</replace> | ||
| 778 | + </field> <field> <name>parade_time</name> | ||
| 779 | + <rename>parade_time</rename> | ||
| 780 | + <type>String</type> | ||
| 781 | + <length>-1</length> | ||
| 782 | + <precision>-1</precision> | ||
| 783 | + <replace>N</replace> | ||
| 784 | + </field> </fields> <cluster_schema/> | ||
| 785 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 786 | + <xloc>726</xloc> | ||
| 787 | + <yloc>1005</yloc> | ||
| 788 | + <draw>Y</draw> | ||
| 789 | + </GUI> | ||
| 790 | + </step> | ||
| 791 | + | ||
| 792 | + <step> | ||
| 793 | + <name>增加时刻表名字,线路名字,停车场名字</name> | ||
| 794 | + <type>DataGrid</type> | ||
| 795 | + <description/> | ||
| 796 | + <distribute>Y</distribute> | ||
| 797 | + <custom_distribution/> | ||
| 798 | + <copies>1</copies> | ||
| 799 | + <partitioning> | ||
| 800 | + <method>none</method> | ||
| 801 | + <schema_name/> | ||
| 802 | + </partitioning> | ||
| 803 | + <fields> | ||
| 804 | + </fields> | ||
| 805 | + <data> | ||
| 806 | + <line> </line> | ||
| 807 | + </data> | ||
| 808 | + <cluster_schema/> | ||
| 809 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 810 | + <xloc>110</xloc> | ||
| 811 | + <yloc>133</yloc> | ||
| 812 | + <draw>Y</draw> | ||
| 813 | + </GUI> | ||
| 814 | + </step> | ||
| 815 | + | ||
| 816 | + <step> | ||
| 817 | + <name>处理数据</name> | ||
| 818 | + <type>ScriptValueMod</type> | ||
| 819 | + <description/> | ||
| 820 | + <distribute>Y</distribute> | ||
| 821 | + <custom_distribution/> | ||
| 822 | + <copies>1</copies> | ||
| 823 | + <partitioning> | ||
| 824 | + <method>none</method> | ||
| 825 | + <schema_name/> | ||
| 826 | + </partitioning> | ||
| 827 | + <compatible>N</compatible> | ||
| 828 | + <optimizationLevel>9</optimizationLevel> | ||
| 829 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 830 | + <jsScript_name>Script 1</jsScript_name> | ||
| 831 | + <jsScript_script>//Script here

// 使用正则表达式去除站点名称右侧多余的数字
qdzname = qdzname.replace(/(\d+$)/g,'');

// sendtime处理,hhmm,hh:mm,hh,mm
var sendtime_calcu;
if (sendtime.length == 5) { // 最长格式,包括分隔符,统一把分隔符替换成冒号
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(3, 2);
} else if (sendtime.length == 4) {
 if (sendtime.indexOf(":") > 0) { // 冒号分隔,无需修改
 sendtime_calcu = sendtime;
 } else if (sendtime.indexOf(",") > 0) { // 逗号分隔,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(2, 2);
 } else { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(2, 2);
 }
} else if (sendtime.length == 3) { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(1, 2);
}

// 设置分班
var isfb = 0;

// 设置停驶
var ists = 0;

// 设置isCanceled
var iscanceled = 0;</jsScript_script> | ||
| 832 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname</name> | ||
| 833 | + <rename>qdzname</rename> | ||
| 834 | + <type>String</type> | ||
| 835 | + <length>-1</length> | ||
| 836 | + <precision>-1</precision> | ||
| 837 | + <replace>Y</replace> | ||
| 838 | + </field> <field> <name>isfb</name> | ||
| 839 | + <rename>isfb</rename> | ||
| 840 | + <type>Integer</type> | ||
| 841 | + <length>-1</length> | ||
| 842 | + <precision>-1</precision> | ||
| 843 | + <replace>N</replace> | ||
| 844 | + </field> <field> <name>iscanceled</name> | ||
| 845 | + <rename>iscanceled</rename> | ||
| 846 | + <type>Integer</type> | ||
| 847 | + <length>-1</length> | ||
| 848 | + <precision>-1</precision> | ||
| 849 | + <replace>N</replace> | ||
| 850 | + </field> <field> <name>sendtime_calcu</name> | ||
| 851 | + <rename>sendtime_calcu</rename> | ||
| 852 | + <type>String</type> | ||
| 853 | + <length>-1</length> | ||
| 854 | + <precision>-1</precision> | ||
| 855 | + <replace>N</replace> | ||
| 856 | + </field> <field> <name>ists</name> | ||
| 857 | + <rename>ists</rename> | ||
| 858 | + <type>Integer</type> | ||
| 859 | + <length>-1</length> | ||
| 860 | + <precision>-1</precision> | ||
| 861 | + <replace>N</replace> | ||
| 862 | + </field> </fields> <cluster_schema/> | ||
| 863 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 864 | + <xloc>788</xloc> | ||
| 865 | + <yloc>44</yloc> | ||
| 866 | + <draw>Y</draw> | ||
| 867 | + </GUI> | ||
| 868 | + </step> | ||
| 869 | + | ||
| 870 | + <step> | ||
| 871 | + <name>字段选择</name> | ||
| 872 | + <type>SelectValues</type> | ||
| 873 | + <description/> | ||
| 874 | + <distribute>Y</distribute> | ||
| 875 | + <custom_distribution/> | ||
| 876 | + <copies>1</copies> | ||
| 877 | + <partitioning> | ||
| 878 | + <method>none</method> | ||
| 879 | + <schema_name/> | ||
| 880 | + </partitioning> | ||
| 881 | + <fields> <field> <name>路牌</name> | ||
| 882 | + <rename>lp</rename> | ||
| 883 | + <length>-2</length> | ||
| 884 | + <precision>-2</precision> | ||
| 885 | + </field> <field> <name>站点名称</name> | ||
| 886 | + <rename>qdzname</rename> | ||
| 887 | + <length>-2</length> | ||
| 888 | + <precision>-2</precision> | ||
| 889 | + </field> <field> <name>发车时间</name> | ||
| 890 | + <rename>sendtime</rename> | ||
| 891 | + <length>-2</length> | ||
| 892 | + <precision>-2</precision> | ||
| 893 | + </field> <select_unspecified>Y</select_unspecified> | ||
| 894 | + </fields> <cluster_schema/> | ||
| 895 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 896 | + <xloc>444</xloc> | ||
| 897 | + <yloc>131</yloc> | ||
| 898 | + <draw>Y</draw> | ||
| 899 | + </GUI> | ||
| 900 | + </step> | ||
| 901 | + | ||
| 902 | + <step> | ||
| 903 | + <name>按照班次类型过滤数据1</name> | ||
| 904 | + <type>FilterRows</type> | ||
| 905 | + <description/> | ||
| 906 | + <distribute>Y</distribute> | ||
| 907 | + <custom_distribution/> | ||
| 908 | + <copies>1</copies> | ||
| 909 | + <partitioning> | ||
| 910 | + <method>none</method> | ||
| 911 | + <schema_name/> | ||
| 912 | + </partitioning> | ||
| 913 | +<send_true_to>正常班次数据</send_true_to> | ||
| 914 | +<send_false_to>按照班次类型过滤数据2</send_false_to> | ||
| 915 | + <compare> | ||
| 916 | +<condition> | ||
| 917 | + <negated>N</negated> | ||
| 918 | + <leftvalue>bctype</leftvalue> | ||
| 919 | + <function>=</function> | ||
| 920 | + <rightvalue/> | ||
| 921 | + <value><name>constant</name><type>String</type><text>正常班次</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 922 | + </compare> | ||
| 923 | + <cluster_schema/> | ||
| 924 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 925 | + <xloc>860</xloc> | ||
| 926 | + <yloc>401</yloc> | ||
| 927 | + <draw>Y</draw> | ||
| 928 | + </GUI> | ||
| 929 | + </step> | ||
| 930 | + | ||
| 931 | + <step> | ||
| 932 | + <name>按照班次类型过滤数据2</name> | ||
| 933 | + <type>FilterRows</type> | ||
| 934 | + <description/> | ||
| 935 | + <distribute>Y</distribute> | ||
| 936 | + <custom_distribution/> | ||
| 937 | + <copies>1</copies> | ||
| 938 | + <partitioning> | ||
| 939 | + <method>none</method> | ||
| 940 | + <schema_name/> | ||
| 941 | + </partitioning> | ||
| 942 | +<send_true_to>出场班次数据</send_true_to> | ||
| 943 | +<send_false_to>进场班次数据</send_false_to> | ||
| 944 | + <compare> | ||
| 945 | +<condition> | ||
| 946 | + <negated>N</negated> | ||
| 947 | + <leftvalue>bctype</leftvalue> | ||
| 948 | + <function>=</function> | ||
| 949 | + <rightvalue/> | ||
| 950 | + <value><name>constant</name><type>String</type><text>出场</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 951 | + </compare> | ||
| 952 | + <cluster_schema/> | ||
| 953 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 954 | + <xloc>995</xloc> | ||
| 955 | + <yloc>503</yloc> | ||
| 956 | + <draw>Y</draw> | ||
| 957 | + </GUI> | ||
| 958 | + </step> | ||
| 959 | + | ||
| 960 | + <step> | ||
| 961 | + <name>插入/更新bsth_c_s_ttinfo_detail</name> | ||
| 962 | + <type>InsertUpdate</type> | ||
| 963 | + <description/> | ||
| 964 | + <distribute>Y</distribute> | ||
| 965 | + <custom_distribution/> | ||
| 966 | + <copies>1</copies> | ||
| 967 | + <partitioning> | ||
| 968 | + <method>none</method> | ||
| 969 | + <schema_name/> | ||
| 970 | + </partitioning> | ||
| 971 | + <connection>bus_control_variable</connection> | ||
| 972 | + <commit>100</commit> | ||
| 973 | + <update_bypassed>N</update_bypassed> | ||
| 974 | + <lookup> | ||
| 975 | + <schema/> | ||
| 976 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 977 | + <key> | ||
| 978 | + <name>xlid</name> | ||
| 979 | + <field>xl</field> | ||
| 980 | + <condition>=</condition> | ||
| 981 | + <name2/> | ||
| 982 | + </key> | ||
| 983 | + <key> | ||
| 984 | + <name>ttid</name> | ||
| 985 | + <field>ttinfo</field> | ||
| 986 | + <condition>=</condition> | ||
| 987 | + <name2/> | ||
| 988 | + </key> | ||
| 989 | + <key> | ||
| 990 | + <name>lpid</name> | ||
| 991 | + <field>lp</field> | ||
| 992 | + <condition>=</condition> | ||
| 993 | + <name2/> | ||
| 994 | + </key> | ||
| 995 | + <key> | ||
| 996 | + <name>fcno</name> | ||
| 997 | + <field>fcno</field> | ||
| 998 | + <condition>=</condition> | ||
| 999 | + <name2/> | ||
| 1000 | + </key> | ||
| 1001 | + <key> | ||
| 1002 | + <name>bcs</name> | ||
| 1003 | + <field>bcs</field> | ||
| 1004 | + <condition>=</condition> | ||
| 1005 | + <name2/> | ||
| 1006 | + </key> | ||
| 1007 | + <value> | ||
| 1008 | + <name>lp</name> | ||
| 1009 | + <rename>lpid</rename> | ||
| 1010 | + <update>Y</update> | ||
| 1011 | + </value> | ||
| 1012 | + <value> | ||
| 1013 | + <name>bc_type</name> | ||
| 1014 | + <rename>bctype_code</rename> | ||
| 1015 | + <update>Y</update> | ||
| 1016 | + </value> | ||
| 1017 | + <value> | ||
| 1018 | + <name>bcs</name> | ||
| 1019 | + <rename>bcs</rename> | ||
| 1020 | + <update>Y</update> | ||
| 1021 | + </value> | ||
| 1022 | + <value> | ||
| 1023 | + <name>bcsj</name> | ||
| 1024 | + <rename>bcsj</rename> | ||
| 1025 | + <update>Y</update> | ||
| 1026 | + </value> | ||
| 1027 | + <value> | ||
| 1028 | + <name>fcno</name> | ||
| 1029 | + <rename>fcno</rename> | ||
| 1030 | + <update>Y</update> | ||
| 1031 | + </value> | ||
| 1032 | + <value> | ||
| 1033 | + <name>jhlc</name> | ||
| 1034 | + <rename>jhlc</rename> | ||
| 1035 | + <update>Y</update> | ||
| 1036 | + </value> | ||
| 1037 | + <value> | ||
| 1038 | + <name>fcsj</name> | ||
| 1039 | + <rename>sendtime_calcu</rename> | ||
| 1040 | + <update>Y</update> | ||
| 1041 | + </value> | ||
| 1042 | + <value> | ||
| 1043 | + <name>ttinfo</name> | ||
| 1044 | + <rename>ttid</rename> | ||
| 1045 | + <update>Y</update> | ||
| 1046 | + </value> | ||
| 1047 | + <value> | ||
| 1048 | + <name>xl</name> | ||
| 1049 | + <rename>xlid</rename> | ||
| 1050 | + <update>Y</update> | ||
| 1051 | + </value> | ||
| 1052 | + <value> | ||
| 1053 | + <name>qdz</name> | ||
| 1054 | + <rename>qdzid</rename> | ||
| 1055 | + <update>Y</update> | ||
| 1056 | + </value> | ||
| 1057 | + <value> | ||
| 1058 | + <name>zdz</name> | ||
| 1059 | + <rename>zdzid</rename> | ||
| 1060 | + <update>Y</update> | ||
| 1061 | + </value> | ||
| 1062 | + <value> | ||
| 1063 | + <name>xl_dir</name> | ||
| 1064 | + <rename>sxx</rename> | ||
| 1065 | + <update>Y</update> | ||
| 1066 | + </value> | ||
| 1067 | + <value> | ||
| 1068 | + <name>isfb</name> | ||
| 1069 | + <rename>isfb</rename> | ||
| 1070 | + <update>Y</update> | ||
| 1071 | + </value> | ||
| 1072 | + <value> | ||
| 1073 | + <name>qdz_code</name> | ||
| 1074 | + <rename>qdzcode</rename> | ||
| 1075 | + <update>Y</update> | ||
| 1076 | + </value> | ||
| 1077 | + <value> | ||
| 1078 | + <name>qdz_name</name> | ||
| 1079 | + <rename>qdzname</rename> | ||
| 1080 | + <update>Y</update> | ||
| 1081 | + </value> | ||
| 1082 | + <value> | ||
| 1083 | + <name>zdz_code</name> | ||
| 1084 | + <rename>zdzcode</rename> | ||
| 1085 | + <update>Y</update> | ||
| 1086 | + </value> | ||
| 1087 | + <value> | ||
| 1088 | + <name>zdz_name</name> | ||
| 1089 | + <rename>zdzname</rename> | ||
| 1090 | + <update>Y</update> | ||
| 1091 | + </value> | ||
| 1092 | + <value> | ||
| 1093 | + <name>ists</name> | ||
| 1094 | + <rename>ists</rename> | ||
| 1095 | + <update>Y</update> | ||
| 1096 | + </value> | ||
| 1097 | + </lookup> | ||
| 1098 | + <cluster_schema/> | ||
| 1099 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1100 | + <xloc>143</xloc> | ||
| 1101 | + <yloc>860</yloc> | ||
| 1102 | + <draw>Y</draw> | ||
| 1103 | + </GUI> | ||
| 1104 | + </step> | ||
| 1105 | + | ||
| 1106 | + <step> | ||
| 1107 | + <name>插入/更新bsth_c_s_ttinfo_detail 2</name> | ||
| 1108 | + <type>InsertUpdate</type> | ||
| 1109 | + <description/> | ||
| 1110 | + <distribute>Y</distribute> | ||
| 1111 | + <custom_distribution/> | ||
| 1112 | + <copies>1</copies> | ||
| 1113 | + <partitioning> | ||
| 1114 | + <method>none</method> | ||
| 1115 | + <schema_name/> | ||
| 1116 | + </partitioning> | ||
| 1117 | + <connection>bus_control_variable</connection> | ||
| 1118 | + <commit>100</commit> | ||
| 1119 | + <update_bypassed>N</update_bypassed> | ||
| 1120 | + <lookup> | ||
| 1121 | + <schema/> | ||
| 1122 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 1123 | + <key> | ||
| 1124 | + <name>xlid</name> | ||
| 1125 | + <field>xl</field> | ||
| 1126 | + <condition>=</condition> | ||
| 1127 | + <name2/> | ||
| 1128 | + </key> | ||
| 1129 | + <key> | ||
| 1130 | + <name>ttid</name> | ||
| 1131 | + <field>ttinfo</field> | ||
| 1132 | + <condition>=</condition> | ||
| 1133 | + <name2/> | ||
| 1134 | + </key> | ||
| 1135 | + <key> | ||
| 1136 | + <name>lpid</name> | ||
| 1137 | + <field>lp</field> | ||
| 1138 | + <condition>=</condition> | ||
| 1139 | + <name2/> | ||
| 1140 | + </key> | ||
| 1141 | + <key> | ||
| 1142 | + <name>fcno</name> | ||
| 1143 | + <field>fcno</field> | ||
| 1144 | + <condition>=</condition> | ||
| 1145 | + <name2/> | ||
| 1146 | + </key> | ||
| 1147 | + <key> | ||
| 1148 | + <name>bcs</name> | ||
| 1149 | + <field>bcs</field> | ||
| 1150 | + <condition>=</condition> | ||
| 1151 | + <name2/> | ||
| 1152 | + </key> | ||
| 1153 | + <value> | ||
| 1154 | + <name>tcc</name> | ||
| 1155 | + <rename>qdzid</rename> | ||
| 1156 | + <update>Y</update> | ||
| 1157 | + </value> | ||
| 1158 | + <value> | ||
| 1159 | + <name>zdz</name> | ||
| 1160 | + <rename>zdzid</rename> | ||
| 1161 | + <update>Y</update> | ||
| 1162 | + </value> | ||
| 1163 | + <value> | ||
| 1164 | + <name>xl</name> | ||
| 1165 | + <rename>xlid</rename> | ||
| 1166 | + <update>Y</update> | ||
| 1167 | + </value> | ||
| 1168 | + <value> | ||
| 1169 | + <name>ttinfo</name> | ||
| 1170 | + <rename>ttid</rename> | ||
| 1171 | + <update>Y</update> | ||
| 1172 | + </value> | ||
| 1173 | + <value> | ||
| 1174 | + <name>xl_dir</name> | ||
| 1175 | + <rename>sxx</rename> | ||
| 1176 | + <update>Y</update> | ||
| 1177 | + </value> | ||
| 1178 | + <value> | ||
| 1179 | + <name>lp</name> | ||
| 1180 | + <rename>lpid</rename> | ||
| 1181 | + <update>Y</update> | ||
| 1182 | + </value> | ||
| 1183 | + <value> | ||
| 1184 | + <name>jhlc</name> | ||
| 1185 | + <rename>out_mileage</rename> | ||
| 1186 | + <update>Y</update> | ||
| 1187 | + </value> | ||
| 1188 | + <value> | ||
| 1189 | + <name>fcsj</name> | ||
| 1190 | + <rename>sendtime_calcu</rename> | ||
| 1191 | + <update>Y</update> | ||
| 1192 | + </value> | ||
| 1193 | + <value> | ||
| 1194 | + <name>bcsj</name> | ||
| 1195 | + <rename>out_time</rename> | ||
| 1196 | + <update>Y</update> | ||
| 1197 | + </value> | ||
| 1198 | + <value> | ||
| 1199 | + <name>bcs</name> | ||
| 1200 | + <rename>bcs</rename> | ||
| 1201 | + <update>Y</update> | ||
| 1202 | + </value> | ||
| 1203 | + <value> | ||
| 1204 | + <name>fcno</name> | ||
| 1205 | + <rename>fcno</rename> | ||
| 1206 | + <update>Y</update> | ||
| 1207 | + </value> | ||
| 1208 | + <value> | ||
| 1209 | + <name>bc_type</name> | ||
| 1210 | + <rename>bctype_code</rename> | ||
| 1211 | + <update>Y</update> | ||
| 1212 | + </value> | ||
| 1213 | + <value> | ||
| 1214 | + <name>isfb</name> | ||
| 1215 | + <rename>isfb</rename> | ||
| 1216 | + <update>Y</update> | ||
| 1217 | + </value> | ||
| 1218 | + <value> | ||
| 1219 | + <name>qdz_code</name> | ||
| 1220 | + <rename>qdzcode</rename> | ||
| 1221 | + <update>Y</update> | ||
| 1222 | + </value> | ||
| 1223 | + <value> | ||
| 1224 | + <name>qdz_name</name> | ||
| 1225 | + <rename>tn</rename> | ||
| 1226 | + <update>Y</update> | ||
| 1227 | + </value> | ||
| 1228 | + <value> | ||
| 1229 | + <name>zdz_code</name> | ||
| 1230 | + <rename>zdzcode</rename> | ||
| 1231 | + <update>Y</update> | ||
| 1232 | + </value> | ||
| 1233 | + <value> | ||
| 1234 | + <name>zdz_name</name> | ||
| 1235 | + <rename>zdzname</rename> | ||
| 1236 | + <update>Y</update> | ||
| 1237 | + </value> | ||
| 1238 | + <value> | ||
| 1239 | + <name>ists</name> | ||
| 1240 | + <rename>ists</rename> | ||
| 1241 | + <update>Y</update> | ||
| 1242 | + </value> | ||
| 1243 | + </lookup> | ||
| 1244 | + <cluster_schema/> | ||
| 1245 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1246 | + <xloc>340</xloc> | ||
| 1247 | + <yloc>1087</yloc> | ||
| 1248 | + <draw>Y</draw> | ||
| 1249 | + </GUI> | ||
| 1250 | + </step> | ||
| 1251 | + | ||
| 1252 | + <step> | ||
| 1253 | + <name>插入/更新bsth_c_s_ttinfo_detail 3</name> | ||
| 1254 | + <type>InsertUpdate</type> | ||
| 1255 | + <description/> | ||
| 1256 | + <distribute>Y</distribute> | ||
| 1257 | + <custom_distribution/> | ||
| 1258 | + <copies>1</copies> | ||
| 1259 | + <partitioning> | ||
| 1260 | + <method>none</method> | ||
| 1261 | + <schema_name/> | ||
| 1262 | + </partitioning> | ||
| 1263 | + <connection>bus_control_variable</connection> | ||
| 1264 | + <commit>100</commit> | ||
| 1265 | + <update_bypassed>N</update_bypassed> | ||
| 1266 | + <lookup> | ||
| 1267 | + <schema/> | ||
| 1268 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 1269 | + <key> | ||
| 1270 | + <name>xlid</name> | ||
| 1271 | + <field>xl</field> | ||
| 1272 | + <condition>=</condition> | ||
| 1273 | + <name2/> | ||
| 1274 | + </key> | ||
| 1275 | + <key> | ||
| 1276 | + <name>ttid</name> | ||
| 1277 | + <field>ttinfo</field> | ||
| 1278 | + <condition>=</condition> | ||
| 1279 | + <name2/> | ||
| 1280 | + </key> | ||
| 1281 | + <key> | ||
| 1282 | + <name>lpid</name> | ||
| 1283 | + <field>lp</field> | ||
| 1284 | + <condition>=</condition> | ||
| 1285 | + <name2/> | ||
| 1286 | + </key> | ||
| 1287 | + <key> | ||
| 1288 | + <name>fcno</name> | ||
| 1289 | + <field>fcno</field> | ||
| 1290 | + <condition>=</condition> | ||
| 1291 | + <name2/> | ||
| 1292 | + </key> | ||
| 1293 | + <key> | ||
| 1294 | + <name>bcs</name> | ||
| 1295 | + <field>bcs</field> | ||
| 1296 | + <condition>=</condition> | ||
| 1297 | + <name2/> | ||
| 1298 | + </key> | ||
| 1299 | + <value> | ||
| 1300 | + <name>fcno</name> | ||
| 1301 | + <rename>fcno</rename> | ||
| 1302 | + <update>Y</update> | ||
| 1303 | + </value> | ||
| 1304 | + <value> | ||
| 1305 | + <name>bcs</name> | ||
| 1306 | + <rename>bcs</rename> | ||
| 1307 | + <update>Y</update> | ||
| 1308 | + </value> | ||
| 1309 | + <value> | ||
| 1310 | + <name>xl</name> | ||
| 1311 | + <rename>xlid</rename> | ||
| 1312 | + <update>Y</update> | ||
| 1313 | + </value> | ||
| 1314 | + <value> | ||
| 1315 | + <name>ttinfo</name> | ||
| 1316 | + <rename>ttid</rename> | ||
| 1317 | + <update>Y</update> | ||
| 1318 | + </value> | ||
| 1319 | + <value> | ||
| 1320 | + <name>lp</name> | ||
| 1321 | + <rename>lpid</rename> | ||
| 1322 | + <update>Y</update> | ||
| 1323 | + </value> | ||
| 1324 | + <value> | ||
| 1325 | + <name>bc_type</name> | ||
| 1326 | + <rename>bctype_code</rename> | ||
| 1327 | + <update>Y</update> | ||
| 1328 | + </value> | ||
| 1329 | + <value> | ||
| 1330 | + <name>bcsj</name> | ||
| 1331 | + <rename>parade_time</rename> | ||
| 1332 | + <update>Y</update> | ||
| 1333 | + </value> | ||
| 1334 | + <value> | ||
| 1335 | + <name>jhlc</name> | ||
| 1336 | + <rename>parade_mileage</rename> | ||
| 1337 | + <update>Y</update> | ||
| 1338 | + </value> | ||
| 1339 | + <value> | ||
| 1340 | + <name>fcsj</name> | ||
| 1341 | + <rename>sendtime_calcu</rename> | ||
| 1342 | + <update>Y</update> | ||
| 1343 | + </value> | ||
| 1344 | + <value> | ||
| 1345 | + <name>xl_dir</name> | ||
| 1346 | + <rename>sxx2</rename> | ||
| 1347 | + <update>Y</update> | ||
| 1348 | + </value> | ||
| 1349 | + <value> | ||
| 1350 | + <name>qdz</name> | ||
| 1351 | + <rename>qdzid</rename> | ||
| 1352 | + <update>Y</update> | ||
| 1353 | + </value> | ||
| 1354 | + <value> | ||
| 1355 | + <name>tcc</name> | ||
| 1356 | + <rename>zdzid</rename> | ||
| 1357 | + <update>Y</update> | ||
| 1358 | + </value> | ||
| 1359 | + <value> | ||
| 1360 | + <name>isfb</name> | ||
| 1361 | + <rename>isfb</rename> | ||
| 1362 | + <update>Y</update> | ||
| 1363 | + </value> | ||
| 1364 | + <value> | ||
| 1365 | + <name>qdz_code</name> | ||
| 1366 | + <rename>qdzcode</rename> | ||
| 1367 | + <update>Y</update> | ||
| 1368 | + </value> | ||
| 1369 | + <value> | ||
| 1370 | + <name>qdz_name</name> | ||
| 1371 | + <rename>qname</rename> | ||
| 1372 | + <update>Y</update> | ||
| 1373 | + </value> | ||
| 1374 | + <value> | ||
| 1375 | + <name>zdz_code</name> | ||
| 1376 | + <rename>zdzcode</rename> | ||
| 1377 | + <update>Y</update> | ||
| 1378 | + </value> | ||
| 1379 | + <value> | ||
| 1380 | + <name>zdz_name</name> | ||
| 1381 | + <rename>tn</rename> | ||
| 1382 | + <update>Y</update> | ||
| 1383 | + </value> | ||
| 1384 | + <value> | ||
| 1385 | + <name>ists</name> | ||
| 1386 | + <rename>ists</rename> | ||
| 1387 | + <update>Y</update> | ||
| 1388 | + </value> | ||
| 1389 | + </lookup> | ||
| 1390 | + <cluster_schema/> | ||
| 1391 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1392 | + <xloc>845</xloc> | ||
| 1393 | + <yloc>899</yloc> | ||
| 1394 | + <draw>Y</draw> | ||
| 1395 | + </GUI> | ||
| 1396 | + </step> | ||
| 1397 | + | ||
| 1398 | + <step> | ||
| 1399 | + <name>时刻表明细信息Excel输入</name> | ||
| 1400 | + <type>ExcelInput</type> | ||
| 1401 | + <description/> | ||
| 1402 | + <distribute>N</distribute> | ||
| 1403 | + <custom_distribution/> | ||
| 1404 | + <copies>1</copies> | ||
| 1405 | + <partitioning> | ||
| 1406 | + <method>none</method> | ||
| 1407 | + <schema_name/> | ||
| 1408 | + </partitioning> | ||
| 1409 | + <header>Y</header> | ||
| 1410 | + <noempty>Y</noempty> | ||
| 1411 | + <stoponempty>N</stoponempty> | ||
| 1412 | + <filefield/> | ||
| 1413 | + <sheetfield/> | ||
| 1414 | + <sheetrownumfield/> | ||
| 1415 | + <rownumfield/> | ||
| 1416 | + <sheetfield/> | ||
| 1417 | + <filefield/> | ||
| 1418 | + <limit>0</limit> | ||
| 1419 | + <encoding/> | ||
| 1420 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 1421 | + <accept_filenames>N</accept_filenames> | ||
| 1422 | + <accept_field/> | ||
| 1423 | + <accept_stepname/> | ||
| 1424 | + <file> | ||
| 1425 | + <name/> | ||
| 1426 | + <filemask/> | ||
| 1427 | + <exclude_filemask/> | ||
| 1428 | + <file_required>N</file_required> | ||
| 1429 | + <include_subfolders>N</include_subfolders> | ||
| 1430 | + </file> | ||
| 1431 | + <fields> | ||
| 1432 | + </fields> | ||
| 1433 | + <sheets> | ||
| 1434 | + <sheet> | ||
| 1435 | + <name/> | ||
| 1436 | + <startrow>0</startrow> | ||
| 1437 | + <startcol>0</startcol> | ||
| 1438 | + </sheet> | ||
| 1439 | + </sheets> | ||
| 1440 | + <strict_types>N</strict_types> | ||
| 1441 | + <error_ignored>N</error_ignored> | ||
| 1442 | + <error_line_skipped>N</error_line_skipped> | ||
| 1443 | + <bad_line_files_destination_directory/> | ||
| 1444 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 1445 | + <error_line_files_destination_directory/> | ||
| 1446 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 1447 | + <line_number_files_destination_directory/> | ||
| 1448 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 1449 | + <shortFileFieldName/> | ||
| 1450 | + <pathFieldName/> | ||
| 1451 | + <hiddenFieldName/> | ||
| 1452 | + <lastModificationTimeFieldName/> | ||
| 1453 | + <uriNameFieldName/> | ||
| 1454 | + <rootUriNameFieldName/> | ||
| 1455 | + <extensionFieldName/> | ||
| 1456 | + <sizeFieldName/> | ||
| 1457 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 1458 | + <cluster_schema/> | ||
| 1459 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1460 | + <xloc>112</xloc> | ||
| 1461 | + <yloc>44</yloc> | ||
| 1462 | + <draw>Y</draw> | ||
| 1463 | + </GUI> | ||
| 1464 | + </step> | ||
| 1465 | + | ||
| 1466 | + <step> | ||
| 1467 | + <name>查找停车场1</name> | ||
| 1468 | + <type>DBLookup</type> | ||
| 1469 | + <description/> | ||
| 1470 | + <distribute>Y</distribute> | ||
| 1471 | + <custom_distribution/> | ||
| 1472 | + <copies>1</copies> | ||
| 1473 | + <partitioning> | ||
| 1474 | + <method>none</method> | ||
| 1475 | + <schema_name/> | ||
| 1476 | + </partitioning> | ||
| 1477 | + <connection>bus_control_variable</connection> | ||
| 1478 | + <cache>N</cache> | ||
| 1479 | + <cache_load_all>N</cache_load_all> | ||
| 1480 | + <cache_size>0</cache_size> | ||
| 1481 | + <lookup> | ||
| 1482 | + <schema/> | ||
| 1483 | + <table>bsth_c_car_park</table> | ||
| 1484 | + <orderby/> | ||
| 1485 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1486 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1487 | + <key> | ||
| 1488 | + <name>tccname_</name> | ||
| 1489 | + <field>park_name</field> | ||
| 1490 | + <condition>=</condition> | ||
| 1491 | + <name2/> | ||
| 1492 | + </key> | ||
| 1493 | + <value> | ||
| 1494 | + <name>id</name> | ||
| 1495 | + <rename>qdzid</rename> | ||
| 1496 | + <default/> | ||
| 1497 | + <type>Integer</type> | ||
| 1498 | + </value> | ||
| 1499 | + <value> | ||
| 1500 | + <name>park_code</name> | ||
| 1501 | + <rename>qdzcode</rename> | ||
| 1502 | + <default/> | ||
| 1503 | + <type>String</type> | ||
| 1504 | + </value> | ||
| 1505 | + <value> | ||
| 1506 | + <name>park_name</name> | ||
| 1507 | + <rename>tn</rename> | ||
| 1508 | + <default/> | ||
| 1509 | + <type>String</type> | ||
| 1510 | + </value> | ||
| 1511 | + </lookup> | ||
| 1512 | + <cluster_schema/> | ||
| 1513 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1514 | + <xloc>755</xloc> | ||
| 1515 | + <yloc>504</yloc> | ||
| 1516 | + <draw>Y</draw> | ||
| 1517 | + </GUI> | ||
| 1518 | + </step> | ||
| 1519 | + | ||
| 1520 | + <step> | ||
| 1521 | + <name>查找停车场2</name> | ||
| 1522 | + <type>DBLookup</type> | ||
| 1523 | + <description/> | ||
| 1524 | + <distribute>Y</distribute> | ||
| 1525 | + <custom_distribution/> | ||
| 1526 | + <copies>1</copies> | ||
| 1527 | + <partitioning> | ||
| 1528 | + <method>none</method> | ||
| 1529 | + <schema_name/> | ||
| 1530 | + </partitioning> | ||
| 1531 | + <connection>bus_control_variable</connection> | ||
| 1532 | + <cache>N</cache> | ||
| 1533 | + <cache_load_all>N</cache_load_all> | ||
| 1534 | + <cache_size>0</cache_size> | ||
| 1535 | + <lookup> | ||
| 1536 | + <schema/> | ||
| 1537 | + <table>bsth_c_car_park</table> | ||
| 1538 | + <orderby/> | ||
| 1539 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1540 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1541 | + <key> | ||
| 1542 | + <name>tccname_</name> | ||
| 1543 | + <field>park_name</field> | ||
| 1544 | + <condition>=</condition> | ||
| 1545 | + <name2/> | ||
| 1546 | + </key> | ||
| 1547 | + <value> | ||
| 1548 | + <name>id</name> | ||
| 1549 | + <rename>zdzid</rename> | ||
| 1550 | + <default/> | ||
| 1551 | + <type>Integer</type> | ||
| 1552 | + </value> | ||
| 1553 | + <value> | ||
| 1554 | + <name>park_code</name> | ||
| 1555 | + <rename>zdzcode</rename> | ||
| 1556 | + <default/> | ||
| 1557 | + <type>String</type> | ||
| 1558 | + </value> | ||
| 1559 | + <value> | ||
| 1560 | + <name>park_name</name> | ||
| 1561 | + <rename>tn</rename> | ||
| 1562 | + <default/> | ||
| 1563 | + <type>String</type> | ||
| 1564 | + </value> | ||
| 1565 | + </lookup> | ||
| 1566 | + <cluster_schema/> | ||
| 1567 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1568 | + <xloc>887</xloc> | ||
| 1569 | + <yloc>608</yloc> | ||
| 1570 | + <draw>Y</draw> | ||
| 1571 | + </GUI> | ||
| 1572 | + </step> | ||
| 1573 | + | ||
| 1574 | + <step> | ||
| 1575 | + <name>查找出场终点站关联并确定上下行</name> | ||
| 1576 | + <type>DBLookup</type> | ||
| 1577 | + <description/> | ||
| 1578 | + <distribute>Y</distribute> | ||
| 1579 | + <custom_distribution/> | ||
| 1580 | + <copies>1</copies> | ||
| 1581 | + <partitioning> | ||
| 1582 | + <method>none</method> | ||
| 1583 | + <schema_name/> | ||
| 1584 | + </partitioning> | ||
| 1585 | + <connection>bus_control_variable</connection> | ||
| 1586 | + <cache>N</cache> | ||
| 1587 | + <cache_load_all>N</cache_load_all> | ||
| 1588 | + <cache_size>0</cache_size> | ||
| 1589 | + <lookup> | ||
| 1590 | + <schema/> | ||
| 1591 | + <table>bsth_c_stationroute</table> | ||
| 1592 | + <orderby/> | ||
| 1593 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1594 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1595 | + <key> | ||
| 1596 | + <name>xlid</name> | ||
| 1597 | + <field>line</field> | ||
| 1598 | + <condition>=</condition> | ||
| 1599 | + <name2/> | ||
| 1600 | + </key> | ||
| 1601 | + <key> | ||
| 1602 | + <name>zdzname</name> | ||
| 1603 | + <field>station_name</field> | ||
| 1604 | + <condition>=</condition> | ||
| 1605 | + <name2/> | ||
| 1606 | + </key> | ||
| 1607 | + <key> | ||
| 1608 | + <name>endZdtype</name> | ||
| 1609 | + <field>station_mark</field> | ||
| 1610 | + <condition>=</condition> | ||
| 1611 | + <name2/> | ||
| 1612 | + </key> | ||
| 1613 | + <key> | ||
| 1614 | + <name>destory</name> | ||
| 1615 | + <field>destroy</field> | ||
| 1616 | + <condition>=</condition> | ||
| 1617 | + <name2/> | ||
| 1618 | + </key> | ||
| 1619 | + <value> | ||
| 1620 | + <name>station</name> | ||
| 1621 | + <rename>zdzid</rename> | ||
| 1622 | + <default/> | ||
| 1623 | + <type>Integer</type> | ||
| 1624 | + </value> | ||
| 1625 | + <value> | ||
| 1626 | + <name>directions</name> | ||
| 1627 | + <rename>sxx</rename> | ||
| 1628 | + <default/> | ||
| 1629 | + <type>Integer</type> | ||
| 1630 | + </value> | ||
| 1631 | + <value> | ||
| 1632 | + <name>station_code</name> | ||
| 1633 | + <rename>zdzcode</rename> | ||
| 1634 | + <default/> | ||
| 1635 | + <type>String</type> | ||
| 1636 | + </value> | ||
| 1637 | + </lookup> | ||
| 1638 | + <cluster_schema/> | ||
| 1639 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1640 | + <xloc>329</xloc> | ||
| 1641 | + <yloc>505</yloc> | ||
| 1642 | + <draw>Y</draw> | ||
| 1643 | + </GUI> | ||
| 1644 | + </step> | ||
| 1645 | + | ||
| 1646 | + <step> | ||
| 1647 | + <name>查找时刻表基础信息关联</name> | ||
| 1648 | + <type>DBLookup</type> | ||
| 1649 | + <description/> | ||
| 1650 | + <distribute>Y</distribute> | ||
| 1651 | + <custom_distribution/> | ||
| 1652 | + <copies>1</copies> | ||
| 1653 | + <partitioning> | ||
| 1654 | + <method>none</method> | ||
| 1655 | + <schema_name/> | ||
| 1656 | + </partitioning> | ||
| 1657 | + <connection>bus_control_variable</connection> | ||
| 1658 | + <cache>N</cache> | ||
| 1659 | + <cache_load_all>N</cache_load_all> | ||
| 1660 | + <cache_size>0</cache_size> | ||
| 1661 | + <lookup> | ||
| 1662 | + <schema/> | ||
| 1663 | + <table>bsth_c_s_ttinfo</table> | ||
| 1664 | + <orderby/> | ||
| 1665 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1666 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1667 | + <key> | ||
| 1668 | + <name>xlid</name> | ||
| 1669 | + <field>xl</field> | ||
| 1670 | + <condition>=</condition> | ||
| 1671 | + <name2/> | ||
| 1672 | + </key> | ||
| 1673 | + <key> | ||
| 1674 | + <name>ttinfoname_</name> | ||
| 1675 | + <field>name</field> | ||
| 1676 | + <condition>=</condition> | ||
| 1677 | + <name2/> | ||
| 1678 | + </key> | ||
| 1679 | + <key> | ||
| 1680 | + <name>iscanceled</name> | ||
| 1681 | + <field>is_cancel</field> | ||
| 1682 | + <condition>=</condition> | ||
| 1683 | + <name2/> | ||
| 1684 | + </key> | ||
| 1685 | + <value> | ||
| 1686 | + <name>id</name> | ||
| 1687 | + <rename>ttid</rename> | ||
| 1688 | + <default/> | ||
| 1689 | + <type>Integer</type> | ||
| 1690 | + </value> | ||
| 1691 | + </lookup> | ||
| 1692 | + <cluster_schema/> | ||
| 1693 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1694 | + <xloc>1011</xloc> | ||
| 1695 | + <yloc>134</yloc> | ||
| 1696 | + <draw>Y</draw> | ||
| 1697 | + </GUI> | ||
| 1698 | + </step> | ||
| 1699 | + | ||
| 1700 | + <step> | ||
| 1701 | + <name>查找线路关联</name> | ||
| 1702 | + <type>DBLookup</type> | ||
| 1703 | + <description/> | ||
| 1704 | + <distribute>Y</distribute> | ||
| 1705 | + <custom_distribution/> | ||
| 1706 | + <copies>1</copies> | ||
| 1707 | + <partitioning> | ||
| 1708 | + <method>none</method> | ||
| 1709 | + <schema_name/> | ||
| 1710 | + </partitioning> | ||
| 1711 | + <connection>bus_control_variable</connection> | ||
| 1712 | + <cache>N</cache> | ||
| 1713 | + <cache_load_all>N</cache_load_all> | ||
| 1714 | + <cache_size>0</cache_size> | ||
| 1715 | + <lookup> | ||
| 1716 | + <schema/> | ||
| 1717 | + <table>bsth_c_line</table> | ||
| 1718 | + <orderby/> | ||
| 1719 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1720 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1721 | + <key> | ||
| 1722 | + <name>xlname_</name> | ||
| 1723 | + <field>name</field> | ||
| 1724 | + <condition>=</condition> | ||
| 1725 | + <name2/> | ||
| 1726 | + </key> | ||
| 1727 | + <key> | ||
| 1728 | + <name>iscanceled</name> | ||
| 1729 | + <field>destroy</field> | ||
| 1730 | + <condition>=</condition> | ||
| 1731 | + <name2/> | ||
| 1732 | + </key> | ||
| 1733 | + <value> | ||
| 1734 | + <name>id</name> | ||
| 1735 | + <rename>xlid</rename> | ||
| 1736 | + <default/> | ||
| 1737 | + <type>Integer</type> | ||
| 1738 | + </value> | ||
| 1739 | + </lookup> | ||
| 1740 | + <cluster_schema/> | ||
| 1741 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1742 | + <xloc>1007</xloc> | ||
| 1743 | + <yloc>43</yloc> | ||
| 1744 | + <draw>Y</draw> | ||
| 1745 | + </GUI> | ||
| 1746 | + </step> | ||
| 1747 | + | ||
| 1748 | + <step> | ||
| 1749 | + <name>查找线路出场里程时间</name> | ||
| 1750 | + <type>DBLookup</type> | ||
| 1751 | + <description/> | ||
| 1752 | + <distribute>Y</distribute> | ||
| 1753 | + <custom_distribution/> | ||
| 1754 | + <copies>1</copies> | ||
| 1755 | + <partitioning> | ||
| 1756 | + <method>none</method> | ||
| 1757 | + <schema_name/> | ||
| 1758 | + </partitioning> | ||
| 1759 | + <connection>bus_control_variable</connection> | ||
| 1760 | + <cache>N</cache> | ||
| 1761 | + <cache_load_all>N</cache_load_all> | ||
| 1762 | + <cache_size>0</cache_size> | ||
| 1763 | + <lookup> | ||
| 1764 | + <schema/> | ||
| 1765 | + <table>bsth_c_line_information</table> | ||
| 1766 | + <orderby/> | ||
| 1767 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1768 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1769 | + <key> | ||
| 1770 | + <name>xlid</name> | ||
| 1771 | + <field>line</field> | ||
| 1772 | + <condition>=</condition> | ||
| 1773 | + <name2/> | ||
| 1774 | + </key> | ||
| 1775 | + <value> | ||
| 1776 | + <name>up_out_timer</name> | ||
| 1777 | + <rename>up_out_timer</rename> | ||
| 1778 | + <default/> | ||
| 1779 | + <type>Number</type> | ||
| 1780 | + </value> | ||
| 1781 | + <value> | ||
| 1782 | + <name>up_out_mileage</name> | ||
| 1783 | + <rename>up_out_mileage</rename> | ||
| 1784 | + <default/> | ||
| 1785 | + <type>Number</type> | ||
| 1786 | + </value> | ||
| 1787 | + <value> | ||
| 1788 | + <name>down_out_timer</name> | ||
| 1789 | + <rename>down_out_timer</rename> | ||
| 1790 | + <default/> | ||
| 1791 | + <type>Number</type> | ||
| 1792 | + </value> | ||
| 1793 | + <value> | ||
| 1794 | + <name>down_out_mileage</name> | ||
| 1795 | + <rename>down_out_mileage</rename> | ||
| 1796 | + <default/> | ||
| 1797 | + <type>Number</type> | ||
| 1798 | + </value> | ||
| 1799 | + </lookup> | ||
| 1800 | + <cluster_schema/> | ||
| 1801 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1802 | + <xloc>335</xloc> | ||
| 1803 | + <yloc>763</yloc> | ||
| 1804 | + <draw>Y</draw> | ||
| 1805 | + </GUI> | ||
| 1806 | + </step> | ||
| 1807 | + | ||
| 1808 | + <step> | ||
| 1809 | + <name>查找线路所有上下行里程时间</name> | ||
| 1810 | + <type>DBLookup</type> | ||
| 1811 | + <description/> | ||
| 1812 | + <distribute>Y</distribute> | ||
| 1813 | + <custom_distribution/> | ||
| 1814 | + <copies>1</copies> | ||
| 1815 | + <partitioning> | ||
| 1816 | + <method>none</method> | ||
| 1817 | + <schema_name/> | ||
| 1818 | + </partitioning> | ||
| 1819 | + <connection>bus_control_variable</connection> | ||
| 1820 | + <cache>N</cache> | ||
| 1821 | + <cache_load_all>N</cache_load_all> | ||
| 1822 | + <cache_size>0</cache_size> | ||
| 1823 | + <lookup> | ||
| 1824 | + <schema/> | ||
| 1825 | + <table>bsth_c_line_information</table> | ||
| 1826 | + <orderby/> | ||
| 1827 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1828 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1829 | + <key> | ||
| 1830 | + <name>xlid</name> | ||
| 1831 | + <field>line</field> | ||
| 1832 | + <condition>=</condition> | ||
| 1833 | + <name2/> | ||
| 1834 | + </key> | ||
| 1835 | + <value> | ||
| 1836 | + <name>up_mileage</name> | ||
| 1837 | + <rename>up_mileage</rename> | ||
| 1838 | + <default/> | ||
| 1839 | + <type>Number</type> | ||
| 1840 | + </value> | ||
| 1841 | + <value> | ||
| 1842 | + <name>down_mileage</name> | ||
| 1843 | + <rename>down_mileage</rename> | ||
| 1844 | + <default/> | ||
| 1845 | + <type>Number</type> | ||
| 1846 | + </value> | ||
| 1847 | + <value> | ||
| 1848 | + <name>up_travel_time</name> | ||
| 1849 | + <rename>up_travel_time</rename> | ||
| 1850 | + <default/> | ||
| 1851 | + <type>Number</type> | ||
| 1852 | + </value> | ||
| 1853 | + <value> | ||
| 1854 | + <name>down_travel_time</name> | ||
| 1855 | + <rename>down_travel_time</rename> | ||
| 1856 | + <default/> | ||
| 1857 | + <type>Number</type> | ||
| 1858 | + </value> | ||
| 1859 | + <value> | ||
| 1860 | + <name>early_start_time</name> | ||
| 1861 | + <rename>early_start_time</rename> | ||
| 1862 | + <default/> | ||
| 1863 | + <type>String</type> | ||
| 1864 | + </value> | ||
| 1865 | + <value> | ||
| 1866 | + <name>early_end_time</name> | ||
| 1867 | + <rename>early_end_time</rename> | ||
| 1868 | + <default/> | ||
| 1869 | + <type>String</type> | ||
| 1870 | + </value> | ||
| 1871 | + <value> | ||
| 1872 | + <name>early_up_time</name> | ||
| 1873 | + <rename>early_up_time</rename> | ||
| 1874 | + <default/> | ||
| 1875 | + <type>Number</type> | ||
| 1876 | + </value> | ||
| 1877 | + <value> | ||
| 1878 | + <name>early_down_time</name> | ||
| 1879 | + <rename>early_down_time</rename> | ||
| 1880 | + <default/> | ||
| 1881 | + <type>Number</type> | ||
| 1882 | + </value> | ||
| 1883 | + <value> | ||
| 1884 | + <name>late_start_time</name> | ||
| 1885 | + <rename>late_start_time</rename> | ||
| 1886 | + <default/> | ||
| 1887 | + <type>String</type> | ||
| 1888 | + </value> | ||
| 1889 | + <value> | ||
| 1890 | + <name>late_end_time</name> | ||
| 1891 | + <rename>late_end_time</rename> | ||
| 1892 | + <default/> | ||
| 1893 | + <type>String</type> | ||
| 1894 | + </value> | ||
| 1895 | + <value> | ||
| 1896 | + <name>late_up_time</name> | ||
| 1897 | + <rename>late_up_time</rename> | ||
| 1898 | + <default/> | ||
| 1899 | + <type>Number</type> | ||
| 1900 | + </value> | ||
| 1901 | + <value> | ||
| 1902 | + <name>late_down_time</name> | ||
| 1903 | + <rename>late_down_time</rename> | ||
| 1904 | + <default/> | ||
| 1905 | + <type>Number</type> | ||
| 1906 | + </value> | ||
| 1907 | + </lookup> | ||
| 1908 | + <cluster_schema/> | ||
| 1909 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1910 | + <xloc>149</xloc> | ||
| 1911 | + <yloc>581</yloc> | ||
| 1912 | + <draw>Y</draw> | ||
| 1913 | + </GUI> | ||
| 1914 | + </step> | ||
| 1915 | + | ||
| 1916 | + <step> | ||
| 1917 | + <name>查找线路进场里程时间</name> | ||
| 1918 | + <type>DBLookup</type> | ||
| 1919 | + <description/> | ||
| 1920 | + <distribute>Y</distribute> | ||
| 1921 | + <custom_distribution/> | ||
| 1922 | + <copies>1</copies> | ||
| 1923 | + <partitioning> | ||
| 1924 | + <method>none</method> | ||
| 1925 | + <schema_name/> | ||
| 1926 | + </partitioning> | ||
| 1927 | + <connection>bus_control_variable</connection> | ||
| 1928 | + <cache>N</cache> | ||
| 1929 | + <cache_load_all>N</cache_load_all> | ||
| 1930 | + <cache_size>0</cache_size> | ||
| 1931 | + <lookup> | ||
| 1932 | + <schema/> | ||
| 1933 | + <table>bsth_c_line_information</table> | ||
| 1934 | + <orderby/> | ||
| 1935 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1936 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1937 | + <key> | ||
| 1938 | + <name>xlid</name> | ||
| 1939 | + <field>line</field> | ||
| 1940 | + <condition>=</condition> | ||
| 1941 | + <name2/> | ||
| 1942 | + </key> | ||
| 1943 | + <value> | ||
| 1944 | + <name>up_in_mileage</name> | ||
| 1945 | + <rename>up_in_mileage</rename> | ||
| 1946 | + <default/> | ||
| 1947 | + <type>Number</type> | ||
| 1948 | + </value> | ||
| 1949 | + <value> | ||
| 1950 | + <name>up_in_timer</name> | ||
| 1951 | + <rename>up_in_timer</rename> | ||
| 1952 | + <default/> | ||
| 1953 | + <type>Number</type> | ||
| 1954 | + </value> | ||
| 1955 | + <value> | ||
| 1956 | + <name>down_in_mileage</name> | ||
| 1957 | + <rename>down_in_mileage</rename> | ||
| 1958 | + <default/> | ||
| 1959 | + <type>Number</type> | ||
| 1960 | + </value> | ||
| 1961 | + <value> | ||
| 1962 | + <name>down_in_timer</name> | ||
| 1963 | + <rename>down_in_timer</rename> | ||
| 1964 | + <default/> | ||
| 1965 | + <type>Number</type> | ||
| 1966 | + </value> | ||
| 1967 | + </lookup> | ||
| 1968 | + <cluster_schema/> | ||
| 1969 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1970 | + <xloc>553</xloc> | ||
| 1971 | + <yloc>1004</yloc> | ||
| 1972 | + <draw>Y</draw> | ||
| 1973 | + </GUI> | ||
| 1974 | + </step> | ||
| 1975 | + | ||
| 1976 | + <step> | ||
| 1977 | + <name>查找终点站关联</name> | ||
| 1978 | + <type>DBLookup</type> | ||
| 1979 | + <description/> | ||
| 1980 | + <distribute>Y</distribute> | ||
| 1981 | + <custom_distribution/> | ||
| 1982 | + <copies>1</copies> | ||
| 1983 | + <partitioning> | ||
| 1984 | + <method>none</method> | ||
| 1985 | + <schema_name/> | ||
| 1986 | + </partitioning> | ||
| 1987 | + <connection>bus_control_variable</connection> | ||
| 1988 | + <cache>N</cache> | ||
| 1989 | + <cache_load_all>N</cache_load_all> | ||
| 1990 | + <cache_size>0</cache_size> | ||
| 1991 | + <lookup> | ||
| 1992 | + <schema/> | ||
| 1993 | + <table>bsth_c_stationroute</table> | ||
| 1994 | + <orderby/> | ||
| 1995 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1996 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1997 | + <key> | ||
| 1998 | + <name>xlid</name> | ||
| 1999 | + <field>line</field> | ||
| 2000 | + <condition>=</condition> | ||
| 2001 | + <name2/> | ||
| 2002 | + </key> | ||
| 2003 | + <key> | ||
| 2004 | + <name>sxx</name> | ||
| 2005 | + <field>directions</field> | ||
| 2006 | + <condition>=</condition> | ||
| 2007 | + <name2/> | ||
| 2008 | + </key> | ||
| 2009 | + <key> | ||
| 2010 | + <name>endZdtype</name> | ||
| 2011 | + <field>station_mark</field> | ||
| 2012 | + <condition>=</condition> | ||
| 2013 | + <name2/> | ||
| 2014 | + </key> | ||
| 2015 | + <key> | ||
| 2016 | + <name>destory</name> | ||
| 2017 | + <field>destroy</field> | ||
| 2018 | + <condition>=</condition> | ||
| 2019 | + <name2/> | ||
| 2020 | + </key> | ||
| 2021 | + <value> | ||
| 2022 | + <name>station_name</name> | ||
| 2023 | + <rename>zdzname</rename> | ||
| 2024 | + <default/> | ||
| 2025 | + <type>String</type> | ||
| 2026 | + </value> | ||
| 2027 | + <value> | ||
| 2028 | + <name>station</name> | ||
| 2029 | + <rename>zdzid</rename> | ||
| 2030 | + <default/> | ||
| 2031 | + <type>Integer</type> | ||
| 2032 | + </value> | ||
| 2033 | + <value> | ||
| 2034 | + <name>station_code</name> | ||
| 2035 | + <rename>zdzcode</rename> | ||
| 2036 | + <default/> | ||
| 2037 | + <type>String</type> | ||
| 2038 | + </value> | ||
| 2039 | + </lookup> | ||
| 2040 | + <cluster_schema/> | ||
| 2041 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2042 | + <xloc>280</xloc> | ||
| 2043 | + <yloc>404</yloc> | ||
| 2044 | + <draw>Y</draw> | ||
| 2045 | + </GUI> | ||
| 2046 | + </step> | ||
| 2047 | + | ||
| 2048 | + <step> | ||
| 2049 | + <name>查找起点站关联并确定上下行</name> | ||
| 2050 | + <type>DBLookup</type> | ||
| 2051 | + <description/> | ||
| 2052 | + <distribute>Y</distribute> | ||
| 2053 | + <custom_distribution/> | ||
| 2054 | + <copies>1</copies> | ||
| 2055 | + <partitioning> | ||
| 2056 | + <method>none</method> | ||
| 2057 | + <schema_name/> | ||
| 2058 | + </partitioning> | ||
| 2059 | + <connection>bus_control_variable</connection> | ||
| 2060 | + <cache>N</cache> | ||
| 2061 | + <cache_load_all>N</cache_load_all> | ||
| 2062 | + <cache_size>0</cache_size> | ||
| 2063 | + <lookup> | ||
| 2064 | + <schema/> | ||
| 2065 | + <table>bsth_c_stationroute</table> | ||
| 2066 | + <orderby/> | ||
| 2067 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2068 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2069 | + <key> | ||
| 2070 | + <name>xlid</name> | ||
| 2071 | + <field>line</field> | ||
| 2072 | + <condition>=</condition> | ||
| 2073 | + <name2/> | ||
| 2074 | + </key> | ||
| 2075 | + <key> | ||
| 2076 | + <name>qdzname</name> | ||
| 2077 | + <field>station_name</field> | ||
| 2078 | + <condition>=</condition> | ||
| 2079 | + <name2/> | ||
| 2080 | + </key> | ||
| 2081 | + <key> | ||
| 2082 | + <name>sendZdtype</name> | ||
| 2083 | + <field>station_mark</field> | ||
| 2084 | + <condition>=</condition> | ||
| 2085 | + <name2/> | ||
| 2086 | + </key> | ||
| 2087 | + <key> | ||
| 2088 | + <name>destory</name> | ||
| 2089 | + <field>destroy</field> | ||
| 2090 | + <condition>=</condition> | ||
| 2091 | + <name2/> | ||
| 2092 | + </key> | ||
| 2093 | + <value> | ||
| 2094 | + <name>station</name> | ||
| 2095 | + <rename>qdzid</rename> | ||
| 2096 | + <default/> | ||
| 2097 | + <type>Integer</type> | ||
| 2098 | + </value> | ||
| 2099 | + <value> | ||
| 2100 | + <name>directions</name> | ||
| 2101 | + <rename>sxx</rename> | ||
| 2102 | + <default/> | ||
| 2103 | + <type>Integer</type> | ||
| 2104 | + </value> | ||
| 2105 | + <value> | ||
| 2106 | + <name>station_code</name> | ||
| 2107 | + <rename>qdzcode</rename> | ||
| 2108 | + <default/> | ||
| 2109 | + <type>String</type> | ||
| 2110 | + </value> | ||
| 2111 | + </lookup> | ||
| 2112 | + <cluster_schema/> | ||
| 2113 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2114 | + <xloc>430</xloc> | ||
| 2115 | + <yloc>403</yloc> | ||
| 2116 | + <draw>Y</draw> | ||
| 2117 | + </GUI> | ||
| 2118 | + </step> | ||
| 2119 | + | ||
| 2120 | + <step> | ||
| 2121 | + <name>查找路牌关联</name> | ||
| 2122 | + <type>DBLookup</type> | ||
| 2123 | + <description/> | ||
| 2124 | + <distribute>Y</distribute> | ||
| 2125 | + <custom_distribution/> | ||
| 2126 | + <copies>1</copies> | ||
| 2127 | + <partitioning> | ||
| 2128 | + <method>none</method> | ||
| 2129 | + <schema_name/> | ||
| 2130 | + </partitioning> | ||
| 2131 | + <connection>bus_control_variable</connection> | ||
| 2132 | + <cache>N</cache> | ||
| 2133 | + <cache_load_all>N</cache_load_all> | ||
| 2134 | + <cache_size>0</cache_size> | ||
| 2135 | + <lookup> | ||
| 2136 | + <schema/> | ||
| 2137 | + <table>bsth_c_s_gbi</table> | ||
| 2138 | + <orderby/> | ||
| 2139 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2140 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2141 | + <key> | ||
| 2142 | + <name>xlid</name> | ||
| 2143 | + <field>xl</field> | ||
| 2144 | + <condition>=</condition> | ||
| 2145 | + <name2/> | ||
| 2146 | + </key> | ||
| 2147 | + <key> | ||
| 2148 | + <name>lp</name> | ||
| 2149 | + <field>lp_name</field> | ||
| 2150 | + <condition>=</condition> | ||
| 2151 | + <name2/> | ||
| 2152 | + </key> | ||
| 2153 | + <key> | ||
| 2154 | + <name>iscanceled</name> | ||
| 2155 | + <field>is_cancel</field> | ||
| 2156 | + <condition>=</condition> | ||
| 2157 | + <name2/> | ||
| 2158 | + </key> | ||
| 2159 | + <value> | ||
| 2160 | + <name>id</name> | ||
| 2161 | + <rename>lpid</rename> | ||
| 2162 | + <default/> | ||
| 2163 | + <type>Integer</type> | ||
| 2164 | + </value> | ||
| 2165 | + </lookup> | ||
| 2166 | + <cluster_schema/> | ||
| 2167 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2168 | + <xloc>1013</xloc> | ||
| 2169 | + <yloc>265</yloc> | ||
| 2170 | + <draw>Y</draw> | ||
| 2171 | + </GUI> | ||
| 2172 | + </step> | ||
| 2173 | + | ||
| 2174 | + <step> | ||
| 2175 | + <name>查找进场班次上一个班次的线路方向</name> | ||
| 2176 | + <type>DBLookup</type> | ||
| 2177 | + <description/> | ||
| 2178 | + <distribute>Y</distribute> | ||
| 2179 | + <custom_distribution/> | ||
| 2180 | + <copies>1</copies> | ||
| 2181 | + <partitioning> | ||
| 2182 | + <method>none</method> | ||
| 2183 | + <schema_name/> | ||
| 2184 | + </partitioning> | ||
| 2185 | + <connection>bus_control_variable</connection> | ||
| 2186 | + <cache>N</cache> | ||
| 2187 | + <cache_load_all>N</cache_load_all> | ||
| 2188 | + <cache_size>0</cache_size> | ||
| 2189 | + <lookup> | ||
| 2190 | + <schema/> | ||
| 2191 | + <table>bsth_c_stationroute</table> | ||
| 2192 | + <orderby/> | ||
| 2193 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2194 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2195 | + <key> | ||
| 2196 | + <name>xlid</name> | ||
| 2197 | + <field>line</field> | ||
| 2198 | + <condition>=</condition> | ||
| 2199 | + <name2/> | ||
| 2200 | + </key> | ||
| 2201 | + <key> | ||
| 2202 | + <name>startZdtype_calcu</name> | ||
| 2203 | + <field>station_mark</field> | ||
| 2204 | + <condition>=</condition> | ||
| 2205 | + <name2/> | ||
| 2206 | + </key> | ||
| 2207 | + <key> | ||
| 2208 | + <name>qdzname_calcu</name> | ||
| 2209 | + <field>station_name</field> | ||
| 2210 | + <condition>=</condition> | ||
| 2211 | + <name2/> | ||
| 2212 | + </key> | ||
| 2213 | + <key> | ||
| 2214 | + <name>destory</name> | ||
| 2215 | + <field>destroy</field> | ||
| 2216 | + <condition>=</condition> | ||
| 2217 | + <name2/> | ||
| 2218 | + </key> | ||
| 2219 | + <value> | ||
| 2220 | + <name>directions</name> | ||
| 2221 | + <rename>sxx</rename> | ||
| 2222 | + <default/> | ||
| 2223 | + <type>String</type> | ||
| 2224 | + </value> | ||
| 2225 | + </lookup> | ||
| 2226 | + <cluster_schema/> | ||
| 2227 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2228 | + <xloc>548</xloc> | ||
| 2229 | + <yloc>610</yloc> | ||
| 2230 | + <draw>Y</draw> | ||
| 2231 | + </GUI> | ||
| 2232 | + </step> | ||
| 2233 | + | ||
| 2234 | + <step> | ||
| 2235 | + <name>查找进场班次上一个班次的终点站,并作为进场班次的起点站</name> | ||
| 2236 | + <type>DBLookup</type> | ||
| 2237 | + <description/> | ||
| 2238 | + <distribute>Y</distribute> | ||
| 2239 | + <custom_distribution/> | ||
| 2240 | + <copies>1</copies> | ||
| 2241 | + <partitioning> | ||
| 2242 | + <method>none</method> | ||
| 2243 | + <schema_name/> | ||
| 2244 | + </partitioning> | ||
| 2245 | + <connection>bus_control_variable</connection> | ||
| 2246 | + <cache>Y</cache> | ||
| 2247 | + <cache_load_all>Y</cache_load_all> | ||
| 2248 | + <cache_size>0</cache_size> | ||
| 2249 | + <lookup> | ||
| 2250 | + <schema/> | ||
| 2251 | + <table>bsth_c_stationroute</table> | ||
| 2252 | + <orderby/> | ||
| 2253 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2254 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2255 | + <key> | ||
| 2256 | + <name>xlid</name> | ||
| 2257 | + <field>line</field> | ||
| 2258 | + <condition>=</condition> | ||
| 2259 | + <name2/> | ||
| 2260 | + </key> | ||
| 2261 | + <key> | ||
| 2262 | + <name>endZdtype_calcu</name> | ||
| 2263 | + <field>station_mark</field> | ||
| 2264 | + <condition>=</condition> | ||
| 2265 | + <name2/> | ||
| 2266 | + </key> | ||
| 2267 | + <key> | ||
| 2268 | + <name>sxx</name> | ||
| 2269 | + <field>directions</field> | ||
| 2270 | + <condition>=</condition> | ||
| 2271 | + <name2/> | ||
| 2272 | + </key> | ||
| 2273 | + <key> | ||
| 2274 | + <name>destory</name> | ||
| 2275 | + <field>destroy</field> | ||
| 2276 | + <condition>=</condition> | ||
| 2277 | + <name2/> | ||
| 2278 | + </key> | ||
| 2279 | + <value> | ||
| 2280 | + <name>station_name</name> | ||
| 2281 | + <rename>zdzname_calcu</rename> | ||
| 2282 | + <default/> | ||
| 2283 | + <type>Integer</type> | ||
| 2284 | + </value> | ||
| 2285 | + </lookup> | ||
| 2286 | + <cluster_schema/> | ||
| 2287 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2288 | + <xloc>550</xloc> | ||
| 2289 | + <yloc>701</yloc> | ||
| 2290 | + <draw>Y</draw> | ||
| 2291 | + </GUI> | ||
| 2292 | + </step> | ||
| 2293 | + | ||
| 2294 | + <step> | ||
| 2295 | + <name>查找进场起点站关联确定上下行</name> | ||
| 2296 | + <type>DBLookup</type> | ||
| 2297 | + <description/> | ||
| 2298 | + <distribute>Y</distribute> | ||
| 2299 | + <custom_distribution/> | ||
| 2300 | + <copies>1</copies> | ||
| 2301 | + <partitioning> | ||
| 2302 | + <method>none</method> | ||
| 2303 | + <schema_name/> | ||
| 2304 | + </partitioning> | ||
| 2305 | + <connection>bus_control_variable</connection> | ||
| 2306 | + <cache>N</cache> | ||
| 2307 | + <cache_load_all>N</cache_load_all> | ||
| 2308 | + <cache_size>0</cache_size> | ||
| 2309 | + <lookup> | ||
| 2310 | + <schema/> | ||
| 2311 | + <table>bsth_c_stationroute</table> | ||
| 2312 | + <orderby/> | ||
| 2313 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2314 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2315 | + <key> | ||
| 2316 | + <name>xlid</name> | ||
| 2317 | + <field>line</field> | ||
| 2318 | + <condition>=</condition> | ||
| 2319 | + <name2/> | ||
| 2320 | + </key> | ||
| 2321 | + <key> | ||
| 2322 | + <name>zdzname_calcu</name> | ||
| 2323 | + <field>station_name</field> | ||
| 2324 | + <condition>=</condition> | ||
| 2325 | + <name2/> | ||
| 2326 | + </key> | ||
| 2327 | + <key> | ||
| 2328 | + <name>startZdtype_calcu</name> | ||
| 2329 | + <field>station_mark</field> | ||
| 2330 | + <condition>=</condition> | ||
| 2331 | + <name2/> | ||
| 2332 | + </key> | ||
| 2333 | + <key> | ||
| 2334 | + <name>destory</name> | ||
| 2335 | + <field>destroy</field> | ||
| 2336 | + <condition>=</condition> | ||
| 2337 | + <name2/> | ||
| 2338 | + </key> | ||
| 2339 | + <value> | ||
| 2340 | + <name>directions</name> | ||
| 2341 | + <rename>sxx2</rename> | ||
| 2342 | + <default/> | ||
| 2343 | + <type>Integer</type> | ||
| 2344 | + </value> | ||
| 2345 | + <value> | ||
| 2346 | + <name>station</name> | ||
| 2347 | + <rename>qdzid</rename> | ||
| 2348 | + <default/> | ||
| 2349 | + <type>Integer</type> | ||
| 2350 | + </value> | ||
| 2351 | + <value> | ||
| 2352 | + <name>station_code</name> | ||
| 2353 | + <rename>qdzcode</rename> | ||
| 2354 | + <default/> | ||
| 2355 | + <type>String</type> | ||
| 2356 | + </value> | ||
| 2357 | + <value> | ||
| 2358 | + <name>station_name</name> | ||
| 2359 | + <rename>qname</rename> | ||
| 2360 | + <default/> | ||
| 2361 | + <type>String</type> | ||
| 2362 | + </value> | ||
| 2363 | + </lookup> | ||
| 2364 | + <cluster_schema/> | ||
| 2365 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2366 | + <xloc>551</xloc> | ||
| 2367 | + <yloc>782</yloc> | ||
| 2368 | + <draw>Y</draw> | ||
| 2369 | + </GUI> | ||
| 2370 | + </step> | ||
| 2371 | + | ||
| 2372 | + <step> | ||
| 2373 | + <name>正常班次_处理数据</name> | ||
| 2374 | + <type>ScriptValueMod</type> | ||
| 2375 | + <description/> | ||
| 2376 | + <distribute>Y</distribute> | ||
| 2377 | + <custom_distribution/> | ||
| 2378 | + <copies>1</copies> | ||
| 2379 | + <partitioning> | ||
| 2380 | + <method>none</method> | ||
| 2381 | + <schema_name/> | ||
| 2382 | + </partitioning> | ||
| 2383 | + <compatible>N</compatible> | ||
| 2384 | + <optimizationLevel>9</optimizationLevel> | ||
| 2385 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2386 | + <jsScript_name>Script 1</jsScript_name> | ||
| 2387 | + <jsScript_script>//Script here

// 添加站点标识
var sendZdtype = 'B';
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2388 | + </jsScript> </jsScripts> <fields> <field> <name>sendZdtype</name> | ||
| 2389 | + <rename>sendZdtype</rename> | ||
| 2390 | + <type>String</type> | ||
| 2391 | + <length>-1</length> | ||
| 2392 | + <precision>-1</precision> | ||
| 2393 | + <replace>N</replace> | ||
| 2394 | + </field> <field> <name>endZdtype</name> | ||
| 2395 | + <rename>endZdtype</rename> | ||
| 2396 | + <type>String</type> | ||
| 2397 | + <length>-1</length> | ||
| 2398 | + <precision>-1</precision> | ||
| 2399 | + <replace>N</replace> | ||
| 2400 | + </field> <field> <name>destory</name> | ||
| 2401 | + <rename>destory</rename> | ||
| 2402 | + <type>Integer</type> | ||
| 2403 | + <length>-1</length> | ||
| 2404 | + <precision>-1</precision> | ||
| 2405 | + <replace>N</replace> | ||
| 2406 | + </field> </fields> <cluster_schema/> | ||
| 2407 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2408 | + <xloc>588</xloc> | ||
| 2409 | + <yloc>403</yloc> | ||
| 2410 | + <draw>Y</draw> | ||
| 2411 | + </GUI> | ||
| 2412 | + </step> | ||
| 2413 | + | ||
| 2414 | + <step> | ||
| 2415 | + <name>正常班次数据</name> | ||
| 2416 | + <type>Dummy</type> | ||
| 2417 | + <description/> | ||
| 2418 | + <distribute>Y</distribute> | ||
| 2419 | + <custom_distribution/> | ||
| 2420 | + <copies>1</copies> | ||
| 2421 | + <partitioning> | ||
| 2422 | + <method>none</method> | ||
| 2423 | + <schema_name/> | ||
| 2424 | + </partitioning> | ||
| 2425 | + <cluster_schema/> | ||
| 2426 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2427 | + <xloc>725</xloc> | ||
| 2428 | + <yloc>404</yloc> | ||
| 2429 | + <draw>Y</draw> | ||
| 2430 | + </GUI> | ||
| 2431 | + </step> | ||
| 2432 | + | ||
| 2433 | + <step> | ||
| 2434 | + <name>添加发车顺序号</name> | ||
| 2435 | + <type>GroupBy</type> | ||
| 2436 | + <description/> | ||
| 2437 | + <distribute>Y</distribute> | ||
| 2438 | + <custom_distribution/> | ||
| 2439 | + <copies>1</copies> | ||
| 2440 | + <partitioning> | ||
| 2441 | + <method>none</method> | ||
| 2442 | + <schema_name/> | ||
| 2443 | + </partitioning> | ||
| 2444 | + <all_rows>Y</all_rows> | ||
| 2445 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 2446 | + <field_ignore/> | ||
| 2447 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2448 | + <prefix>grp</prefix> | ||
| 2449 | + <add_linenr>Y</add_linenr> | ||
| 2450 | + <linenr_fieldname>fcno</linenr_fieldname> | ||
| 2451 | + <give_back_row>N</give_back_row> | ||
| 2452 | + <group> | ||
| 2453 | + <field> | ||
| 2454 | + <name>lp</name> | ||
| 2455 | + </field> | ||
| 2456 | + </group> | ||
| 2457 | + <fields> | ||
| 2458 | + </fields> | ||
| 2459 | + <cluster_schema/> | ||
| 2460 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2461 | + <xloc>442</xloc> | ||
| 2462 | + <yloc>44</yloc> | ||
| 2463 | + <draw>Y</draw> | ||
| 2464 | + </GUI> | ||
| 2465 | + </step> | ||
| 2466 | + | ||
| 2467 | + <step> | ||
| 2468 | + <name>添加对应班次数</name> | ||
| 2469 | + <type>GroupBy</type> | ||
| 2470 | + <description/> | ||
| 2471 | + <distribute>Y</distribute> | ||
| 2472 | + <custom_distribution/> | ||
| 2473 | + <copies>1</copies> | ||
| 2474 | + <partitioning> | ||
| 2475 | + <method>none</method> | ||
| 2476 | + <schema_name/> | ||
| 2477 | + </partitioning> | ||
| 2478 | + <all_rows>Y</all_rows> | ||
| 2479 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 2480 | + <field_ignore/> | ||
| 2481 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2482 | + <prefix>grp</prefix> | ||
| 2483 | + <add_linenr>Y</add_linenr> | ||
| 2484 | + <linenr_fieldname>bcs</linenr_fieldname> | ||
| 2485 | + <give_back_row>N</give_back_row> | ||
| 2486 | + <group> | ||
| 2487 | + </group> | ||
| 2488 | + <fields> | ||
| 2489 | + </fields> | ||
| 2490 | + <cluster_schema/> | ||
| 2491 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2492 | + <xloc>692</xloc> | ||
| 2493 | + <yloc>44</yloc> | ||
| 2494 | + <draw>Y</draw> | ||
| 2495 | + </GUI> | ||
| 2496 | + </step> | ||
| 2497 | + | ||
| 2498 | + <step> | ||
| 2499 | + <name>班次数据范式化</name> | ||
| 2500 | + <type>Normaliser</type> | ||
| 2501 | + <description/> | ||
| 2502 | + <distribute>Y</distribute> | ||
| 2503 | + <custom_distribution/> | ||
| 2504 | + <copies>1</copies> | ||
| 2505 | + <partitioning> | ||
| 2506 | + <method>none</method> | ||
| 2507 | + <schema_name/> | ||
| 2508 | + </partitioning> | ||
| 2509 | + <typefield>站点名称</typefield> | ||
| 2510 | + <fields> </fields> <cluster_schema/> | ||
| 2511 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2512 | + <xloc>248</xloc> | ||
| 2513 | + <yloc>44</yloc> | ||
| 2514 | + <draw>Y</draw> | ||
| 2515 | + </GUI> | ||
| 2516 | + </step> | ||
| 2517 | + | ||
| 2518 | + <step> | ||
| 2519 | + <name>班次类型字典</name> | ||
| 2520 | + <type>ValueMapper</type> | ||
| 2521 | + <description/> | ||
| 2522 | + <distribute>Y</distribute> | ||
| 2523 | + <custom_distribution/> | ||
| 2524 | + <copies>1</copies> | ||
| 2525 | + <partitioning> | ||
| 2526 | + <method>none</method> | ||
| 2527 | + <schema_name/> | ||
| 2528 | + </partitioning> | ||
| 2529 | + <field_to_use>bctype</field_to_use> | ||
| 2530 | + <target_field>bctype_code</target_field> | ||
| 2531 | + <non_match_default>未知类型</non_match_default> | ||
| 2532 | + <fields> | ||
| 2533 | + <field> | ||
| 2534 | + <source_value>正常班次</source_value> | ||
| 2535 | + <target_value>normal</target_value> | ||
| 2536 | + </field> | ||
| 2537 | + <field> | ||
| 2538 | + <source_value>出场</source_value> | ||
| 2539 | + <target_value>out</target_value> | ||
| 2540 | + </field> | ||
| 2541 | + <field> | ||
| 2542 | + <source_value>进场</source_value> | ||
| 2543 | + <target_value>in</target_value> | ||
| 2544 | + </field> | ||
| 2545 | + <field> | ||
| 2546 | + <source_value>加油</source_value> | ||
| 2547 | + <target_value>oil</target_value> | ||
| 2548 | + </field> | ||
| 2549 | + <field> | ||
| 2550 | + <source_value>临加</source_value> | ||
| 2551 | + <target_value>temp</target_value> | ||
| 2552 | + </field> | ||
| 2553 | + <field> | ||
| 2554 | + <source_value>区间</source_value> | ||
| 2555 | + <target_value>region</target_value> | ||
| 2556 | + </field> | ||
| 2557 | + <field> | ||
| 2558 | + <source_value>放空</source_value> | ||
| 2559 | + <target_value>venting</target_value> | ||
| 2560 | + </field> | ||
| 2561 | + <field> | ||
| 2562 | + <source_value>放大站</source_value> | ||
| 2563 | + <target_value>major</target_value> | ||
| 2564 | + </field> | ||
| 2565 | + </fields> | ||
| 2566 | + <cluster_schema/> | ||
| 2567 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2568 | + <xloc>149</xloc> | ||
| 2569 | + <yloc>491</yloc> | ||
| 2570 | + <draw>Y</draw> | ||
| 2571 | + </GUI> | ||
| 2572 | + </step> | ||
| 2573 | + | ||
| 2574 | + <step> | ||
| 2575 | + <name>班次类型字典 2</name> | ||
| 2576 | + <type>ValueMapper</type> | ||
| 2577 | + <description/> | ||
| 2578 | + <distribute>Y</distribute> | ||
| 2579 | + <custom_distribution/> | ||
| 2580 | + <copies>1</copies> | ||
| 2581 | + <partitioning> | ||
| 2582 | + <method>none</method> | ||
| 2583 | + <schema_name/> | ||
| 2584 | + </partitioning> | ||
| 2585 | + <field_to_use>bctype</field_to_use> | ||
| 2586 | + <target_field>bctype_code</target_field> | ||
| 2587 | + <non_match_default>未知类型</non_match_default> | ||
| 2588 | + <fields> | ||
| 2589 | + <field> | ||
| 2590 | + <source_value>正常班次</source_value> | ||
| 2591 | + <target_value>normal</target_value> | ||
| 2592 | + </field> | ||
| 2593 | + <field> | ||
| 2594 | + <source_value>出场</source_value> | ||
| 2595 | + <target_value>out</target_value> | ||
| 2596 | + </field> | ||
| 2597 | + <field> | ||
| 2598 | + <source_value>进场</source_value> | ||
| 2599 | + <target_value>in</target_value> | ||
| 2600 | + </field> | ||
| 2601 | + <field> | ||
| 2602 | + <source_value>加油</source_value> | ||
| 2603 | + <target_value>oil</target_value> | ||
| 2604 | + </field> | ||
| 2605 | + <field> | ||
| 2606 | + <source_value>临加</source_value> | ||
| 2607 | + <target_value>temp</target_value> | ||
| 2608 | + </field> | ||
| 2609 | + <field> | ||
| 2610 | + <source_value>区间</source_value> | ||
| 2611 | + <target_value>region</target_value> | ||
| 2612 | + </field> | ||
| 2613 | + <field> | ||
| 2614 | + <source_value>放空</source_value> | ||
| 2615 | + <target_value>venting</target_value> | ||
| 2616 | + </field> | ||
| 2617 | + <field> | ||
| 2618 | + <source_value>放大站</source_value> | ||
| 2619 | + <target_value>major</target_value> | ||
| 2620 | + </field> | ||
| 2621 | + </fields> | ||
| 2622 | + <cluster_schema/> | ||
| 2623 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2624 | + <xloc>333</xloc> | ||
| 2625 | + <yloc>681</yloc> | ||
| 2626 | + <draw>Y</draw> | ||
| 2627 | + </GUI> | ||
| 2628 | + </step> | ||
| 2629 | + | ||
| 2630 | + <step> | ||
| 2631 | + <name>班次类型字典 3</name> | ||
| 2632 | + <type>ValueMapper</type> | ||
| 2633 | + <description/> | ||
| 2634 | + <distribute>Y</distribute> | ||
| 2635 | + <custom_distribution/> | ||
| 2636 | + <copies>1</copies> | ||
| 2637 | + <partitioning> | ||
| 2638 | + <method>none</method> | ||
| 2639 | + <schema_name/> | ||
| 2640 | + </partitioning> | ||
| 2641 | + <field_to_use>bctype</field_to_use> | ||
| 2642 | + <target_field>bctype_code</target_field> | ||
| 2643 | + <non_match_default>未知类型</non_match_default> | ||
| 2644 | + <fields> | ||
| 2645 | + <field> | ||
| 2646 | + <source_value>正常班次</source_value> | ||
| 2647 | + <target_value>normal</target_value> | ||
| 2648 | + </field> | ||
| 2649 | + <field> | ||
| 2650 | + <source_value>出场</source_value> | ||
| 2651 | + <target_value>out</target_value> | ||
| 2652 | + </field> | ||
| 2653 | + <field> | ||
| 2654 | + <source_value>进场</source_value> | ||
| 2655 | + <target_value>in</target_value> | ||
| 2656 | + </field> | ||
| 2657 | + <field> | ||
| 2658 | + <source_value>加油</source_value> | ||
| 2659 | + <target_value>oil</target_value> | ||
| 2660 | + </field> | ||
| 2661 | + <field> | ||
| 2662 | + <source_value>临加</source_value> | ||
| 2663 | + <target_value>temp</target_value> | ||
| 2664 | + </field> | ||
| 2665 | + <field> | ||
| 2666 | + <source_value>区间</source_value> | ||
| 2667 | + <target_value>region</target_value> | ||
| 2668 | + </field> | ||
| 2669 | + <field> | ||
| 2670 | + <source_value>放空</source_value> | ||
| 2671 | + <target_value>venting</target_value> | ||
| 2672 | + </field> | ||
| 2673 | + <field> | ||
| 2674 | + <source_value>放大站</source_value> | ||
| 2675 | + <target_value>major</target_value> | ||
| 2676 | + </field> | ||
| 2677 | + </fields> | ||
| 2678 | + <cluster_schema/> | ||
| 2679 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2680 | + <xloc>551</xloc> | ||
| 2681 | + <yloc>928</yloc> | ||
| 2682 | + <draw>Y</draw> | ||
| 2683 | + </GUI> | ||
| 2684 | + </step> | ||
| 2685 | + | ||
| 2686 | + <step> | ||
| 2687 | + <name>类型修正</name> | ||
| 2688 | + <type>SelectValues</type> | ||
| 2689 | + <description/> | ||
| 2690 | + <distribute>Y</distribute> | ||
| 2691 | + <custom_distribution/> | ||
| 2692 | + <copies>1</copies> | ||
| 2693 | + <partitioning> | ||
| 2694 | + <method>none</method> | ||
| 2695 | + <schema_name/> | ||
| 2696 | + </partitioning> | ||
| 2697 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2698 | + <meta> <name>jhlc</name> | ||
| 2699 | + <rename>jhlc</rename> | ||
| 2700 | + <type>Number</type> | ||
| 2701 | + <length>-2</length> | ||
| 2702 | + <precision>-2</precision> | ||
| 2703 | + <conversion_mask/> | ||
| 2704 | + <date_format_lenient>false</date_format_lenient> | ||
| 2705 | + <date_format_locale/> | ||
| 2706 | + <date_format_timezone/> | ||
| 2707 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2708 | + <encoding/> | ||
| 2709 | + <decimal_symbol/> | ||
| 2710 | + <grouping_symbol/> | ||
| 2711 | + <currency_symbol/> | ||
| 2712 | + <storage_type/> | ||
| 2713 | + </meta> <meta> <name>bcsj</name> | ||
| 2714 | + <rename>bcsj</rename> | ||
| 2715 | + <type>Integer</type> | ||
| 2716 | + <length>-2</length> | ||
| 2717 | + <precision>-2</precision> | ||
| 2718 | + <conversion_mask/> | ||
| 2719 | + <date_format_lenient>false</date_format_lenient> | ||
| 2720 | + <date_format_locale/> | ||
| 2721 | + <date_format_timezone/> | ||
| 2722 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2723 | + <encoding/> | ||
| 2724 | + <decimal_symbol/> | ||
| 2725 | + <grouping_symbol/> | ||
| 2726 | + <currency_symbol/> | ||
| 2727 | + <storage_type/> | ||
| 2728 | + </meta> </fields> <cluster_schema/> | ||
| 2729 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2730 | + <xloc>146</xloc> | ||
| 2731 | + <yloc>768</yloc> | ||
| 2732 | + <draw>Y</draw> | ||
| 2733 | + </GUI> | ||
| 2734 | + </step> | ||
| 2735 | + | ||
| 2736 | + <step> | ||
| 2737 | + <name>类型修正 2</name> | ||
| 2738 | + <type>SelectValues</type> | ||
| 2739 | + <description/> | ||
| 2740 | + <distribute>Y</distribute> | ||
| 2741 | + <custom_distribution/> | ||
| 2742 | + <copies>1</copies> | ||
| 2743 | + <partitioning> | ||
| 2744 | + <method>none</method> | ||
| 2745 | + <schema_name/> | ||
| 2746 | + </partitioning> | ||
| 2747 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2748 | + <meta> <name>out_mileage</name> | ||
| 2749 | + <rename>out_mileage</rename> | ||
| 2750 | + <type>Number</type> | ||
| 2751 | + <length>-2</length> | ||
| 2752 | + <precision>-2</precision> | ||
| 2753 | + <conversion_mask/> | ||
| 2754 | + <date_format_lenient>false</date_format_lenient> | ||
| 2755 | + <date_format_locale/> | ||
| 2756 | + <date_format_timezone/> | ||
| 2757 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2758 | + <encoding/> | ||
| 2759 | + <decimal_symbol/> | ||
| 2760 | + <grouping_symbol/> | ||
| 2761 | + <currency_symbol/> | ||
| 2762 | + <storage_type/> | ||
| 2763 | + </meta> <meta> <name>out_time</name> | ||
| 2764 | + <rename>out_time</rename> | ||
| 2765 | + <type>Integer</type> | ||
| 2766 | + <length>-2</length> | ||
| 2767 | + <precision>-2</precision> | ||
| 2768 | + <conversion_mask/> | ||
| 2769 | + <date_format_lenient>false</date_format_lenient> | ||
| 2770 | + <date_format_locale/> | ||
| 2771 | + <date_format_timezone/> | ||
| 2772 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2773 | + <encoding/> | ||
| 2774 | + <decimal_symbol/> | ||
| 2775 | + <grouping_symbol/> | ||
| 2776 | + <currency_symbol/> | ||
| 2777 | + <storage_type/> | ||
| 2778 | + </meta> <meta> <name>sxx</name> | ||
| 2779 | + <rename>sxx</rename> | ||
| 2780 | + <type>Integer</type> | ||
| 2781 | + <length>-2</length> | ||
| 2782 | + <precision>-2</precision> | ||
| 2783 | + <conversion_mask/> | ||
| 2784 | + <date_format_lenient>false</date_format_lenient> | ||
| 2785 | + <date_format_locale/> | ||
| 2786 | + <date_format_timezone/> | ||
| 2787 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2788 | + <encoding/> | ||
| 2789 | + <decimal_symbol/> | ||
| 2790 | + <grouping_symbol/> | ||
| 2791 | + <currency_symbol/> | ||
| 2792 | + <storage_type/> | ||
| 2793 | + </meta> </fields> <cluster_schema/> | ||
| 2794 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2795 | + <xloc>338</xloc> | ||
| 2796 | + <yloc>1008</yloc> | ||
| 2797 | + <draw>Y</draw> | ||
| 2798 | + </GUI> | ||
| 2799 | + </step> | ||
| 2800 | + | ||
| 2801 | + <step> | ||
| 2802 | + <name>类型修正 3</name> | ||
| 2803 | + <type>SelectValues</type> | ||
| 2804 | + <description/> | ||
| 2805 | + <distribute>Y</distribute> | ||
| 2806 | + <custom_distribution/> | ||
| 2807 | + <copies>1</copies> | ||
| 2808 | + <partitioning> | ||
| 2809 | + <method>none</method> | ||
| 2810 | + <schema_name/> | ||
| 2811 | + </partitioning> | ||
| 2812 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2813 | + <meta> <name>parade_mileage</name> | ||
| 2814 | + <rename>parade_mileage</rename> | ||
| 2815 | + <type>Number</type> | ||
| 2816 | + <length>-2</length> | ||
| 2817 | + <precision>-2</precision> | ||
| 2818 | + <conversion_mask/> | ||
| 2819 | + <date_format_lenient>false</date_format_lenient> | ||
| 2820 | + <date_format_locale/> | ||
| 2821 | + <date_format_timezone/> | ||
| 2822 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2823 | + <encoding/> | ||
| 2824 | + <decimal_symbol/> | ||
| 2825 | + <grouping_symbol/> | ||
| 2826 | + <currency_symbol/> | ||
| 2827 | + <storage_type/> | ||
| 2828 | + </meta> <meta> <name>parade_time</name> | ||
| 2829 | + <rename>parade_time</rename> | ||
| 2830 | + <type>Integer</type> | ||
| 2831 | + <length>-2</length> | ||
| 2832 | + <precision>-2</precision> | ||
| 2833 | + <conversion_mask/> | ||
| 2834 | + <date_format_lenient>false</date_format_lenient> | ||
| 2835 | + <date_format_locale/> | ||
| 2836 | + <date_format_timezone/> | ||
| 2837 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2838 | + <encoding/> | ||
| 2839 | + <decimal_symbol/> | ||
| 2840 | + <grouping_symbol/> | ||
| 2841 | + <currency_symbol/> | ||
| 2842 | + <storage_type/> | ||
| 2843 | + </meta> <meta> <name>sxx2</name> | ||
| 2844 | + <rename>sxx2</rename> | ||
| 2845 | + <type>Integer</type> | ||
| 2846 | + <length>-2</length> | ||
| 2847 | + <precision>-2</precision> | ||
| 2848 | + <conversion_mask/> | ||
| 2849 | + <date_format_lenient>false</date_format_lenient> | ||
| 2850 | + <date_format_locale/> | ||
| 2851 | + <date_format_timezone/> | ||
| 2852 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2853 | + <encoding/> | ||
| 2854 | + <decimal_symbol/> | ||
| 2855 | + <grouping_symbol/> | ||
| 2856 | + <currency_symbol/> | ||
| 2857 | + <storage_type/> | ||
| 2858 | + </meta> </fields> <cluster_schema/> | ||
| 2859 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2860 | + <xloc>847</xloc> | ||
| 2861 | + <yloc>1003</yloc> | ||
| 2862 | + <draw>Y</draw> | ||
| 2863 | + </GUI> | ||
| 2864 | + </step> | ||
| 2865 | + | ||
| 2866 | + <step> | ||
| 2867 | + <name>计算班次类型</name> | ||
| 2868 | + <type>ValueMapper</type> | ||
| 2869 | + <description/> | ||
| 2870 | + <distribute>Y</distribute> | ||
| 2871 | + <custom_distribution/> | ||
| 2872 | + <copies>1</copies> | ||
| 2873 | + <partitioning> | ||
| 2874 | + <method>none</method> | ||
| 2875 | + <schema_name/> | ||
| 2876 | + </partitioning> | ||
| 2877 | + <field_to_use>qdzname</field_to_use> | ||
| 2878 | + <target_field>bctype</target_field> | ||
| 2879 | + <non_match_default>正常班次</non_match_default> | ||
| 2880 | + <fields> | ||
| 2881 | + <field> | ||
| 2882 | + <source_value>出场</source_value> | ||
| 2883 | + <target_value>出场</target_value> | ||
| 2884 | + </field> | ||
| 2885 | + <field> | ||
| 2886 | + <source_value>进场</source_value> | ||
| 2887 | + <target_value>进场</target_value> | ||
| 2888 | + </field> | ||
| 2889 | + </fields> | ||
| 2890 | + <cluster_schema/> | ||
| 2891 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2892 | + <xloc>1014</xloc> | ||
| 2893 | + <yloc>401</yloc> | ||
| 2894 | + <draw>Y</draw> | ||
| 2895 | + </GUI> | ||
| 2896 | + </step> | ||
| 2897 | + | ||
| 2898 | + <step> | ||
| 2899 | + <name>记录关联 (笛卡尔输出)</name> | ||
| 2900 | + <type>JoinRows</type> | ||
| 2901 | + <description/> | ||
| 2902 | + <distribute>Y</distribute> | ||
| 2903 | + <custom_distribution/> | ||
| 2904 | + <copies>1</copies> | ||
| 2905 | + <partitioning> | ||
| 2906 | + <method>none</method> | ||
| 2907 | + <schema_name/> | ||
| 2908 | + </partitioning> | ||
| 2909 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2910 | + <prefix>out</prefix> | ||
| 2911 | + <cache_size>500</cache_size> | ||
| 2912 | + <main/> | ||
| 2913 | + <compare> | ||
| 2914 | +<condition> | ||
| 2915 | + <negated>N</negated> | ||
| 2916 | + <leftvalue/> | ||
| 2917 | + <function>=</function> | ||
| 2918 | + <rightvalue/> | ||
| 2919 | + </condition> | ||
| 2920 | + </compare> | ||
| 2921 | + <cluster_schema/> | ||
| 2922 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2923 | + <xloc>310</xloc> | ||
| 2924 | + <yloc>133</yloc> | ||
| 2925 | + <draw>Y</draw> | ||
| 2926 | + </GUI> | ||
| 2927 | + </step> | ||
| 2928 | + | ||
| 2929 | + <step> | ||
| 2930 | + <name>过滤记录(发车时间为空)</name> | ||
| 2931 | + <type>FilterRows</type> | ||
| 2932 | + <description/> | ||
| 2933 | + <distribute>Y</distribute> | ||
| 2934 | + <custom_distribution/> | ||
| 2935 | + <copies>1</copies> | ||
| 2936 | + <partitioning> | ||
| 2937 | + <method>none</method> | ||
| 2938 | + <schema_name/> | ||
| 2939 | + </partitioning> | ||
| 2940 | +<send_true_to/> | ||
| 2941 | +<send_false_to/> | ||
| 2942 | + <compare> | ||
| 2943 | +<condition> | ||
| 2944 | + <negated>N</negated> | ||
| 2945 | + <leftvalue>sendtime</leftvalue> | ||
| 2946 | + <function>IS NOT NULL</function> | ||
| 2947 | + <rightvalue/> | ||
| 2948 | + </condition> | ||
| 2949 | + </compare> | ||
| 2950 | + <cluster_schema/> | ||
| 2951 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2952 | + <xloc>571</xloc> | ||
| 2953 | + <yloc>44</yloc> | ||
| 2954 | + <draw>Y</draw> | ||
| 2955 | + </GUI> | ||
| 2956 | + </step> | ||
| 2957 | + | ||
| 2958 | + <step> | ||
| 2959 | + <name>进场班次_确定起点站名字</name> | ||
| 2960 | + <type>ScriptValueMod</type> | ||
| 2961 | + <description/> | ||
| 2962 | + <distribute>Y</distribute> | ||
| 2963 | + <custom_distribution/> | ||
| 2964 | + <copies>1</copies> | ||
| 2965 | + <partitioning> | ||
| 2966 | + <method>none</method> | ||
| 2967 | + <schema_name/> | ||
| 2968 | + </partitioning> | ||
| 2969 | + <compatible>N</compatible> | ||
| 2970 | + <optimizationLevel>9</optimizationLevel> | ||
| 2971 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2972 | + <jsScript_name>Script 1</jsScript_name> | ||
| 2973 | + <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var qdzname_calcu = cc_groups[gno - 2]; // 进场班次的起点站是上一个班次的终点站,这里只有上一个班次的起点站,还需要计算
var startZdtype_calcu = 'B';
var endZdtype_calcu = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2974 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname_calcu</name> | ||
| 2975 | + <rename>qdzname_calcu</rename> | ||
| 2976 | + <type>String</type> | ||
| 2977 | + <length>-1</length> | ||
| 2978 | + <precision>-1</precision> | ||
| 2979 | + <replace>N</replace> | ||
| 2980 | + </field> <field> <name>startZdtype_calcu</name> | ||
| 2981 | + <rename>startZdtype_calcu</rename> | ||
| 2982 | + <type>String</type> | ||
| 2983 | + <length>-1</length> | ||
| 2984 | + <precision>-1</precision> | ||
| 2985 | + <replace>N</replace> | ||
| 2986 | + </field> <field> <name>endZdtype_calcu</name> | ||
| 2987 | + <rename>endZdtype_calcu</rename> | ||
| 2988 | + <type>String</type> | ||
| 2989 | + <length>-1</length> | ||
| 2990 | + <precision>-1</precision> | ||
| 2991 | + <replace>N</replace> | ||
| 2992 | + </field> <field> <name>destory</name> | ||
| 2993 | + <rename>destory</rename> | ||
| 2994 | + <type>Integer</type> | ||
| 2995 | + <length>-1</length> | ||
| 2996 | + <precision>-1</precision> | ||
| 2997 | + <replace>N</replace> | ||
| 2998 | + </field> </fields> <cluster_schema/> | ||
| 2999 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3000 | + <xloc>754</xloc> | ||
| 3001 | + <yloc>610</yloc> | ||
| 3002 | + <draw>Y</draw> | ||
| 3003 | + </GUI> | ||
| 3004 | + </step> | ||
| 3005 | + | ||
| 3006 | + <step> | ||
| 3007 | + <name>进场班次数据</name> | ||
| 3008 | + <type>Dummy</type> | ||
| 3009 | + <description/> | ||
| 3010 | + <distribute>Y</distribute> | ||
| 3011 | + <custom_distribution/> | ||
| 3012 | + <copies>1</copies> | ||
| 3013 | + <partitioning> | ||
| 3014 | + <method>none</method> | ||
| 3015 | + <schema_name/> | ||
| 3016 | + </partitioning> | ||
| 3017 | + <cluster_schema/> | ||
| 3018 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3019 | + <xloc>997</xloc> | ||
| 3020 | + <yloc>606</yloc> | ||
| 3021 | + <draw>Y</draw> | ||
| 3022 | + </GUI> | ||
| 3023 | + </step> | ||
| 3024 | + | ||
| 3025 | + <step_error_handling> | ||
| 3026 | + <error> | ||
| 3027 | + <source_step>插入/更新bsth_c_s_ttinfo_detail</source_step> | ||
| 3028 | + <target_step/> | ||
| 3029 | + <is_enabled>Y</is_enabled> | ||
| 3030 | + <nr_valuename>c1</nr_valuename> | ||
| 3031 | + <descriptions_valuename>c2</descriptions_valuename> | ||
| 3032 | + <fields_valuename>c3</fields_valuename> | ||
| 3033 | + <codes_valuename>c4</codes_valuename> | ||
| 3034 | + <max_errors/> | ||
| 3035 | + <max_pct_errors/> | ||
| 3036 | + <min_pct_rows/> | ||
| 3037 | + </error> | ||
| 3038 | + </step_error_handling> | ||
| 3039 | + <slave-step-copy-partition-distribution> | ||
| 3040 | +</slave-step-copy-partition-distribution> | ||
| 3041 | + <slave_transformation>N</slave_transformation> | ||
| 3042 | + | ||
| 3043 | +</transformation> |
src/main/resources/datatools/ktrs/ttinfodetailDataInput2.ktr
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<transformation> | ||
| 3 | - <info> | ||
| 4 | - <name>时刻表明细导入2</name> | ||
| 5 | - <description>时刻表明细信息导入</description> | ||
| 6 | - <extended_description>时刻表明细信息</extended_description> | ||
| 7 | - <trans_version/> | ||
| 8 | - <trans_type>Normal</trans_type> | ||
| 9 | - <trans_status>0</trans_status> | ||
| 10 | - <directory>/</directory> | ||
| 11 | - <parameters> | ||
| 12 | - </parameters> | ||
| 13 | - <log> | ||
| 14 | -<trans-log-table><connection/> | ||
| 15 | -<schema/> | ||
| 16 | -<table/> | ||
| 17 | -<size_limit_lines/> | ||
| 18 | -<interval/> | ||
| 19 | -<timeout_days/> | ||
| 20 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 21 | -<perf-log-table><connection/> | ||
| 22 | -<schema/> | ||
| 23 | -<table/> | ||
| 24 | -<interval/> | ||
| 25 | -<timeout_days/> | ||
| 26 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 27 | -<channel-log-table><connection/> | ||
| 28 | -<schema/> | ||
| 29 | -<table/> | ||
| 30 | -<timeout_days/> | ||
| 31 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 32 | -<step-log-table><connection/> | ||
| 33 | -<schema/> | ||
| 34 | -<table/> | ||
| 35 | -<timeout_days/> | ||
| 36 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 37 | -<metrics-log-table><connection/> | ||
| 38 | -<schema/> | ||
| 39 | -<table/> | ||
| 40 | -<timeout_days/> | ||
| 41 | -<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 42 | - </log> | ||
| 43 | - <maxdate> | ||
| 44 | - <connection/> | ||
| 45 | - <table/> | ||
| 46 | - <field/> | ||
| 47 | - <offset>0.0</offset> | ||
| 48 | - <maxdiff>0.0</maxdiff> | ||
| 49 | - </maxdate> | ||
| 50 | - <size_rowset>10000</size_rowset> | ||
| 51 | - <sleep_time_empty>50</sleep_time_empty> | ||
| 52 | - <sleep_time_full>50</sleep_time_full> | ||
| 53 | - <unique_connections>N</unique_connections> | ||
| 54 | - <feedback_shown>Y</feedback_shown> | ||
| 55 | - <feedback_size>50000</feedback_size> | ||
| 56 | - <using_thread_priorities>Y</using_thread_priorities> | ||
| 57 | - <shared_objects_file/> | ||
| 58 | - <capture_step_performance>N</capture_step_performance> | ||
| 59 | - <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 60 | - <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 61 | - <dependencies> | ||
| 62 | - </dependencies> | ||
| 63 | - <partitionschemas> | ||
| 64 | - </partitionschemas> | ||
| 65 | - <slaveservers> | ||
| 66 | - </slaveservers> | ||
| 67 | - <clusterschemas> | ||
| 68 | - </clusterschemas> | ||
| 69 | - <created_user>-</created_user> | ||
| 70 | - <created_date>2016/06/30 12:21:57.536</created_date> | ||
| 71 | - <modified_user>-</modified_user> | ||
| 72 | - <modified_date>2016/06/30 12:21:57.536</modified_date> | ||
| 73 | - <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 74 | - <is_key_private>N</is_key_private> | ||
| 75 | - </info> | ||
| 76 | - <notepads> | ||
| 77 | - <notepad> | ||
| 78 | - <note>字典表对应(以后直接查找表 bsth_c_sys_dictionary)
类型 代码 名称
LineTrend 0 上行
LineTrend 1 下行
ScheduleType normal 正常班次
ScheduleType out 出场
ScheduleType in 进场
ScheduleType temp 临加
ScheduleType region 区间
ScheduleType venting 放空
ScheduleType major 放大站</note> | ||
| 79 | - <xloc>606</xloc> | ||
| 80 | - <yloc>129</yloc> | ||
| 81 | - <width>332</width> | ||
| 82 | - <heigth>186</heigth> | ||
| 83 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 84 | - <fontsize>12</fontsize> | ||
| 85 | - <fontbold>N</fontbold> | ||
| 86 | - <fontitalic>N</fontitalic> | ||
| 87 | - <fontcolorred>0</fontcolorred> | ||
| 88 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 89 | - <fontcolorblue>0</fontcolorblue> | ||
| 90 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 91 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 92 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 93 | - <bordercolorred>100</bordercolorred> | ||
| 94 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 95 | - <bordercolorblue>100</bordercolorblue> | ||
| 96 | - <drawshadow>Y</drawshadow> | ||
| 97 | - </notepad> | ||
| 98 | - <notepad> | ||
| 99 | - <note>因为时刻表输入格式不确定性,主要因为表结构是反范式化的,
所以需要外部动态指定愿数据,头三个step动态指定愿数据

</note> | ||
| 100 | - <xloc>79</xloc> | ||
| 101 | - <yloc>206</yloc> | ||
| 102 | - <width>346</width> | ||
| 103 | - <heigth>74</heigth> | ||
| 104 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 105 | - <fontsize>12</fontsize> | ||
| 106 | - <fontbold>N</fontbold> | ||
| 107 | - <fontitalic>N</fontitalic> | ||
| 108 | - <fontcolorred>0</fontcolorred> | ||
| 109 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 110 | - <fontcolorblue>0</fontcolorblue> | ||
| 111 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 112 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 113 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 114 | - <bordercolorred>100</bordercolorred> | ||
| 115 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 116 | - <bordercolorblue>100</bordercolorblue> | ||
| 117 | - <drawshadow>Y</drawshadow> | ||
| 118 | - </notepad> | ||
| 119 | - <notepad> | ||
| 120 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 121 | - <xloc>721</xloc> | ||
| 122 | - <yloc>762</yloc> | ||
| 123 | - <width>333</width> | ||
| 124 | - <heigth>90</heigth> | ||
| 125 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 126 | - <fontsize>12</fontsize> | ||
| 127 | - <fontbold>N</fontbold> | ||
| 128 | - <fontitalic>N</fontitalic> | ||
| 129 | - <fontcolorred>0</fontcolorred> | ||
| 130 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 131 | - <fontcolorblue>0</fontcolorblue> | ||
| 132 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 133 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 134 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 135 | - <bordercolorred>100</bordercolorred> | ||
| 136 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 137 | - <bordercolorblue>100</bordercolorblue> | ||
| 138 | - <drawshadow>Y</drawshadow> | ||
| 139 | - </notepad> | ||
| 140 | - <notepad> | ||
| 141 | - <note>出场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 142 | - <xloc>104</xloc> | ||
| 143 | - <yloc>939</yloc> | ||
| 144 | - <width>178</width> | ||
| 145 | - <heigth>42</heigth> | ||
| 146 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 147 | - <fontsize>12</fontsize> | ||
| 148 | - <fontbold>N</fontbold> | ||
| 149 | - <fontitalic>N</fontitalic> | ||
| 150 | - <fontcolorred>0</fontcolorred> | ||
| 151 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 152 | - <fontcolorblue>0</fontcolorblue> | ||
| 153 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 154 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 155 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 156 | - <bordercolorred>100</bordercolorred> | ||
| 157 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 158 | - <bordercolorblue>100</bordercolorblue> | ||
| 159 | - <drawshadow>Y</drawshadow> | ||
| 160 | - </notepad> | ||
| 161 | - <notepad> | ||
| 162 | - <note>进场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 163 | - <xloc>578</xloc> | ||
| 164 | - <yloc>1084</yloc> | ||
| 165 | - <width>178</width> | ||
| 166 | - <heigth>42</heigth> | ||
| 167 | - <fontname>YaHei Consolas Hybrid</fontname> | ||
| 168 | - <fontsize>12</fontsize> | ||
| 169 | - <fontbold>N</fontbold> | ||
| 170 | - <fontitalic>N</fontitalic> | ||
| 171 | - <fontcolorred>0</fontcolorred> | ||
| 172 | - <fontcolorgreen>0</fontcolorgreen> | ||
| 173 | - <fontcolorblue>0</fontcolorblue> | ||
| 174 | - <backgroundcolorred>255</backgroundcolorred> | ||
| 175 | - <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 176 | - <backgroundcolorblue>112</backgroundcolorblue> | ||
| 177 | - <bordercolorred>100</bordercolorred> | ||
| 178 | - <bordercolorgreen>100</bordercolorgreen> | ||
| 179 | - <bordercolorblue>100</bordercolorblue> | ||
| 180 | - <drawshadow>Y</drawshadow> | ||
| 181 | - </notepad> | ||
| 182 | - </notepads> | ||
| 183 | - <connection> | ||
| 184 | - <name>192.168.168.1_jwgl_dw</name> | ||
| 185 | - <server>192.168.168.1</server> | ||
| 186 | - <type>ORACLE</type> | ||
| 187 | - <access>Native</access> | ||
| 188 | - <database>orcl</database> | ||
| 189 | - <port>1521</port> | ||
| 190 | - <username>jwgl_dw</username> | ||
| 191 | - <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 192 | - <servername/> | ||
| 193 | - <data_tablespace/> | ||
| 194 | - <index_tablespace/> | ||
| 195 | - <attributes> | ||
| 196 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 197 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 198 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 199 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 200 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 201 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 202 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 203 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 204 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 205 | - </attributes> | ||
| 206 | - </connection> | ||
| 207 | - <connection> | ||
| 208 | - <name>bus_control_variable</name> | ||
| 209 | - <server>${v_db_ip}</server> | ||
| 210 | - <type>MYSQL</type> | ||
| 211 | - <access>Native</access> | ||
| 212 | - <database>${v_db_dname}</database> | ||
| 213 | - <port>3306</port> | ||
| 214 | - <username>${v_db_uname}</username> | ||
| 215 | - <password>${v_db_pwd}</password> | ||
| 216 | - <servername/> | ||
| 217 | - <data_tablespace/> | ||
| 218 | - <index_tablespace/> | ||
| 219 | - <attributes> | ||
| 220 | - <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 221 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 222 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 223 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 224 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 225 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 226 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 227 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 228 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 229 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 230 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 231 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 232 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 233 | - </attributes> | ||
| 234 | - </connection> | ||
| 235 | - <connection> | ||
| 236 | - <name>bus_control_公司_201</name> | ||
| 237 | - <server>localhost</server> | ||
| 238 | - <type>MYSQL</type> | ||
| 239 | - <access>Native</access> | ||
| 240 | - <database>control</database> | ||
| 241 | - <port>3306</port> | ||
| 242 | - <username>root</username> | ||
| 243 | - <password>Encrypted </password> | ||
| 244 | - <servername/> | ||
| 245 | - <data_tablespace/> | ||
| 246 | - <index_tablespace/> | ||
| 247 | - <attributes> | ||
| 248 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 249 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 250 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 251 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 252 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 253 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 254 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 255 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 256 | - <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 257 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 258 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 259 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 260 | - </attributes> | ||
| 261 | - </connection> | ||
| 262 | - <connection> | ||
| 263 | - <name>bus_control_本机</name> | ||
| 264 | - <server>localhost</server> | ||
| 265 | - <type>MYSQL</type> | ||
| 266 | - <access>Native</access> | ||
| 267 | - <database>control</database> | ||
| 268 | - <port>3306</port> | ||
| 269 | - <username>root</username> | ||
| 270 | - <password>Encrypted </password> | ||
| 271 | - <servername/> | ||
| 272 | - <data_tablespace/> | ||
| 273 | - <index_tablespace/> | ||
| 274 | - <attributes> | ||
| 275 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 276 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 277 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 278 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 279 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 280 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 281 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 282 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 283 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 284 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 285 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 286 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 287 | - </attributes> | ||
| 288 | - </connection> | ||
| 289 | - <connection> | ||
| 290 | - <name>xlab_mysql_youle</name> | ||
| 291 | - <server>101.231.124.8</server> | ||
| 292 | - <type>MYSQL</type> | ||
| 293 | - <access>Native</access> | ||
| 294 | - <database>xlab_youle</database> | ||
| 295 | - <port>45687</port> | ||
| 296 | - <username>xlab-youle</username> | ||
| 297 | - <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 298 | - <servername/> | ||
| 299 | - <data_tablespace/> | ||
| 300 | - <index_tablespace/> | ||
| 301 | - <attributes> | ||
| 302 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 303 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 304 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 305 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 306 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 307 | - <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 308 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 309 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 310 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 311 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 312 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 313 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 314 | - </attributes> | ||
| 315 | - </connection> | ||
| 316 | - <connection> | ||
| 317 | - <name>xlab_mysql_youle(本机)</name> | ||
| 318 | - <server>localhost</server> | ||
| 319 | - <type>MYSQL</type> | ||
| 320 | - <access>Native</access> | ||
| 321 | - <database>xlab_youle</database> | ||
| 322 | - <port>3306</port> | ||
| 323 | - <username>root</username> | ||
| 324 | - <password>Encrypted </password> | ||
| 325 | - <servername/> | ||
| 326 | - <data_tablespace/> | ||
| 327 | - <index_tablespace/> | ||
| 328 | - <attributes> | ||
| 329 | - <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 330 | - <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 331 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 332 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 333 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 334 | - <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 335 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 336 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 337 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 338 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 339 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 340 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 341 | - </attributes> | ||
| 342 | - </connection> | ||
| 343 | - <connection> | ||
| 344 | - <name>xlab_youle</name> | ||
| 345 | - <server/> | ||
| 346 | - <type>MYSQL</type> | ||
| 347 | - <access>JNDI</access> | ||
| 348 | - <database>xlab_youle</database> | ||
| 349 | - <port>1521</port> | ||
| 350 | - <username/> | ||
| 351 | - <password>Encrypted </password> | ||
| 352 | - <servername/> | ||
| 353 | - <data_tablespace/> | ||
| 354 | - <index_tablespace/> | ||
| 355 | - <attributes> | ||
| 356 | - <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 357 | - <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 358 | - <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 359 | - <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 360 | - <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 361 | - <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 362 | - <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 363 | - <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 364 | - <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 365 | - <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 366 | - </attributes> | ||
| 367 | - </connection> | ||
| 368 | - <order> | ||
| 369 | - <hop> <from>时刻表明细信息Excel输入</from><to>班次数据范式化</to><enabled>Y</enabled> </hop> | ||
| 370 | - <hop> <from>添加发车顺序号</from><to>过滤记录(发车时间为空)</to><enabled>Y</enabled> </hop> | ||
| 371 | - <hop> <from>过滤记录(发车时间为空)</from><to>添加对应班次数</to><enabled>Y</enabled> </hop> | ||
| 372 | - <hop> <from>添加对应班次数</from><to>处理数据</to><enabled>Y</enabled> </hop> | ||
| 373 | - <hop> <from>处理数据</from><to>分组各个路牌的站</to><enabled>Y</enabled> </hop> | ||
| 374 | - <hop> <from>查找时刻表基础信息关联</from><to>查找路牌关联</to><enabled>Y</enabled> </hop> | ||
| 375 | - <hop> <from>查找线路关联</from><to>查找时刻表基础信息关联</to><enabled>Y</enabled> </hop> | ||
| 376 | - <hop> <from>上下行字典</from><to>班次类型字典</to><enabled>Y</enabled> </hop> | ||
| 377 | - <hop> <from>上下行字典 2</from><to>班次类型字典 2</to><enabled>Y</enabled> </hop> | ||
| 378 | - <hop> <from>上下行字典 3</from><to>班次类型字典 3</to><enabled>Y</enabled> </hop> | ||
| 379 | - <hop> <from>匹配上下行正常班次里程时间</from><to>类型修正</to><enabled>Y</enabled> </hop> | ||
| 380 | - <hop> <from>按照班次类型过滤数据1</from><to>按照班次类型过滤数据2</to><enabled>Y</enabled> </hop> | ||
| 381 | - <hop> <from>按照班次类型过滤数据1</from><to>正常班次数据</to><enabled>Y</enabled> </hop> | ||
| 382 | - <hop> <from>按照班次类型过滤数据2</from><to>出场班次数据</to><enabled>Y</enabled> </hop> | ||
| 383 | - <hop> <from>按照班次类型过滤数据2</from><to>进场班次数据</to><enabled>Y</enabled> </hop> | ||
| 384 | - <hop> <from>查找所有线路上下行里程时间</from><to>匹配上下行正常班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 385 | - <hop> <from>查找终点站关联</from><to>上下行字典</to><enabled>Y</enabled> </hop> | ||
| 386 | - <hop> <from>查找起点站关联并确定上下行</from><to>查找终点站关联</to><enabled>Y</enabled> </hop> | ||
| 387 | - <hop> <from>正常班次_处理数据</from><to>查找起点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 388 | - <hop> <from>正常班次数据</from><to>正常班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 389 | - <hop> <from>班次类型字典</from><to>查找所有线路上下行里程时间</to><enabled>Y</enabled> </hop> | ||
| 390 | - <hop> <from>班次类型字典 2</from><to>查找线路出场里程时间</to><enabled>Y</enabled> </hop> | ||
| 391 | - <hop> <from>班次类型字典 3</from><to>查找线路进场里程时间</to><enabled>Y</enabled> </hop> | ||
| 392 | - <hop> <from>查找路牌关联</from><to>计算班次类型</to><enabled>Y</enabled> </hop> | ||
| 393 | - <hop> <from>计算班次类型</from><to>按照班次类型过滤数据1</to><enabled>Y</enabled> </hop> | ||
| 394 | - <hop> <from>出场班次数据</from><to>查找停车场1</to><enabled>Y</enabled> </hop> | ||
| 395 | - <hop> <from>查找停车场1</from><to>出场班次_确定终点站名字</to><enabled>Y</enabled> </hop> | ||
| 396 | - <hop> <from>出场班次_确定终点站名字</from><to>查找出场终点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 397 | - <hop> <from>查找出场终点站关联并确定上下行</from><to>上下行字典 2</to><enabled>Y</enabled> </hop> | ||
| 398 | - <hop> <from>进场班次数据</from><to>查找停车场2</to><enabled>Y</enabled> </hop> | ||
| 399 | - <hop> <from>查找停车场2</from><to>进场班次_确定起点站名字</to><enabled>Y</enabled> </hop> | ||
| 400 | - <hop> <from>进场班次_确定起点站名字</from><to>查找进场班次上一个班次的线路方向</to><enabled>Y</enabled> </hop> | ||
| 401 | - <hop> <from>查找进场班次上一个班次的线路方向</from><to>查找进场班次上一个班次的终点站,并作为进场班次的起点站</to><enabled>Y</enabled> </hop> | ||
| 402 | - <hop> <from>字段选择</from><to>添加发车顺序号</to><enabled>Y</enabled> </hop> | ||
| 403 | - <hop> <from>分组各个路牌的站</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 404 | - <hop> <from>增加时刻表名字,线路名字,停车场名字</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 405 | - <hop> <from>班次数据范式化</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 406 | - <hop> <from>记录关联 (笛卡尔输出)</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 407 | - <hop> <from>类型修正</from><to>插入/更新bsth_c_s_ttinfo_detail</to><enabled>Y</enabled> </hop> | ||
| 408 | - <hop> <from>查找进场班次上一个班次的终点站,并作为进场班次的起点站</from><to>查找进场起点站关联确定上下行</to><enabled>Y</enabled> </hop> | ||
| 409 | - <hop> <from>查找进场起点站关联确定上下行</from><to>上下行字典 3</to><enabled>Y</enabled> </hop> | ||
| 410 | - <hop> <from>查找线路出场里程时间</from><to>匹配出场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 411 | - <hop> <from>查找线路进场里程时间</from><to>匹配进场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 412 | - <hop> <from>匹配出场班次里程时间</from><to>上下行NULL判定</to><enabled>Y</enabled> </hop> | ||
| 413 | - <hop> <from>上下行NULL判定</from><to>类型修正 2</to><enabled>Y</enabled> </hop> | ||
| 414 | - <hop> <from>类型修正 2</from><to>插入/更新bsth_c_s_ttinfo_detail 2</to><enabled>Y</enabled> </hop> | ||
| 415 | - <hop> <from>匹配进场班次里程时间</from><to>上下行判定 2</to><enabled>Y</enabled> </hop> | ||
| 416 | - <hop> <from>上下行判定 2</from><to>类型修正 3</to><enabled>Y</enabled> </hop> | ||
| 417 | - <hop> <from>类型修正 3</from><to>插入/更新bsth_c_s_ttinfo_detail 3</to><enabled>Y</enabled> </hop> | ||
| 418 | - </order> | ||
| 419 | - <step> | ||
| 420 | - <name>上下行NULL判定</name> | ||
| 421 | - <type>IfNull</type> | ||
| 422 | - <description/> | ||
| 423 | - <distribute>Y</distribute> | ||
| 424 | - <custom_distribution/> | ||
| 425 | - <copies>1</copies> | ||
| 426 | - <partitioning> | ||
| 427 | - <method>none</method> | ||
| 428 | - <schema_name/> | ||
| 429 | - </partitioning> | ||
| 430 | - <replaceAllByValue/> | ||
| 431 | - <replaceAllMask/> | ||
| 432 | - <selectFields>Y</selectFields> | ||
| 433 | - <selectValuesType>N</selectValuesType> | ||
| 434 | - <setEmptyStringAll>N</setEmptyStringAll> | ||
| 435 | - <valuetypes> | ||
| 436 | - </valuetypes> | ||
| 437 | - <fields> | ||
| 438 | - <field> | ||
| 439 | - <name>sxx</name> | ||
| 440 | - <value>0</value> | ||
| 441 | - <mask/> | ||
| 442 | - <set_empty_string>N</set_empty_string> | ||
| 443 | - </field> | ||
| 444 | - </fields> | ||
| 445 | - <cluster_schema/> | ||
| 446 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 447 | - <xloc>335</xloc> | ||
| 448 | - <yloc>938</yloc> | ||
| 449 | - <draw>Y</draw> | ||
| 450 | - </GUI> | ||
| 451 | - </step> | ||
| 452 | - | ||
| 453 | - <step> | ||
| 454 | - <name>上下行判定 2</name> | ||
| 455 | - <type>IfNull</type> | ||
| 456 | - <description/> | ||
| 457 | - <distribute>Y</distribute> | ||
| 458 | - <custom_distribution/> | ||
| 459 | - <copies>1</copies> | ||
| 460 | - <partitioning> | ||
| 461 | - <method>none</method> | ||
| 462 | - <schema_name/> | ||
| 463 | - </partitioning> | ||
| 464 | - <replaceAllByValue/> | ||
| 465 | - <replaceAllMask/> | ||
| 466 | - <selectFields>Y</selectFields> | ||
| 467 | - <selectValuesType>N</selectValuesType> | ||
| 468 | - <setEmptyStringAll>N</setEmptyStringAll> | ||
| 469 | - <valuetypes> | ||
| 470 | - </valuetypes> | ||
| 471 | - <fields> | ||
| 472 | - <field> | ||
| 473 | - <name>sxx2</name> | ||
| 474 | - <value>0</value> | ||
| 475 | - <mask/> | ||
| 476 | - <set_empty_string>N</set_empty_string> | ||
| 477 | - </field> | ||
| 478 | - </fields> | ||
| 479 | - <cluster_schema/> | ||
| 480 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 481 | - <xloc>804</xloc> | ||
| 482 | - <yloc>1081</yloc> | ||
| 483 | - <draw>Y</draw> | ||
| 484 | - </GUI> | ||
| 485 | - </step> | ||
| 486 | - | ||
| 487 | - <step> | ||
| 488 | - <name>上下行字典</name> | ||
| 489 | - <type>ValueMapper</type> | ||
| 490 | - <description/> | ||
| 491 | - <distribute>Y</distribute> | ||
| 492 | - <custom_distribution/> | ||
| 493 | - <copies>1</copies> | ||
| 494 | - <partitioning> | ||
| 495 | - <method>none</method> | ||
| 496 | - <schema_name/> | ||
| 497 | - </partitioning> | ||
| 498 | - <field_to_use>sxx</field_to_use> | ||
| 499 | - <target_field>sxx_desc</target_field> | ||
| 500 | - <non_match_default/> | ||
| 501 | - <fields> | ||
| 502 | - <field> | ||
| 503 | - <source_value>0</source_value> | ||
| 504 | - <target_value>上行</target_value> | ||
| 505 | - </field> | ||
| 506 | - <field> | ||
| 507 | - <source_value>1</source_value> | ||
| 508 | - <target_value>下行</target_value> | ||
| 509 | - </field> | ||
| 510 | - </fields> | ||
| 511 | - <cluster_schema/> | ||
| 512 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 513 | - <xloc>147</xloc> | ||
| 514 | - <yloc>403</yloc> | ||
| 515 | - <draw>Y</draw> | ||
| 516 | - </GUI> | ||
| 517 | - </step> | ||
| 518 | - | ||
| 519 | - <step> | ||
| 520 | - <name>上下行字典 2</name> | ||
| 521 | - <type>ValueMapper</type> | ||
| 522 | - <description/> | ||
| 523 | - <distribute>Y</distribute> | ||
| 524 | - <custom_distribution/> | ||
| 525 | - <copies>1</copies> | ||
| 526 | - <partitioning> | ||
| 527 | - <method>none</method> | ||
| 528 | - <schema_name/> | ||
| 529 | - </partitioning> | ||
| 530 | - <field_to_use>sxx</field_to_use> | ||
| 531 | - <target_field>sxx_desc</target_field> | ||
| 532 | - <non_match_default/> | ||
| 533 | - <fields> | ||
| 534 | - <field> | ||
| 535 | - <source_value>0</source_value> | ||
| 536 | - <target_value>上行</target_value> | ||
| 537 | - </field> | ||
| 538 | - <field> | ||
| 539 | - <source_value>1</source_value> | ||
| 540 | - <target_value>下行</target_value> | ||
| 541 | - </field> | ||
| 542 | - </fields> | ||
| 543 | - <cluster_schema/> | ||
| 544 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 545 | - <xloc>331</xloc> | ||
| 546 | - <yloc>598</yloc> | ||
| 547 | - <draw>Y</draw> | ||
| 548 | - </GUI> | ||
| 549 | - </step> | ||
| 550 | - | ||
| 551 | - <step> | ||
| 552 | - <name>上下行字典 3</name> | ||
| 553 | - <type>ValueMapper</type> | ||
| 554 | - <description/> | ||
| 555 | - <distribute>Y</distribute> | ||
| 556 | - <custom_distribution/> | ||
| 557 | - <copies>1</copies> | ||
| 558 | - <partitioning> | ||
| 559 | - <method>none</method> | ||
| 560 | - <schema_name/> | ||
| 561 | - </partitioning> | ||
| 562 | - <field_to_use>sxx</field_to_use> | ||
| 563 | - <target_field>sxx_desc</target_field> | ||
| 564 | - <non_match_default/> | ||
| 565 | - <fields> | ||
| 566 | - <field> | ||
| 567 | - <source_value>0</source_value> | ||
| 568 | - <target_value>上行</target_value> | ||
| 569 | - </field> | ||
| 570 | - <field> | ||
| 571 | - <source_value>1</source_value> | ||
| 572 | - <target_value>下行</target_value> | ||
| 573 | - </field> | ||
| 574 | - </fields> | ||
| 575 | - <cluster_schema/> | ||
| 576 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 577 | - <xloc>553</xloc> | ||
| 578 | - <yloc>859</yloc> | ||
| 579 | - <draw>Y</draw> | ||
| 580 | - </GUI> | ||
| 581 | - </step> | ||
| 582 | - | ||
| 583 | - <step> | ||
| 584 | - <name>出场班次_确定终点站名字</name> | ||
| 585 | - <type>ScriptValueMod</type> | ||
| 586 | - <description/> | ||
| 587 | - <distribute>Y</distribute> | ||
| 588 | - <custom_distribution/> | ||
| 589 | - <copies>1</copies> | ||
| 590 | - <partitioning> | ||
| 591 | - <method>none</method> | ||
| 592 | - <schema_name/> | ||
| 593 | - </partitioning> | ||
| 594 | - <compatible>N</compatible> | ||
| 595 | - <optimizationLevel>9</optimizationLevel> | ||
| 596 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 597 | - <jsScript_name>Script 1</jsScript_name> | ||
| 598 | - <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var zdzname = cc_groups[gno]; // 出场班次的终点站是下个班次的起始站
var endZdtype = 'B';
// var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 599 | - </jsScript> </jsScripts> <fields> <field> <name>zdzname</name> | ||
| 600 | - <rename>zdzname</rename> | ||
| 601 | - <type>String</type> | ||
| 602 | - <length>-1</length> | ||
| 603 | - <precision>-1</precision> | ||
| 604 | - <replace>N</replace> | ||
| 605 | - </field> <field> <name>endZdtype</name> | ||
| 606 | - <rename>endZdtype</rename> | ||
| 607 | - <type>String</type> | ||
| 608 | - <length>-1</length> | ||
| 609 | - <precision>-1</precision> | ||
| 610 | - <replace>N</replace> | ||
| 611 | - </field> <field> <name>destory</name> | ||
| 612 | - <rename>destory</rename> | ||
| 613 | - <type>Integer</type> | ||
| 614 | - <length>-1</length> | ||
| 615 | - <precision>-1</precision> | ||
| 616 | - <replace>N</replace> | ||
| 617 | - </field> </fields> <cluster_schema/> | ||
| 618 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 619 | - <xloc>575</xloc> | ||
| 620 | - <yloc>502</yloc> | ||
| 621 | - <draw>Y</draw> | ||
| 622 | - </GUI> | ||
| 623 | - </step> | ||
| 624 | - | ||
| 625 | - <step> | ||
| 626 | - <name>出场班次数据</name> | ||
| 627 | - <type>Dummy</type> | ||
| 628 | - <description/> | ||
| 629 | - <distribute>Y</distribute> | ||
| 630 | - <custom_distribution/> | ||
| 631 | - <copies>1</copies> | ||
| 632 | - <partitioning> | ||
| 633 | - <method>none</method> | ||
| 634 | - <schema_name/> | ||
| 635 | - </partitioning> | ||
| 636 | - <cluster_schema/> | ||
| 637 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 638 | - <xloc>869</xloc> | ||
| 639 | - <yloc>504</yloc> | ||
| 640 | - <draw>Y</draw> | ||
| 641 | - </GUI> | ||
| 642 | - </step> | ||
| 643 | - | ||
| 644 | - <step> | ||
| 645 | - <name>分组各个路牌的站</name> | ||
| 646 | - <type>GroupBy</type> | ||
| 647 | - <description/> | ||
| 648 | - <distribute>Y</distribute> | ||
| 649 | - <custom_distribution/> | ||
| 650 | - <copies>1</copies> | ||
| 651 | - <partitioning> | ||
| 652 | - <method>none</method> | ||
| 653 | - <schema_name/> | ||
| 654 | - </partitioning> | ||
| 655 | - <all_rows>Y</all_rows> | ||
| 656 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 657 | - <field_ignore/> | ||
| 658 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 659 | - <prefix>grp</prefix> | ||
| 660 | - <add_linenr>Y</add_linenr> | ||
| 661 | - <linenr_fieldname>gno</linenr_fieldname> | ||
| 662 | - <give_back_row>N</give_back_row> | ||
| 663 | - <group> | ||
| 664 | - <field> | ||
| 665 | - <name>lp</name> | ||
| 666 | - </field> | ||
| 667 | - </group> | ||
| 668 | - <fields> | ||
| 669 | - <field> | ||
| 670 | - <aggregate>qdzgroups</aggregate> | ||
| 671 | - <subject>qdzname</subject> | ||
| 672 | - <type>CONCAT_STRING</type> | ||
| 673 | - <valuefield>,</valuefield> | ||
| 674 | - </field> | ||
| 675 | - </fields> | ||
| 676 | - <cluster_schema/> | ||
| 677 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 678 | - <xloc>892</xloc> | ||
| 679 | - <yloc>44</yloc> | ||
| 680 | - <draw>Y</draw> | ||
| 681 | - </GUI> | ||
| 682 | - </step> | ||
| 683 | - | ||
| 684 | - <step> | ||
| 685 | - <name>匹配上下行正常班次里程时间</name> | ||
| 686 | - <type>ScriptValueMod</type> | ||
| 687 | - <description/> | ||
| 688 | - <distribute>Y</distribute> | ||
| 689 | - <custom_distribution/> | ||
| 690 | - <copies>1</copies> | ||
| 691 | - <partitioning> | ||
| 692 | - <method>none</method> | ||
| 693 | - <schema_name/> | ||
| 694 | - </partitioning> | ||
| 695 | - <compatible>N</compatible> | ||
| 696 | - <optimizationLevel>9</optimizationLevel> | ||
| 697 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 698 | - <jsScript_name>Script 1</jsScript_name> | ||
| 699 | - <jsScript_script>//Script here

var jhlc; // 计划里程
var bcsj; // 班次时间

// 时间范围正则表达式
var timeRex = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/;
// 发车时间转换成日期
var fcsj_hour = str2num(sendtime_calcu.substr(0, 2), "#");
var fcsj_min = str2num(sendtime_calcu.substr(3, 2), "#");
var fcsj_date = new Date(2000,1,1,fcsj_hour,fcsj_min,0);

// 判定是否早高峰
var isZgf = false;
if (timeRex.test(early_start_time) && timeRex.test(early_end_time) && early_up_time != null && early_down_time != null) {
 var early_s_hour = str2num(early_start_time.substr(0, 2), "#");
 var early_s_min = str2num(early_start_time.substr(3, 2), "#");
 var early_s_date = new Date(2000,1,1,early_s_hour,early_s_min,0);

 var early_e_hour = str2num(early_end_time.substr(0, 2), "#");
 var early_e_min = str2num(early_end_time.substr(3, 2), "#");
 var early_e_date = new Date(2000,1,1,early_e_hour,early_e_min,0);

 if (fcsj_date >= early_s_date && fcsj_date <= early_e_date) {
 isZgf = true;
 }
}

// 判定是否晚高峰
var isWgf = false;
if (timeRex.test(late_start_time) && timeRex.test(late_end_time) && late_up_time != null && late_down_time != null) {
 var late_s_hour = str2num(late_start_time.substr(0, 2), "#");
 var late_s_min = str2num(late_start_time.substr(3, 2), "#");
 var late_s_date = new Date(2000,1,1,late_s_hour,late_s_min,0);

 var late_e_hour = str2num(late_end_time.substr(0, 2), "#");
 var late_e_min = str2num(late_end_time.substr(3, 2), "#");
 var late_e_date = new Date(2000,1,1,late_e_hour,late_e_min,0);

 if (fcsj_date >= late_s_date && fcsj_date <= late_e_date) {
 isWgf = true;
 }
}

// 判定是否晚高峰

if (sxx == 0) { // 上行
 if (isZgf) {
 jhlc = up_mileage;
 bcsj = early_up_time != 0 ? early_up_time : up_travel_time;
 } else if (isWgf) {
 jhlc = up_mileage;
 bcsj = late_up_time != 0 ? late_up_time : up_travel_time;
 } else {
 jhlc = up_mileage;
 bcsj = up_travel_time;
 }
} else { // sxx == 1 下行
 if (isZgf) {
 jhlc = down_mileage;
 bcsj = early_down_time != 0 ? early_down_time : down_travel_time;
 } else if (isWgf) {
 jhlc = down_mileage;
 bcsj = late_down_time != 0 ? late_down_time : down_travel_time;
 } else {
 jhlc = down_mileage;
 bcsj = down_travel_time;
 }
}</jsScript_script> | ||
| 700 | - </jsScript> </jsScripts> <fields> <field> <name>jhlc</name> | ||
| 701 | - <rename>jhlc</rename> | ||
| 702 | - <type>String</type> | ||
| 703 | - <length>-1</length> | ||
| 704 | - <precision>-1</precision> | ||
| 705 | - <replace>N</replace> | ||
| 706 | - </field> <field> <name>bcsj</name> | ||
| 707 | - <rename>bcsj</rename> | ||
| 708 | - <type>String</type> | ||
| 709 | - <length>-1</length> | ||
| 710 | - <precision>-1</precision> | ||
| 711 | - <replace>N</replace> | ||
| 712 | - </field> </fields> <cluster_schema/> | ||
| 713 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | - <xloc>148</xloc> | ||
| 715 | - <yloc>674</yloc> | ||
| 716 | - <draw>Y</draw> | ||
| 717 | - </GUI> | ||
| 718 | - </step> | ||
| 719 | - | ||
| 720 | - <step> | ||
| 721 | - <name>匹配出场班次里程时间</name> | ||
| 722 | - <type>ScriptValueMod</type> | ||
| 723 | - <description/> | ||
| 724 | - <distribute>Y</distribute> | ||
| 725 | - <custom_distribution/> | ||
| 726 | - <copies>1</copies> | ||
| 727 | - <partitioning> | ||
| 728 | - <method>none</method> | ||
| 729 | - <schema_name/> | ||
| 730 | - </partitioning> | ||
| 731 | - <compatible>N</compatible> | ||
| 732 | - <optimizationLevel>9</optimizationLevel> | ||
| 733 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 734 | - <jsScript_name>Script 1</jsScript_name> | ||
| 735 | - <jsScript_script>//Script here

var out_mileage; // 出场计划里程
var out_time; // 出场计划时间

if (sxx == 0) { // 上行
 out_mileage = up_out_mileage;
 out_time = up_out_timer;
} else { // sxx == 1 下行
 out_mileage = down_out_mileage;
 out_time = down_out_timer;
}



</jsScript_script> | ||
| 736 | - </jsScript> </jsScripts> <fields> <field> <name>out_mileage</name> | ||
| 737 | - <rename>out_mileage</rename> | ||
| 738 | - <type>String</type> | ||
| 739 | - <length>-1</length> | ||
| 740 | - <precision>-1</precision> | ||
| 741 | - <replace>N</replace> | ||
| 742 | - </field> <field> <name>out_time</name> | ||
| 743 | - <rename>out_time</rename> | ||
| 744 | - <type>String</type> | ||
| 745 | - <length>-1</length> | ||
| 746 | - <precision>-1</precision> | ||
| 747 | - <replace>N</replace> | ||
| 748 | - </field> </fields> <cluster_schema/> | ||
| 749 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 750 | - <xloc>336</xloc> | ||
| 751 | - <yloc>862</yloc> | ||
| 752 | - <draw>Y</draw> | ||
| 753 | - </GUI> | ||
| 754 | - </step> | ||
| 755 | - | ||
| 756 | - <step> | ||
| 757 | - <name>匹配进场班次里程时间</name> | ||
| 758 | - <type>ScriptValueMod</type> | ||
| 759 | - <description/> | ||
| 760 | - <distribute>Y</distribute> | ||
| 761 | - <custom_distribution/> | ||
| 762 | - <copies>1</copies> | ||
| 763 | - <partitioning> | ||
| 764 | - <method>none</method> | ||
| 765 | - <schema_name/> | ||
| 766 | - </partitioning> | ||
| 767 | - <compatible>N</compatible> | ||
| 768 | - <optimizationLevel>9</optimizationLevel> | ||
| 769 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 770 | - <jsScript_name>Script 1</jsScript_name> | ||
| 771 | - <jsScript_script>//Script here

var parade_mileage; // 进场计划里程
var parade_time; // 进场计划时间

if (sxx2 == 0) { // 上行
 parade_mileage = up_in_mileage;
 parade_time = up_in_timer;
} else { // sxx == 1 下行
 parade_mileage = down_in_mileage;
 parade_time = down_in_timer;
}



</jsScript_script> | ||
| 772 | - </jsScript> </jsScripts> <fields> <field> <name>parade_mileage</name> | ||
| 773 | - <rename>parade_mileage</rename> | ||
| 774 | - <type>String</type> | ||
| 775 | - <length>-1</length> | ||
| 776 | - <precision>-1</precision> | ||
| 777 | - <replace>N</replace> | ||
| 778 | - </field> <field> <name>parade_time</name> | ||
| 779 | - <rename>parade_time</rename> | ||
| 780 | - <type>String</type> | ||
| 781 | - <length>-1</length> | ||
| 782 | - <precision>-1</precision> | ||
| 783 | - <replace>N</replace> | ||
| 784 | - </field> </fields> <cluster_schema/> | ||
| 785 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 786 | - <xloc>726</xloc> | ||
| 787 | - <yloc>1005</yloc> | ||
| 788 | - <draw>Y</draw> | ||
| 789 | - </GUI> | ||
| 790 | - </step> | ||
| 791 | - | ||
| 792 | - <step> | ||
| 793 | - <name>增加时刻表名字,线路名字,停车场名字</name> | ||
| 794 | - <type>DataGrid</type> | ||
| 795 | - <description/> | ||
| 796 | - <distribute>Y</distribute> | ||
| 797 | - <custom_distribution/> | ||
| 798 | - <copies>1</copies> | ||
| 799 | - <partitioning> | ||
| 800 | - <method>none</method> | ||
| 801 | - <schema_name/> | ||
| 802 | - </partitioning> | ||
| 803 | - <fields> | ||
| 804 | - </fields> | ||
| 805 | - <data> | ||
| 806 | - <line> </line> | ||
| 807 | - </data> | ||
| 808 | - <cluster_schema/> | ||
| 809 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 810 | - <xloc>110</xloc> | ||
| 811 | - <yloc>133</yloc> | ||
| 812 | - <draw>Y</draw> | ||
| 813 | - </GUI> | ||
| 814 | - </step> | ||
| 815 | - | ||
| 816 | - <step> | ||
| 817 | - <name>处理数据</name> | ||
| 818 | - <type>ScriptValueMod</type> | ||
| 819 | - <description/> | ||
| 820 | - <distribute>Y</distribute> | ||
| 821 | - <custom_distribution/> | ||
| 822 | - <copies>1</copies> | ||
| 823 | - <partitioning> | ||
| 824 | - <method>none</method> | ||
| 825 | - <schema_name/> | ||
| 826 | - </partitioning> | ||
| 827 | - <compatible>N</compatible> | ||
| 828 | - <optimizationLevel>9</optimizationLevel> | ||
| 829 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 830 | - <jsScript_name>Script 1</jsScript_name> | ||
| 831 | - <jsScript_script>//Script here

// 使用正则表达式去除站点名称右侧多余的数字
qdzname = qdzname.replace(/(\d+$)/g,'');

// sendtime处理,hhmm,hh:mm,hh,mm
var sendtime_calcu;
if (sendtime.length == 5) { // 最长格式,包括分隔符,统一把分隔符替换成冒号
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(3, 2);
} else if (sendtime.length == 4) {
 if (sendtime.indexOf(":") > 0) { // 冒号分隔,无需修改
 sendtime_calcu = sendtime;
 } else if (sendtime.indexOf(",") > 0) { // 逗号分隔,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(2, 2);
 } else { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(2, 2);
 }
} else if (sendtime.length == 3) { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(1, 2);
}

// 设置分班
var isfb = 0;

// 设置停驶
var ists = 0;

// 设置isCanceled
var iscanceled = 0;</jsScript_script> | ||
| 832 | - </jsScript> </jsScripts> <fields> <field> <name>qdzname</name> | ||
| 833 | - <rename>qdzname</rename> | ||
| 834 | - <type>String</type> | ||
| 835 | - <length>-1</length> | ||
| 836 | - <precision>-1</precision> | ||
| 837 | - <replace>Y</replace> | ||
| 838 | - </field> <field> <name>isfb</name> | ||
| 839 | - <rename>isfb</rename> | ||
| 840 | - <type>Integer</type> | ||
| 841 | - <length>-1</length> | ||
| 842 | - <precision>-1</precision> | ||
| 843 | - <replace>N</replace> | ||
| 844 | - </field> <field> <name>iscanceled</name> | ||
| 845 | - <rename>iscanceled</rename> | ||
| 846 | - <type>Integer</type> | ||
| 847 | - <length>-1</length> | ||
| 848 | - <precision>-1</precision> | ||
| 849 | - <replace>N</replace> | ||
| 850 | - </field> <field> <name>sendtime_calcu</name> | ||
| 851 | - <rename>sendtime_calcu</rename> | ||
| 852 | - <type>String</type> | ||
| 853 | - <length>-1</length> | ||
| 854 | - <precision>-1</precision> | ||
| 855 | - <replace>N</replace> | ||
| 856 | - </field> <field> <name>ists</name> | ||
| 857 | - <rename>ists</rename> | ||
| 858 | - <type>Integer</type> | ||
| 859 | - <length>-1</length> | ||
| 860 | - <precision>-1</precision> | ||
| 861 | - <replace>N</replace> | ||
| 862 | - </field> </fields> <cluster_schema/> | ||
| 863 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 864 | - <xloc>788</xloc> | ||
| 865 | - <yloc>44</yloc> | ||
| 866 | - <draw>Y</draw> | ||
| 867 | - </GUI> | ||
| 868 | - </step> | ||
| 869 | - | ||
| 870 | - <step> | ||
| 871 | - <name>字段选择</name> | ||
| 872 | - <type>SelectValues</type> | ||
| 873 | - <description/> | ||
| 874 | - <distribute>Y</distribute> | ||
| 875 | - <custom_distribution/> | ||
| 876 | - <copies>1</copies> | ||
| 877 | - <partitioning> | ||
| 878 | - <method>none</method> | ||
| 879 | - <schema_name/> | ||
| 880 | - </partitioning> | ||
| 881 | - <fields> <field> <name>路牌</name> | ||
| 882 | - <rename>lp</rename> | ||
| 883 | - <length>-2</length> | ||
| 884 | - <precision>-2</precision> | ||
| 885 | - </field> <field> <name>站点名称</name> | ||
| 886 | - <rename>qdzname</rename> | ||
| 887 | - <length>-2</length> | ||
| 888 | - <precision>-2</precision> | ||
| 889 | - </field> <field> <name>发车时间</name> | ||
| 890 | - <rename>sendtime</rename> | ||
| 891 | - <length>-2</length> | ||
| 892 | - <precision>-2</precision> | ||
| 893 | - </field> <select_unspecified>Y</select_unspecified> | ||
| 894 | - </fields> <cluster_schema/> | ||
| 895 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 896 | - <xloc>444</xloc> | ||
| 897 | - <yloc>131</yloc> | ||
| 898 | - <draw>Y</draw> | ||
| 899 | - </GUI> | ||
| 900 | - </step> | ||
| 901 | - | ||
| 902 | - <step> | ||
| 903 | - <name>按照班次类型过滤数据1</name> | ||
| 904 | - <type>FilterRows</type> | ||
| 905 | - <description/> | ||
| 906 | - <distribute>Y</distribute> | ||
| 907 | - <custom_distribution/> | ||
| 908 | - <copies>1</copies> | ||
| 909 | - <partitioning> | ||
| 910 | - <method>none</method> | ||
| 911 | - <schema_name/> | ||
| 912 | - </partitioning> | ||
| 913 | -<send_true_to>正常班次数据</send_true_to> | ||
| 914 | -<send_false_to>按照班次类型过滤数据2</send_false_to> | ||
| 915 | - <compare> | ||
| 916 | -<condition> | ||
| 917 | - <negated>N</negated> | ||
| 918 | - <leftvalue>bctype</leftvalue> | ||
| 919 | - <function>=</function> | ||
| 920 | - <rightvalue/> | ||
| 921 | - <value><name>constant</name><type>String</type><text>正常班次</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 922 | - </compare> | ||
| 923 | - <cluster_schema/> | ||
| 924 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 925 | - <xloc>860</xloc> | ||
| 926 | - <yloc>401</yloc> | ||
| 927 | - <draw>Y</draw> | ||
| 928 | - </GUI> | ||
| 929 | - </step> | ||
| 930 | - | ||
| 931 | - <step> | ||
| 932 | - <name>按照班次类型过滤数据2</name> | ||
| 933 | - <type>FilterRows</type> | ||
| 934 | - <description/> | ||
| 935 | - <distribute>Y</distribute> | ||
| 936 | - <custom_distribution/> | ||
| 937 | - <copies>1</copies> | ||
| 938 | - <partitioning> | ||
| 939 | - <method>none</method> | ||
| 940 | - <schema_name/> | ||
| 941 | - </partitioning> | ||
| 942 | -<send_true_to>出场班次数据</send_true_to> | ||
| 943 | -<send_false_to>进场班次数据</send_false_to> | ||
| 944 | - <compare> | ||
| 945 | -<condition> | ||
| 946 | - <negated>N</negated> | ||
| 947 | - <leftvalue>bctype</leftvalue> | ||
| 948 | - <function>=</function> | ||
| 949 | - <rightvalue/> | ||
| 950 | - <value><name>constant</name><type>String</type><text>出场</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 951 | - </compare> | ||
| 952 | - <cluster_schema/> | ||
| 953 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 954 | - <xloc>995</xloc> | ||
| 955 | - <yloc>503</yloc> | ||
| 956 | - <draw>Y</draw> | ||
| 957 | - </GUI> | ||
| 958 | - </step> | ||
| 959 | - | ||
| 960 | - <step> | ||
| 961 | - <name>插入/更新bsth_c_s_ttinfo_detail</name> | ||
| 962 | - <type>InsertUpdate</type> | ||
| 963 | - <description/> | ||
| 964 | - <distribute>Y</distribute> | ||
| 965 | - <custom_distribution/> | ||
| 966 | - <copies>1</copies> | ||
| 967 | - <partitioning> | ||
| 968 | - <method>none</method> | ||
| 969 | - <schema_name/> | ||
| 970 | - </partitioning> | ||
| 971 | - <connection>bus_control_variable</connection> | ||
| 972 | - <commit>100</commit> | ||
| 973 | - <update_bypassed>N</update_bypassed> | ||
| 974 | - <lookup> | ||
| 975 | - <schema/> | ||
| 976 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 977 | - <key> | ||
| 978 | - <name>xlid</name> | ||
| 979 | - <field>xl</field> | ||
| 980 | - <condition>=</condition> | ||
| 981 | - <name2/> | ||
| 982 | - </key> | ||
| 983 | - <key> | ||
| 984 | - <name>ttid</name> | ||
| 985 | - <field>ttinfo</field> | ||
| 986 | - <condition>=</condition> | ||
| 987 | - <name2/> | ||
| 988 | - </key> | ||
| 989 | - <key> | ||
| 990 | - <name>lpid</name> | ||
| 991 | - <field>lp</field> | ||
| 992 | - <condition>=</condition> | ||
| 993 | - <name2/> | ||
| 994 | - </key> | ||
| 995 | - <key> | ||
| 996 | - <name>fcno</name> | ||
| 997 | - <field>fcno</field> | ||
| 998 | - <condition>=</condition> | ||
| 999 | - <name2/> | ||
| 1000 | - </key> | ||
| 1001 | - <key> | ||
| 1002 | - <name>bcs</name> | ||
| 1003 | - <field>bcs</field> | ||
| 1004 | - <condition>=</condition> | ||
| 1005 | - <name2/> | ||
| 1006 | - </key> | ||
| 1007 | - <value> | ||
| 1008 | - <name>lp</name> | ||
| 1009 | - <rename>lpid</rename> | ||
| 1010 | - <update>Y</update> | ||
| 1011 | - </value> | ||
| 1012 | - <value> | ||
| 1013 | - <name>bc_type</name> | ||
| 1014 | - <rename>bctype_code</rename> | ||
| 1015 | - <update>Y</update> | ||
| 1016 | - </value> | ||
| 1017 | - <value> | ||
| 1018 | - <name>bcs</name> | ||
| 1019 | - <rename>bcs</rename> | ||
| 1020 | - <update>Y</update> | ||
| 1021 | - </value> | ||
| 1022 | - <value> | ||
| 1023 | - <name>bcsj</name> | ||
| 1024 | - <rename>bcsj</rename> | ||
| 1025 | - <update>Y</update> | ||
| 1026 | - </value> | ||
| 1027 | - <value> | ||
| 1028 | - <name>fcno</name> | ||
| 1029 | - <rename>fcno</rename> | ||
| 1030 | - <update>Y</update> | ||
| 1031 | - </value> | ||
| 1032 | - <value> | ||
| 1033 | - <name>jhlc</name> | ||
| 1034 | - <rename>jhlc</rename> | ||
| 1035 | - <update>Y</update> | ||
| 1036 | - </value> | ||
| 1037 | - <value> | ||
| 1038 | - <name>fcsj</name> | ||
| 1039 | - <rename>sendtime_calcu</rename> | ||
| 1040 | - <update>Y</update> | ||
| 1041 | - </value> | ||
| 1042 | - <value> | ||
| 1043 | - <name>ttinfo</name> | ||
| 1044 | - <rename>ttid</rename> | ||
| 1045 | - <update>Y</update> | ||
| 1046 | - </value> | ||
| 1047 | - <value> | ||
| 1048 | - <name>xl</name> | ||
| 1049 | - <rename>xlid</rename> | ||
| 1050 | - <update>Y</update> | ||
| 1051 | - </value> | ||
| 1052 | - <value> | ||
| 1053 | - <name>qdz</name> | ||
| 1054 | - <rename>qdzid</rename> | ||
| 1055 | - <update>Y</update> | ||
| 1056 | - </value> | ||
| 1057 | - <value> | ||
| 1058 | - <name>zdz</name> | ||
| 1059 | - <rename>zdzid</rename> | ||
| 1060 | - <update>Y</update> | ||
| 1061 | - </value> | ||
| 1062 | - <value> | ||
| 1063 | - <name>xl_dir</name> | ||
| 1064 | - <rename>sxx</rename> | ||
| 1065 | - <update>Y</update> | ||
| 1066 | - </value> | ||
| 1067 | - <value> | ||
| 1068 | - <name>isfb</name> | ||
| 1069 | - <rename>isfb</rename> | ||
| 1070 | - <update>Y</update> | ||
| 1071 | - </value> | ||
| 1072 | - <value> | ||
| 1073 | - <name>qdz_code</name> | ||
| 1074 | - <rename>qdzcode</rename> | ||
| 1075 | - <update>Y</update> | ||
| 1076 | - </value> | ||
| 1077 | - <value> | ||
| 1078 | - <name>qdz_name</name> | ||
| 1079 | - <rename>qdzname</rename> | ||
| 1080 | - <update>Y</update> | ||
| 1081 | - </value> | ||
| 1082 | - <value> | ||
| 1083 | - <name>zdz_code</name> | ||
| 1084 | - <rename>zdzcode</rename> | ||
| 1085 | - <update>Y</update> | ||
| 1086 | - </value> | ||
| 1087 | - <value> | ||
| 1088 | - <name>zdz_name</name> | ||
| 1089 | - <rename>zdzname</rename> | ||
| 1090 | - <update>Y</update> | ||
| 1091 | - </value> | ||
| 1092 | - <value> | ||
| 1093 | - <name>ists</name> | ||
| 1094 | - <rename>ists</rename> | ||
| 1095 | - <update>Y</update> | ||
| 1096 | - </value> | ||
| 1097 | - </lookup> | ||
| 1098 | - <cluster_schema/> | ||
| 1099 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1100 | - <xloc>143</xloc> | ||
| 1101 | - <yloc>860</yloc> | ||
| 1102 | - <draw>Y</draw> | ||
| 1103 | - </GUI> | ||
| 1104 | - </step> | ||
| 1105 | - | ||
| 1106 | - <step> | ||
| 1107 | - <name>插入/更新bsth_c_s_ttinfo_detail 2</name> | ||
| 1108 | - <type>InsertUpdate</type> | ||
| 1109 | - <description/> | ||
| 1110 | - <distribute>Y</distribute> | ||
| 1111 | - <custom_distribution/> | ||
| 1112 | - <copies>1</copies> | ||
| 1113 | - <partitioning> | ||
| 1114 | - <method>none</method> | ||
| 1115 | - <schema_name/> | ||
| 1116 | - </partitioning> | ||
| 1117 | - <connection>bus_control_variable</connection> | ||
| 1118 | - <commit>100</commit> | ||
| 1119 | - <update_bypassed>N</update_bypassed> | ||
| 1120 | - <lookup> | ||
| 1121 | - <schema/> | ||
| 1122 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 1123 | - <key> | ||
| 1124 | - <name>xlid</name> | ||
| 1125 | - <field>xl</field> | ||
| 1126 | - <condition>=</condition> | ||
| 1127 | - <name2/> | ||
| 1128 | - </key> | ||
| 1129 | - <key> | ||
| 1130 | - <name>ttid</name> | ||
| 1131 | - <field>ttinfo</field> | ||
| 1132 | - <condition>=</condition> | ||
| 1133 | - <name2/> | ||
| 1134 | - </key> | ||
| 1135 | - <key> | ||
| 1136 | - <name>lpid</name> | ||
| 1137 | - <field>lp</field> | ||
| 1138 | - <condition>=</condition> | ||
| 1139 | - <name2/> | ||
| 1140 | - </key> | ||
| 1141 | - <key> | ||
| 1142 | - <name>fcno</name> | ||
| 1143 | - <field>fcno</field> | ||
| 1144 | - <condition>=</condition> | ||
| 1145 | - <name2/> | ||
| 1146 | - </key> | ||
| 1147 | - <key> | ||
| 1148 | - <name>bcs</name> | ||
| 1149 | - <field>bcs</field> | ||
| 1150 | - <condition>=</condition> | ||
| 1151 | - <name2/> | ||
| 1152 | - </key> | ||
| 1153 | - <value> | ||
| 1154 | - <name>tcc</name> | ||
| 1155 | - <rename>qdzid</rename> | ||
| 1156 | - <update>Y</update> | ||
| 1157 | - </value> | ||
| 1158 | - <value> | ||
| 1159 | - <name>zdz</name> | ||
| 1160 | - <rename>zdzid</rename> | ||
| 1161 | - <update>Y</update> | ||
| 1162 | - </value> | ||
| 1163 | - <value> | ||
| 1164 | - <name>xl</name> | ||
| 1165 | - <rename>xlid</rename> | ||
| 1166 | - <update>Y</update> | ||
| 1167 | - </value> | ||
| 1168 | - <value> | ||
| 1169 | - <name>ttinfo</name> | ||
| 1170 | - <rename>ttid</rename> | ||
| 1171 | - <update>Y</update> | ||
| 1172 | - </value> | ||
| 1173 | - <value> | ||
| 1174 | - <name>xl_dir</name> | ||
| 1175 | - <rename>sxx</rename> | ||
| 1176 | - <update>Y</update> | ||
| 1177 | - </value> | ||
| 1178 | - <value> | ||
| 1179 | - <name>lp</name> | ||
| 1180 | - <rename>lpid</rename> | ||
| 1181 | - <update>Y</update> | ||
| 1182 | - </value> | ||
| 1183 | - <value> | ||
| 1184 | - <name>jhlc</name> | ||
| 1185 | - <rename>out_mileage</rename> | ||
| 1186 | - <update>Y</update> | ||
| 1187 | - </value> | ||
| 1188 | - <value> | ||
| 1189 | - <name>fcsj</name> | ||
| 1190 | - <rename>sendtime_calcu</rename> | ||
| 1191 | - <update>Y</update> | ||
| 1192 | - </value> | ||
| 1193 | - <value> | ||
| 1194 | - <name>bcsj</name> | ||
| 1195 | - <rename>out_time</rename> | ||
| 1196 | - <update>Y</update> | ||
| 1197 | - </value> | ||
| 1198 | - <value> | ||
| 1199 | - <name>bcs</name> | ||
| 1200 | - <rename>bcs</rename> | ||
| 1201 | - <update>Y</update> | ||
| 1202 | - </value> | ||
| 1203 | - <value> | ||
| 1204 | - <name>fcno</name> | ||
| 1205 | - <rename>fcno</rename> | ||
| 1206 | - <update>Y</update> | ||
| 1207 | - </value> | ||
| 1208 | - <value> | ||
| 1209 | - <name>bc_type</name> | ||
| 1210 | - <rename>bctype_code</rename> | ||
| 1211 | - <update>Y</update> | ||
| 1212 | - </value> | ||
| 1213 | - <value> | ||
| 1214 | - <name>isfb</name> | ||
| 1215 | - <rename>isfb</rename> | ||
| 1216 | - <update>Y</update> | ||
| 1217 | - </value> | ||
| 1218 | - <value> | ||
| 1219 | - <name>qdz_code</name> | ||
| 1220 | - <rename>qdzcode</rename> | ||
| 1221 | - <update>Y</update> | ||
| 1222 | - </value> | ||
| 1223 | - <value> | ||
| 1224 | - <name>qdz_name</name> | ||
| 1225 | - <rename>tn</rename> | ||
| 1226 | - <update>Y</update> | ||
| 1227 | - </value> | ||
| 1228 | - <value> | ||
| 1229 | - <name>zdz_code</name> | ||
| 1230 | - <rename>zdzcode</rename> | ||
| 1231 | - <update>Y</update> | ||
| 1232 | - </value> | ||
| 1233 | - <value> | ||
| 1234 | - <name>zdz_name</name> | ||
| 1235 | - <rename>zdzname</rename> | ||
| 1236 | - <update>Y</update> | ||
| 1237 | - </value> | ||
| 1238 | - <value> | ||
| 1239 | - <name>ists</name> | ||
| 1240 | - <rename>ists</rename> | ||
| 1241 | - <update>Y</update> | ||
| 1242 | - </value> | ||
| 1243 | - </lookup> | ||
| 1244 | - <cluster_schema/> | ||
| 1245 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1246 | - <xloc>340</xloc> | ||
| 1247 | - <yloc>1087</yloc> | ||
| 1248 | - <draw>Y</draw> | ||
| 1249 | - </GUI> | ||
| 1250 | - </step> | ||
| 1251 | - | ||
| 1252 | - <step> | ||
| 1253 | - <name>插入/更新bsth_c_s_ttinfo_detail 3</name> | ||
| 1254 | - <type>InsertUpdate</type> | ||
| 1255 | - <description/> | ||
| 1256 | - <distribute>Y</distribute> | ||
| 1257 | - <custom_distribution/> | ||
| 1258 | - <copies>1</copies> | ||
| 1259 | - <partitioning> | ||
| 1260 | - <method>none</method> | ||
| 1261 | - <schema_name/> | ||
| 1262 | - </partitioning> | ||
| 1263 | - <connection>bus_control_variable</connection> | ||
| 1264 | - <commit>100</commit> | ||
| 1265 | - <update_bypassed>N</update_bypassed> | ||
| 1266 | - <lookup> | ||
| 1267 | - <schema/> | ||
| 1268 | - <table>bsth_c_s_ttinfo_detail</table> | ||
| 1269 | - <key> | ||
| 1270 | - <name>xlid</name> | ||
| 1271 | - <field>xl</field> | ||
| 1272 | - <condition>=</condition> | ||
| 1273 | - <name2/> | ||
| 1274 | - </key> | ||
| 1275 | - <key> | ||
| 1276 | - <name>ttid</name> | ||
| 1277 | - <field>ttinfo</field> | ||
| 1278 | - <condition>=</condition> | ||
| 1279 | - <name2/> | ||
| 1280 | - </key> | ||
| 1281 | - <key> | ||
| 1282 | - <name>lpid</name> | ||
| 1283 | - <field>lp</field> | ||
| 1284 | - <condition>=</condition> | ||
| 1285 | - <name2/> | ||
| 1286 | - </key> | ||
| 1287 | - <key> | ||
| 1288 | - <name>fcno</name> | ||
| 1289 | - <field>fcno</field> | ||
| 1290 | - <condition>=</condition> | ||
| 1291 | - <name2/> | ||
| 1292 | - </key> | ||
| 1293 | - <key> | ||
| 1294 | - <name>bcs</name> | ||
| 1295 | - <field>bcs</field> | ||
| 1296 | - <condition>=</condition> | ||
| 1297 | - <name2/> | ||
| 1298 | - </key> | ||
| 1299 | - <value> | ||
| 1300 | - <name>fcno</name> | ||
| 1301 | - <rename>fcno</rename> | ||
| 1302 | - <update>Y</update> | ||
| 1303 | - </value> | ||
| 1304 | - <value> | ||
| 1305 | - <name>bcs</name> | ||
| 1306 | - <rename>bcs</rename> | ||
| 1307 | - <update>Y</update> | ||
| 1308 | - </value> | ||
| 1309 | - <value> | ||
| 1310 | - <name>xl</name> | ||
| 1311 | - <rename>xlid</rename> | ||
| 1312 | - <update>Y</update> | ||
| 1313 | - </value> | ||
| 1314 | - <value> | ||
| 1315 | - <name>ttinfo</name> | ||
| 1316 | - <rename>ttid</rename> | ||
| 1317 | - <update>Y</update> | ||
| 1318 | - </value> | ||
| 1319 | - <value> | ||
| 1320 | - <name>lp</name> | ||
| 1321 | - <rename>lpid</rename> | ||
| 1322 | - <update>Y</update> | ||
| 1323 | - </value> | ||
| 1324 | - <value> | ||
| 1325 | - <name>bc_type</name> | ||
| 1326 | - <rename>bctype_code</rename> | ||
| 1327 | - <update>Y</update> | ||
| 1328 | - </value> | ||
| 1329 | - <value> | ||
| 1330 | - <name>bcsj</name> | ||
| 1331 | - <rename>parade_time</rename> | ||
| 1332 | - <update>Y</update> | ||
| 1333 | - </value> | ||
| 1334 | - <value> | ||
| 1335 | - <name>jhlc</name> | ||
| 1336 | - <rename>parade_mileage</rename> | ||
| 1337 | - <update>Y</update> | ||
| 1338 | - </value> | ||
| 1339 | - <value> | ||
| 1340 | - <name>fcsj</name> | ||
| 1341 | - <rename>sendtime_calcu</rename> | ||
| 1342 | - <update>Y</update> | ||
| 1343 | - </value> | ||
| 1344 | - <value> | ||
| 1345 | - <name>xl_dir</name> | ||
| 1346 | - <rename>sxx2</rename> | ||
| 1347 | - <update>Y</update> | ||
| 1348 | - </value> | ||
| 1349 | - <value> | ||
| 1350 | - <name>qdz</name> | ||
| 1351 | - <rename>qdzid</rename> | ||
| 1352 | - <update>Y</update> | ||
| 1353 | - </value> | ||
| 1354 | - <value> | ||
| 1355 | - <name>tcc</name> | ||
| 1356 | - <rename>zdzid</rename> | ||
| 1357 | - <update>Y</update> | ||
| 1358 | - </value> | ||
| 1359 | - <value> | ||
| 1360 | - <name>isfb</name> | ||
| 1361 | - <rename>isfb</rename> | ||
| 1362 | - <update>Y</update> | ||
| 1363 | - </value> | ||
| 1364 | - <value> | ||
| 1365 | - <name>qdz_code</name> | ||
| 1366 | - <rename>qdzcode</rename> | ||
| 1367 | - <update>Y</update> | ||
| 1368 | - </value> | ||
| 1369 | - <value> | ||
| 1370 | - <name>qdz_name</name> | ||
| 1371 | - <rename>qname</rename> | ||
| 1372 | - <update>Y</update> | ||
| 1373 | - </value> | ||
| 1374 | - <value> | ||
| 1375 | - <name>zdz_code</name> | ||
| 1376 | - <rename>zdzcode</rename> | ||
| 1377 | - <update>Y</update> | ||
| 1378 | - </value> | ||
| 1379 | - <value> | ||
| 1380 | - <name>zdz_name</name> | ||
| 1381 | - <rename>tn</rename> | ||
| 1382 | - <update>Y</update> | ||
| 1383 | - </value> | ||
| 1384 | - <value> | ||
| 1385 | - <name>ists</name> | ||
| 1386 | - <rename>ists</rename> | ||
| 1387 | - <update>Y</update> | ||
| 1388 | - </value> | ||
| 1389 | - </lookup> | ||
| 1390 | - <cluster_schema/> | ||
| 1391 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1392 | - <xloc>845</xloc> | ||
| 1393 | - <yloc>899</yloc> | ||
| 1394 | - <draw>Y</draw> | ||
| 1395 | - </GUI> | ||
| 1396 | - </step> | ||
| 1397 | - | ||
| 1398 | - <step> | ||
| 1399 | - <name>时刻表明细信息Excel输入</name> | ||
| 1400 | - <type>ExcelInput</type> | ||
| 1401 | - <description/> | ||
| 1402 | - <distribute>N</distribute> | ||
| 1403 | - <custom_distribution/> | ||
| 1404 | - <copies>1</copies> | ||
| 1405 | - <partitioning> | ||
| 1406 | - <method>none</method> | ||
| 1407 | - <schema_name/> | ||
| 1408 | - </partitioning> | ||
| 1409 | - <header>Y</header> | ||
| 1410 | - <noempty>Y</noempty> | ||
| 1411 | - <stoponempty>N</stoponempty> | ||
| 1412 | - <filefield/> | ||
| 1413 | - <sheetfield/> | ||
| 1414 | - <sheetrownumfield/> | ||
| 1415 | - <rownumfield/> | ||
| 1416 | - <sheetfield/> | ||
| 1417 | - <filefield/> | ||
| 1418 | - <limit>0</limit> | ||
| 1419 | - <encoding/> | ||
| 1420 | - <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 1421 | - <accept_filenames>N</accept_filenames> | ||
| 1422 | - <accept_field/> | ||
| 1423 | - <accept_stepname/> | ||
| 1424 | - <file> | ||
| 1425 | - <name/> | ||
| 1426 | - <filemask/> | ||
| 1427 | - <exclude_filemask/> | ||
| 1428 | - <file_required>N</file_required> | ||
| 1429 | - <include_subfolders>N</include_subfolders> | ||
| 1430 | - </file> | ||
| 1431 | - <fields> | ||
| 1432 | - </fields> | ||
| 1433 | - <sheets> | ||
| 1434 | - <sheet> | ||
| 1435 | - <name/> | ||
| 1436 | - <startrow>0</startrow> | ||
| 1437 | - <startcol>0</startcol> | ||
| 1438 | - </sheet> | ||
| 1439 | - </sheets> | ||
| 1440 | - <strict_types>N</strict_types> | ||
| 1441 | - <error_ignored>N</error_ignored> | ||
| 1442 | - <error_line_skipped>N</error_line_skipped> | ||
| 1443 | - <bad_line_files_destination_directory/> | ||
| 1444 | - <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 1445 | - <error_line_files_destination_directory/> | ||
| 1446 | - <error_line_files_extension>error</error_line_files_extension> | ||
| 1447 | - <line_number_files_destination_directory/> | ||
| 1448 | - <line_number_files_extension>line</line_number_files_extension> | ||
| 1449 | - <shortFileFieldName/> | ||
| 1450 | - <pathFieldName/> | ||
| 1451 | - <hiddenFieldName/> | ||
| 1452 | - <lastModificationTimeFieldName/> | ||
| 1453 | - <uriNameFieldName/> | ||
| 1454 | - <rootUriNameFieldName/> | ||
| 1455 | - <extensionFieldName/> | ||
| 1456 | - <sizeFieldName/> | ||
| 1457 | - <spreadsheet_type>JXL</spreadsheet_type> | ||
| 1458 | - <cluster_schema/> | ||
| 1459 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1460 | - <xloc>112</xloc> | ||
| 1461 | - <yloc>44</yloc> | ||
| 1462 | - <draw>Y</draw> | ||
| 1463 | - </GUI> | ||
| 1464 | - </step> | ||
| 1465 | - | ||
| 1466 | - <step> | ||
| 1467 | - <name>查找停车场1</name> | ||
| 1468 | - <type>DBLookup</type> | ||
| 1469 | - <description/> | ||
| 1470 | - <distribute>Y</distribute> | ||
| 1471 | - <custom_distribution/> | ||
| 1472 | - <copies>1</copies> | ||
| 1473 | - <partitioning> | ||
| 1474 | - <method>none</method> | ||
| 1475 | - <schema_name/> | ||
| 1476 | - </partitioning> | ||
| 1477 | - <connection>bus_control_variable</connection> | ||
| 1478 | - <cache>N</cache> | ||
| 1479 | - <cache_load_all>N</cache_load_all> | ||
| 1480 | - <cache_size>0</cache_size> | ||
| 1481 | - <lookup> | ||
| 1482 | - <schema/> | ||
| 1483 | - <table>bsth_c_car_park</table> | ||
| 1484 | - <orderby/> | ||
| 1485 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1486 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1487 | - <key> | ||
| 1488 | - <name>tccname_</name> | ||
| 1489 | - <field>park_name</field> | ||
| 1490 | - <condition>=</condition> | ||
| 1491 | - <name2/> | ||
| 1492 | - </key> | ||
| 1493 | - <value> | ||
| 1494 | - <name>id</name> | ||
| 1495 | - <rename>qdzid</rename> | ||
| 1496 | - <default/> | ||
| 1497 | - <type>Integer</type> | ||
| 1498 | - </value> | ||
| 1499 | - <value> | ||
| 1500 | - <name>park_code</name> | ||
| 1501 | - <rename>qdzcode</rename> | ||
| 1502 | - <default/> | ||
| 1503 | - <type>String</type> | ||
| 1504 | - </value> | ||
| 1505 | - <value> | ||
| 1506 | - <name>park_name</name> | ||
| 1507 | - <rename>tn</rename> | ||
| 1508 | - <default/> | ||
| 1509 | - <type>String</type> | ||
| 1510 | - </value> | ||
| 1511 | - </lookup> | ||
| 1512 | - <cluster_schema/> | ||
| 1513 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1514 | - <xloc>755</xloc> | ||
| 1515 | - <yloc>504</yloc> | ||
| 1516 | - <draw>Y</draw> | ||
| 1517 | - </GUI> | ||
| 1518 | - </step> | ||
| 1519 | - | ||
| 1520 | - <step> | ||
| 1521 | - <name>查找停车场2</name> | ||
| 1522 | - <type>DBLookup</type> | ||
| 1523 | - <description/> | ||
| 1524 | - <distribute>Y</distribute> | ||
| 1525 | - <custom_distribution/> | ||
| 1526 | - <copies>1</copies> | ||
| 1527 | - <partitioning> | ||
| 1528 | - <method>none</method> | ||
| 1529 | - <schema_name/> | ||
| 1530 | - </partitioning> | ||
| 1531 | - <connection>bus_control_variable</connection> | ||
| 1532 | - <cache>N</cache> | ||
| 1533 | - <cache_load_all>N</cache_load_all> | ||
| 1534 | - <cache_size>0</cache_size> | ||
| 1535 | - <lookup> | ||
| 1536 | - <schema/> | ||
| 1537 | - <table>bsth_c_car_park</table> | ||
| 1538 | - <orderby/> | ||
| 1539 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1540 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1541 | - <key> | ||
| 1542 | - <name>tccname_</name> | ||
| 1543 | - <field>park_name</field> | ||
| 1544 | - <condition>=</condition> | ||
| 1545 | - <name2/> | ||
| 1546 | - </key> | ||
| 1547 | - <value> | ||
| 1548 | - <name>id</name> | ||
| 1549 | - <rename>zdzid</rename> | ||
| 1550 | - <default/> | ||
| 1551 | - <type>Integer</type> | ||
| 1552 | - </value> | ||
| 1553 | - <value> | ||
| 1554 | - <name>park_code</name> | ||
| 1555 | - <rename>zdzcode</rename> | ||
| 1556 | - <default/> | ||
| 1557 | - <type>String</type> | ||
| 1558 | - </value> | ||
| 1559 | - <value> | ||
| 1560 | - <name>park_name</name> | ||
| 1561 | - <rename>tn</rename> | ||
| 1562 | - <default/> | ||
| 1563 | - <type>String</type> | ||
| 1564 | - </value> | ||
| 1565 | - </lookup> | ||
| 1566 | - <cluster_schema/> | ||
| 1567 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1568 | - <xloc>887</xloc> | ||
| 1569 | - <yloc>608</yloc> | ||
| 1570 | - <draw>Y</draw> | ||
| 1571 | - </GUI> | ||
| 1572 | - </step> | ||
| 1573 | - | ||
| 1574 | - <step> | ||
| 1575 | - <name>查找出场终点站关联并确定上下行</name> | ||
| 1576 | - <type>DBLookup</type> | ||
| 1577 | - <description/> | ||
| 1578 | - <distribute>Y</distribute> | ||
| 1579 | - <custom_distribution/> | ||
| 1580 | - <copies>1</copies> | ||
| 1581 | - <partitioning> | ||
| 1582 | - <method>none</method> | ||
| 1583 | - <schema_name/> | ||
| 1584 | - </partitioning> | ||
| 1585 | - <connection>bus_control_variable</connection> | ||
| 1586 | - <cache>N</cache> | ||
| 1587 | - <cache_load_all>N</cache_load_all> | ||
| 1588 | - <cache_size>0</cache_size> | ||
| 1589 | - <lookup> | ||
| 1590 | - <schema/> | ||
| 1591 | - <table>bsth_c_stationroute</table> | ||
| 1592 | - <orderby/> | ||
| 1593 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1594 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1595 | - <key> | ||
| 1596 | - <name>xlid</name> | ||
| 1597 | - <field>line</field> | ||
| 1598 | - <condition>=</condition> | ||
| 1599 | - <name2/> | ||
| 1600 | - </key> | ||
| 1601 | - <key> | ||
| 1602 | - <name>zdzname</name> | ||
| 1603 | - <field>station_name</field> | ||
| 1604 | - <condition>=</condition> | ||
| 1605 | - <name2/> | ||
| 1606 | - </key> | ||
| 1607 | - <key> | ||
| 1608 | - <name>endZdtype</name> | ||
| 1609 | - <field>station_mark</field> | ||
| 1610 | - <condition>=</condition> | ||
| 1611 | - <name2/> | ||
| 1612 | - </key> | ||
| 1613 | - <key> | ||
| 1614 | - <name>destory</name> | ||
| 1615 | - <field>destroy</field> | ||
| 1616 | - <condition>=</condition> | ||
| 1617 | - <name2/> | ||
| 1618 | - </key> | ||
| 1619 | - <value> | ||
| 1620 | - <name>station</name> | ||
| 1621 | - <rename>zdzid</rename> | ||
| 1622 | - <default/> | ||
| 1623 | - <type>Integer</type> | ||
| 1624 | - </value> | ||
| 1625 | - <value> | ||
| 1626 | - <name>directions</name> | ||
| 1627 | - <rename>sxx</rename> | ||
| 1628 | - <default/> | ||
| 1629 | - <type>Integer</type> | ||
| 1630 | - </value> | ||
| 1631 | - <value> | ||
| 1632 | - <name>station_code</name> | ||
| 1633 | - <rename>zdzcode</rename> | ||
| 1634 | - <default/> | ||
| 1635 | - <type>String</type> | ||
| 1636 | - </value> | ||
| 1637 | - </lookup> | ||
| 1638 | - <cluster_schema/> | ||
| 1639 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1640 | - <xloc>329</xloc> | ||
| 1641 | - <yloc>505</yloc> | ||
| 1642 | - <draw>Y</draw> | ||
| 1643 | - </GUI> | ||
| 1644 | - </step> | ||
| 1645 | - | ||
| 1646 | - <step> | ||
| 1647 | - <name>查找所有线路上下行里程时间</name> | ||
| 1648 | - <type>DBLookup</type> | ||
| 1649 | - <description/> | ||
| 1650 | - <distribute>Y</distribute> | ||
| 1651 | - <custom_distribution/> | ||
| 1652 | - <copies>1</copies> | ||
| 1653 | - <partitioning> | ||
| 1654 | - <method>none</method> | ||
| 1655 | - <schema_name/> | ||
| 1656 | - </partitioning> | ||
| 1657 | - <connection>bus_control_variable</connection> | ||
| 1658 | - <cache>N</cache> | ||
| 1659 | - <cache_load_all>N</cache_load_all> | ||
| 1660 | - <cache_size>0</cache_size> | ||
| 1661 | - <lookup> | ||
| 1662 | - <schema/> | ||
| 1663 | - <table>bsth_c_line_information</table> | ||
| 1664 | - <orderby/> | ||
| 1665 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1666 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1667 | - <key> | ||
| 1668 | - <name>xlid</name> | ||
| 1669 | - <field>line</field> | ||
| 1670 | - <condition>=</condition> | ||
| 1671 | - <name2/> | ||
| 1672 | - </key> | ||
| 1673 | - <value> | ||
| 1674 | - <name>up_mileage</name> | ||
| 1675 | - <rename>up_mileage</rename> | ||
| 1676 | - <default/> | ||
| 1677 | - <type>Number</type> | ||
| 1678 | - </value> | ||
| 1679 | - <value> | ||
| 1680 | - <name>down_mileage</name> | ||
| 1681 | - <rename>down_mileage</rename> | ||
| 1682 | - <default/> | ||
| 1683 | - <type>Number</type> | ||
| 1684 | - </value> | ||
| 1685 | - <value> | ||
| 1686 | - <name>up_travel_time</name> | ||
| 1687 | - <rename>up_travel_time</rename> | ||
| 1688 | - <default/> | ||
| 1689 | - <type>Number</type> | ||
| 1690 | - </value> | ||
| 1691 | - <value> | ||
| 1692 | - <name>down_travel_time</name> | ||
| 1693 | - <rename>down_travel_time</rename> | ||
| 1694 | - <default/> | ||
| 1695 | - <type>Number</type> | ||
| 1696 | - </value> | ||
| 1697 | - <value> | ||
| 1698 | - <name>early_start_time</name> | ||
| 1699 | - <rename>early_start_time</rename> | ||
| 1700 | - <default/> | ||
| 1701 | - <type>String</type> | ||
| 1702 | - </value> | ||
| 1703 | - <value> | ||
| 1704 | - <name>early_end_time</name> | ||
| 1705 | - <rename>early_end_time</rename> | ||
| 1706 | - <default/> | ||
| 1707 | - <type>String</type> | ||
| 1708 | - </value> | ||
| 1709 | - <value> | ||
| 1710 | - <name>early_up_time</name> | ||
| 1711 | - <rename>early_up_time</rename> | ||
| 1712 | - <default/> | ||
| 1713 | - <type>Number</type> | ||
| 1714 | - </value> | ||
| 1715 | - <value> | ||
| 1716 | - <name>early_down_time</name> | ||
| 1717 | - <rename>early_down_time</rename> | ||
| 1718 | - <default/> | ||
| 1719 | - <type>Number</type> | ||
| 1720 | - </value> | ||
| 1721 | - <value> | ||
| 1722 | - <name>late_start_time</name> | ||
| 1723 | - <rename>late_start_time</rename> | ||
| 1724 | - <default/> | ||
| 1725 | - <type>String</type> | ||
| 1726 | - </value> | ||
| 1727 | - <value> | ||
| 1728 | - <name>late_end_time</name> | ||
| 1729 | - <rename>late_end_time</rename> | ||
| 1730 | - <default/> | ||
| 1731 | - <type>String</type> | ||
| 1732 | - </value> | ||
| 1733 | - <value> | ||
| 1734 | - <name>late_up_time</name> | ||
| 1735 | - <rename>late_up_time</rename> | ||
| 1736 | - <default/> | ||
| 1737 | - <type>Number</type> | ||
| 1738 | - </value> | ||
| 1739 | - <value> | ||
| 1740 | - <name>late_down_time</name> | ||
| 1741 | - <rename>late_down_time</rename> | ||
| 1742 | - <default/> | ||
| 1743 | - <type>Number</type> | ||
| 1744 | - </value> | ||
| 1745 | - </lookup> | ||
| 1746 | - <cluster_schema/> | ||
| 1747 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1748 | - <xloc>149</xloc> | ||
| 1749 | - <yloc>581</yloc> | ||
| 1750 | - <draw>Y</draw> | ||
| 1751 | - </GUI> | ||
| 1752 | - </step> | ||
| 1753 | - | ||
| 1754 | - <step> | ||
| 1755 | - <name>查找时刻表基础信息关联</name> | ||
| 1756 | - <type>DBLookup</type> | ||
| 1757 | - <description/> | ||
| 1758 | - <distribute>Y</distribute> | ||
| 1759 | - <custom_distribution/> | ||
| 1760 | - <copies>1</copies> | ||
| 1761 | - <partitioning> | ||
| 1762 | - <method>none</method> | ||
| 1763 | - <schema_name/> | ||
| 1764 | - </partitioning> | ||
| 1765 | - <connection>bus_control_variable</connection> | ||
| 1766 | - <cache>N</cache> | ||
| 1767 | - <cache_load_all>N</cache_load_all> | ||
| 1768 | - <cache_size>0</cache_size> | ||
| 1769 | - <lookup> | ||
| 1770 | - <schema/> | ||
| 1771 | - <table>bsth_c_s_ttinfo</table> | ||
| 1772 | - <orderby/> | ||
| 1773 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1774 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1775 | - <key> | ||
| 1776 | - <name>xlid</name> | ||
| 1777 | - <field>xl</field> | ||
| 1778 | - <condition>=</condition> | ||
| 1779 | - <name2/> | ||
| 1780 | - </key> | ||
| 1781 | - <key> | ||
| 1782 | - <name>ttinfoname_</name> | ||
| 1783 | - <field>name</field> | ||
| 1784 | - <condition>=</condition> | ||
| 1785 | - <name2/> | ||
| 1786 | - </key> | ||
| 1787 | - <key> | ||
| 1788 | - <name>iscanceled</name> | ||
| 1789 | - <field>is_cancel</field> | ||
| 1790 | - <condition>=</condition> | ||
| 1791 | - <name2/> | ||
| 1792 | - </key> | ||
| 1793 | - <value> | ||
| 1794 | - <name>id</name> | ||
| 1795 | - <rename>ttid</rename> | ||
| 1796 | - <default/> | ||
| 1797 | - <type>Integer</type> | ||
| 1798 | - </value> | ||
| 1799 | - </lookup> | ||
| 1800 | - <cluster_schema/> | ||
| 1801 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1802 | - <xloc>1011</xloc> | ||
| 1803 | - <yloc>134</yloc> | ||
| 1804 | - <draw>Y</draw> | ||
| 1805 | - </GUI> | ||
| 1806 | - </step> | ||
| 1807 | - | ||
| 1808 | - <step> | ||
| 1809 | - <name>查找线路关联</name> | ||
| 1810 | - <type>DBLookup</type> | ||
| 1811 | - <description/> | ||
| 1812 | - <distribute>Y</distribute> | ||
| 1813 | - <custom_distribution/> | ||
| 1814 | - <copies>1</copies> | ||
| 1815 | - <partitioning> | ||
| 1816 | - <method>none</method> | ||
| 1817 | - <schema_name/> | ||
| 1818 | - </partitioning> | ||
| 1819 | - <connection>bus_control_variable</connection> | ||
| 1820 | - <cache>N</cache> | ||
| 1821 | - <cache_load_all>N</cache_load_all> | ||
| 1822 | - <cache_size>0</cache_size> | ||
| 1823 | - <lookup> | ||
| 1824 | - <schema/> | ||
| 1825 | - <table>bsth_c_line</table> | ||
| 1826 | - <orderby/> | ||
| 1827 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1828 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1829 | - <key> | ||
| 1830 | - <name>xlname_</name> | ||
| 1831 | - <field>name</field> | ||
| 1832 | - <condition>=</condition> | ||
| 1833 | - <name2/> | ||
| 1834 | - </key> | ||
| 1835 | - <key> | ||
| 1836 | - <name>iscanceled</name> | ||
| 1837 | - <field>destroy</field> | ||
| 1838 | - <condition>=</condition> | ||
| 1839 | - <name2/> | ||
| 1840 | - </key> | ||
| 1841 | - <value> | ||
| 1842 | - <name>id</name> | ||
| 1843 | - <rename>xlid</rename> | ||
| 1844 | - <default/> | ||
| 1845 | - <type>Integer</type> | ||
| 1846 | - </value> | ||
| 1847 | - </lookup> | ||
| 1848 | - <cluster_schema/> | ||
| 1849 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1850 | - <xloc>1007</xloc> | ||
| 1851 | - <yloc>43</yloc> | ||
| 1852 | - <draw>Y</draw> | ||
| 1853 | - </GUI> | ||
| 1854 | - </step> | ||
| 1855 | - | ||
| 1856 | - <step> | ||
| 1857 | - <name>查找线路出场里程时间</name> | ||
| 1858 | - <type>DBLookup</type> | ||
| 1859 | - <description/> | ||
| 1860 | - <distribute>Y</distribute> | ||
| 1861 | - <custom_distribution/> | ||
| 1862 | - <copies>1</copies> | ||
| 1863 | - <partitioning> | ||
| 1864 | - <method>none</method> | ||
| 1865 | - <schema_name/> | ||
| 1866 | - </partitioning> | ||
| 1867 | - <connection>bus_control_variable</connection> | ||
| 1868 | - <cache>N</cache> | ||
| 1869 | - <cache_load_all>N</cache_load_all> | ||
| 1870 | - <cache_size>0</cache_size> | ||
| 1871 | - <lookup> | ||
| 1872 | - <schema/> | ||
| 1873 | - <table>bsth_c_line_information</table> | ||
| 1874 | - <orderby/> | ||
| 1875 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1876 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1877 | - <key> | ||
| 1878 | - <name>xlid</name> | ||
| 1879 | - <field>line</field> | ||
| 1880 | - <condition>=</condition> | ||
| 1881 | - <name2/> | ||
| 1882 | - </key> | ||
| 1883 | - <value> | ||
| 1884 | - <name>up_out_timer</name> | ||
| 1885 | - <rename>up_out_timer</rename> | ||
| 1886 | - <default/> | ||
| 1887 | - <type>Number</type> | ||
| 1888 | - </value> | ||
| 1889 | - <value> | ||
| 1890 | - <name>up_out_mileage</name> | ||
| 1891 | - <rename>up_out_mileage</rename> | ||
| 1892 | - <default/> | ||
| 1893 | - <type>Number</type> | ||
| 1894 | - </value> | ||
| 1895 | - <value> | ||
| 1896 | - <name>down_out_timer</name> | ||
| 1897 | - <rename>down_out_timer</rename> | ||
| 1898 | - <default/> | ||
| 1899 | - <type>Number</type> | ||
| 1900 | - </value> | ||
| 1901 | - <value> | ||
| 1902 | - <name>down_out_mileage</name> | ||
| 1903 | - <rename>down_out_mileage</rename> | ||
| 1904 | - <default/> | ||
| 1905 | - <type>Number</type> | ||
| 1906 | - </value> | ||
| 1907 | - </lookup> | ||
| 1908 | - <cluster_schema/> | ||
| 1909 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1910 | - <xloc>335</xloc> | ||
| 1911 | - <yloc>763</yloc> | ||
| 1912 | - <draw>Y</draw> | ||
| 1913 | - </GUI> | ||
| 1914 | - </step> | ||
| 1915 | - | ||
| 1916 | - <step> | ||
| 1917 | - <name>查找线路进场里程时间</name> | ||
| 1918 | - <type>DBLookup</type> | ||
| 1919 | - <description/> | ||
| 1920 | - <distribute>Y</distribute> | ||
| 1921 | - <custom_distribution/> | ||
| 1922 | - <copies>1</copies> | ||
| 1923 | - <partitioning> | ||
| 1924 | - <method>none</method> | ||
| 1925 | - <schema_name/> | ||
| 1926 | - </partitioning> | ||
| 1927 | - <connection>bus_control_variable</connection> | ||
| 1928 | - <cache>N</cache> | ||
| 1929 | - <cache_load_all>N</cache_load_all> | ||
| 1930 | - <cache_size>0</cache_size> | ||
| 1931 | - <lookup> | ||
| 1932 | - <schema/> | ||
| 1933 | - <table>bsth_c_line_information</table> | ||
| 1934 | - <orderby/> | ||
| 1935 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1936 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1937 | - <key> | ||
| 1938 | - <name>xlid</name> | ||
| 1939 | - <field>line</field> | ||
| 1940 | - <condition>=</condition> | ||
| 1941 | - <name2/> | ||
| 1942 | - </key> | ||
| 1943 | - <value> | ||
| 1944 | - <name>up_in_mileage</name> | ||
| 1945 | - <rename>up_in_mileage</rename> | ||
| 1946 | - <default/> | ||
| 1947 | - <type>Number</type> | ||
| 1948 | - </value> | ||
| 1949 | - <value> | ||
| 1950 | - <name>up_in_timer</name> | ||
| 1951 | - <rename>up_in_timer</rename> | ||
| 1952 | - <default/> | ||
| 1953 | - <type>Number</type> | ||
| 1954 | - </value> | ||
| 1955 | - <value> | ||
| 1956 | - <name>down_in_mileage</name> | ||
| 1957 | - <rename>down_in_mileage</rename> | ||
| 1958 | - <default/> | ||
| 1959 | - <type>Number</type> | ||
| 1960 | - </value> | ||
| 1961 | - <value> | ||
| 1962 | - <name>down_in_timer</name> | ||
| 1963 | - <rename>down_in_timer</rename> | ||
| 1964 | - <default/> | ||
| 1965 | - <type>Number</type> | ||
| 1966 | - </value> | ||
| 1967 | - </lookup> | ||
| 1968 | - <cluster_schema/> | ||
| 1969 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1970 | - <xloc>553</xloc> | ||
| 1971 | - <yloc>1004</yloc> | ||
| 1972 | - <draw>Y</draw> | ||
| 1973 | - </GUI> | ||
| 1974 | - </step> | ||
| 1975 | - | ||
| 1976 | - <step> | ||
| 1977 | - <name>查找终点站关联</name> | ||
| 1978 | - <type>DBLookup</type> | ||
| 1979 | - <description/> | ||
| 1980 | - <distribute>Y</distribute> | ||
| 1981 | - <custom_distribution/> | ||
| 1982 | - <copies>1</copies> | ||
| 1983 | - <partitioning> | ||
| 1984 | - <method>none</method> | ||
| 1985 | - <schema_name/> | ||
| 1986 | - </partitioning> | ||
| 1987 | - <connection>bus_control_variable</connection> | ||
| 1988 | - <cache>N</cache> | ||
| 1989 | - <cache_load_all>N</cache_load_all> | ||
| 1990 | - <cache_size>0</cache_size> | ||
| 1991 | - <lookup> | ||
| 1992 | - <schema/> | ||
| 1993 | - <table>bsth_c_stationroute</table> | ||
| 1994 | - <orderby/> | ||
| 1995 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 1996 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1997 | - <key> | ||
| 1998 | - <name>xlid</name> | ||
| 1999 | - <field>line</field> | ||
| 2000 | - <condition>=</condition> | ||
| 2001 | - <name2/> | ||
| 2002 | - </key> | ||
| 2003 | - <key> | ||
| 2004 | - <name>sxx</name> | ||
| 2005 | - <field>directions</field> | ||
| 2006 | - <condition>=</condition> | ||
| 2007 | - <name2/> | ||
| 2008 | - </key> | ||
| 2009 | - <key> | ||
| 2010 | - <name>endZdtype</name> | ||
| 2011 | - <field>station_mark</field> | ||
| 2012 | - <condition>=</condition> | ||
| 2013 | - <name2/> | ||
| 2014 | - </key> | ||
| 2015 | - <key> | ||
| 2016 | - <name>destory</name> | ||
| 2017 | - <field>destroy</field> | ||
| 2018 | - <condition>=</condition> | ||
| 2019 | - <name2/> | ||
| 2020 | - </key> | ||
| 2021 | - <value> | ||
| 2022 | - <name>station_name</name> | ||
| 2023 | - <rename>zdzname</rename> | ||
| 2024 | - <default/> | ||
| 2025 | - <type>String</type> | ||
| 2026 | - </value> | ||
| 2027 | - <value> | ||
| 2028 | - <name>station</name> | ||
| 2029 | - <rename>zdzid</rename> | ||
| 2030 | - <default/> | ||
| 2031 | - <type>Integer</type> | ||
| 2032 | - </value> | ||
| 2033 | - <value> | ||
| 2034 | - <name>station_code</name> | ||
| 2035 | - <rename>zdzcode</rename> | ||
| 2036 | - <default/> | ||
| 2037 | - <type>String</type> | ||
| 2038 | - </value> | ||
| 2039 | - </lookup> | ||
| 2040 | - <cluster_schema/> | ||
| 2041 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2042 | - <xloc>280</xloc> | ||
| 2043 | - <yloc>404</yloc> | ||
| 2044 | - <draw>Y</draw> | ||
| 2045 | - </GUI> | ||
| 2046 | - </step> | ||
| 2047 | - | ||
| 2048 | - <step> | ||
| 2049 | - <name>查找起点站关联并确定上下行</name> | ||
| 2050 | - <type>DBLookup</type> | ||
| 2051 | - <description/> | ||
| 2052 | - <distribute>Y</distribute> | ||
| 2053 | - <custom_distribution/> | ||
| 2054 | - <copies>1</copies> | ||
| 2055 | - <partitioning> | ||
| 2056 | - <method>none</method> | ||
| 2057 | - <schema_name/> | ||
| 2058 | - </partitioning> | ||
| 2059 | - <connection>bus_control_variable</connection> | ||
| 2060 | - <cache>N</cache> | ||
| 2061 | - <cache_load_all>N</cache_load_all> | ||
| 2062 | - <cache_size>0</cache_size> | ||
| 2063 | - <lookup> | ||
| 2064 | - <schema/> | ||
| 2065 | - <table>bsth_c_stationroute</table> | ||
| 2066 | - <orderby/> | ||
| 2067 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2068 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2069 | - <key> | ||
| 2070 | - <name>xlid</name> | ||
| 2071 | - <field>line</field> | ||
| 2072 | - <condition>=</condition> | ||
| 2073 | - <name2/> | ||
| 2074 | - </key> | ||
| 2075 | - <key> | ||
| 2076 | - <name>qdzname</name> | ||
| 2077 | - <field>station_name</field> | ||
| 2078 | - <condition>=</condition> | ||
| 2079 | - <name2/> | ||
| 2080 | - </key> | ||
| 2081 | - <key> | ||
| 2082 | - <name>sendZdtype</name> | ||
| 2083 | - <field>station_mark</field> | ||
| 2084 | - <condition>=</condition> | ||
| 2085 | - <name2/> | ||
| 2086 | - </key> | ||
| 2087 | - <key> | ||
| 2088 | - <name>destory</name> | ||
| 2089 | - <field>destroy</field> | ||
| 2090 | - <condition>=</condition> | ||
| 2091 | - <name2/> | ||
| 2092 | - </key> | ||
| 2093 | - <value> | ||
| 2094 | - <name>station</name> | ||
| 2095 | - <rename>qdzid</rename> | ||
| 2096 | - <default/> | ||
| 2097 | - <type>Integer</type> | ||
| 2098 | - </value> | ||
| 2099 | - <value> | ||
| 2100 | - <name>directions</name> | ||
| 2101 | - <rename>sxx</rename> | ||
| 2102 | - <default/> | ||
| 2103 | - <type>Integer</type> | ||
| 2104 | - </value> | ||
| 2105 | - <value> | ||
| 2106 | - <name>station_code</name> | ||
| 2107 | - <rename>qdzcode</rename> | ||
| 2108 | - <default/> | ||
| 2109 | - <type>String</type> | ||
| 2110 | - </value> | ||
| 2111 | - </lookup> | ||
| 2112 | - <cluster_schema/> | ||
| 2113 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2114 | - <xloc>430</xloc> | ||
| 2115 | - <yloc>403</yloc> | ||
| 2116 | - <draw>Y</draw> | ||
| 2117 | - </GUI> | ||
| 2118 | - </step> | ||
| 2119 | - | ||
| 2120 | - <step> | ||
| 2121 | - <name>查找路牌关联</name> | ||
| 2122 | - <type>DBLookup</type> | ||
| 2123 | - <description/> | ||
| 2124 | - <distribute>Y</distribute> | ||
| 2125 | - <custom_distribution/> | ||
| 2126 | - <copies>1</copies> | ||
| 2127 | - <partitioning> | ||
| 2128 | - <method>none</method> | ||
| 2129 | - <schema_name/> | ||
| 2130 | - </partitioning> | ||
| 2131 | - <connection>bus_control_variable</connection> | ||
| 2132 | - <cache>N</cache> | ||
| 2133 | - <cache_load_all>N</cache_load_all> | ||
| 2134 | - <cache_size>0</cache_size> | ||
| 2135 | - <lookup> | ||
| 2136 | - <schema/> | ||
| 2137 | - <table>bsth_c_s_gbi</table> | ||
| 2138 | - <orderby/> | ||
| 2139 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2140 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2141 | - <key> | ||
| 2142 | - <name>xlid</name> | ||
| 2143 | - <field>xl</field> | ||
| 2144 | - <condition>=</condition> | ||
| 2145 | - <name2/> | ||
| 2146 | - </key> | ||
| 2147 | - <key> | ||
| 2148 | - <name>lp</name> | ||
| 2149 | - <field>lp_name</field> | ||
| 2150 | - <condition>=</condition> | ||
| 2151 | - <name2/> | ||
| 2152 | - </key> | ||
| 2153 | - <key> | ||
| 2154 | - <name>iscanceled</name> | ||
| 2155 | - <field>is_cancel</field> | ||
| 2156 | - <condition>=</condition> | ||
| 2157 | - <name2/> | ||
| 2158 | - </key> | ||
| 2159 | - <value> | ||
| 2160 | - <name>id</name> | ||
| 2161 | - <rename>lpid</rename> | ||
| 2162 | - <default/> | ||
| 2163 | - <type>Integer</type> | ||
| 2164 | - </value> | ||
| 2165 | - </lookup> | ||
| 2166 | - <cluster_schema/> | ||
| 2167 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2168 | - <xloc>1013</xloc> | ||
| 2169 | - <yloc>265</yloc> | ||
| 2170 | - <draw>Y</draw> | ||
| 2171 | - </GUI> | ||
| 2172 | - </step> | ||
| 2173 | - | ||
| 2174 | - <step> | ||
| 2175 | - <name>查找进场班次上一个班次的线路方向</name> | ||
| 2176 | - <type>DBLookup</type> | ||
| 2177 | - <description/> | ||
| 2178 | - <distribute>Y</distribute> | ||
| 2179 | - <custom_distribution/> | ||
| 2180 | - <copies>1</copies> | ||
| 2181 | - <partitioning> | ||
| 2182 | - <method>none</method> | ||
| 2183 | - <schema_name/> | ||
| 2184 | - </partitioning> | ||
| 2185 | - <connection>bus_control_variable</connection> | ||
| 2186 | - <cache>N</cache> | ||
| 2187 | - <cache_load_all>N</cache_load_all> | ||
| 2188 | - <cache_size>0</cache_size> | ||
| 2189 | - <lookup> | ||
| 2190 | - <schema/> | ||
| 2191 | - <table>bsth_c_stationroute</table> | ||
| 2192 | - <orderby/> | ||
| 2193 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2194 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2195 | - <key> | ||
| 2196 | - <name>xlid</name> | ||
| 2197 | - <field>line</field> | ||
| 2198 | - <condition>=</condition> | ||
| 2199 | - <name2/> | ||
| 2200 | - </key> | ||
| 2201 | - <key> | ||
| 2202 | - <name>startZdtype_calcu</name> | ||
| 2203 | - <field>station_mark</field> | ||
| 2204 | - <condition>=</condition> | ||
| 2205 | - <name2/> | ||
| 2206 | - </key> | ||
| 2207 | - <key> | ||
| 2208 | - <name>qdzname_calcu</name> | ||
| 2209 | - <field>station_name</field> | ||
| 2210 | - <condition>=</condition> | ||
| 2211 | - <name2/> | ||
| 2212 | - </key> | ||
| 2213 | - <key> | ||
| 2214 | - <name>destory</name> | ||
| 2215 | - <field>destroy</field> | ||
| 2216 | - <condition>=</condition> | ||
| 2217 | - <name2/> | ||
| 2218 | - </key> | ||
| 2219 | - <value> | ||
| 2220 | - <name>directions</name> | ||
| 2221 | - <rename>sxx</rename> | ||
| 2222 | - <default/> | ||
| 2223 | - <type>String</type> | ||
| 2224 | - </value> | ||
| 2225 | - </lookup> | ||
| 2226 | - <cluster_schema/> | ||
| 2227 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2228 | - <xloc>548</xloc> | ||
| 2229 | - <yloc>610</yloc> | ||
| 2230 | - <draw>Y</draw> | ||
| 2231 | - </GUI> | ||
| 2232 | - </step> | ||
| 2233 | - | ||
| 2234 | - <step> | ||
| 2235 | - <name>查找进场班次上一个班次的终点站,并作为进场班次的起点站</name> | ||
| 2236 | - <type>DBLookup</type> | ||
| 2237 | - <description/> | ||
| 2238 | - <distribute>Y</distribute> | ||
| 2239 | - <custom_distribution/> | ||
| 2240 | - <copies>1</copies> | ||
| 2241 | - <partitioning> | ||
| 2242 | - <method>none</method> | ||
| 2243 | - <schema_name/> | ||
| 2244 | - </partitioning> | ||
| 2245 | - <connection>bus_control_variable</connection> | ||
| 2246 | - <cache>Y</cache> | ||
| 2247 | - <cache_load_all>Y</cache_load_all> | ||
| 2248 | - <cache_size>0</cache_size> | ||
| 2249 | - <lookup> | ||
| 2250 | - <schema/> | ||
| 2251 | - <table>bsth_c_stationroute</table> | ||
| 2252 | - <orderby/> | ||
| 2253 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2254 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2255 | - <key> | ||
| 2256 | - <name>xlid</name> | ||
| 2257 | - <field>line</field> | ||
| 2258 | - <condition>=</condition> | ||
| 2259 | - <name2/> | ||
| 2260 | - </key> | ||
| 2261 | - <key> | ||
| 2262 | - <name>endZdtype_calcu</name> | ||
| 2263 | - <field>station_mark</field> | ||
| 2264 | - <condition>=</condition> | ||
| 2265 | - <name2/> | ||
| 2266 | - </key> | ||
| 2267 | - <key> | ||
| 2268 | - <name>sxx</name> | ||
| 2269 | - <field>directions</field> | ||
| 2270 | - <condition>=</condition> | ||
| 2271 | - <name2/> | ||
| 2272 | - </key> | ||
| 2273 | - <key> | ||
| 2274 | - <name>destory</name> | ||
| 2275 | - <field>destroy</field> | ||
| 2276 | - <condition>=</condition> | ||
| 2277 | - <name2/> | ||
| 2278 | - </key> | ||
| 2279 | - <value> | ||
| 2280 | - <name>station_name</name> | ||
| 2281 | - <rename>zdzname_calcu</rename> | ||
| 2282 | - <default/> | ||
| 2283 | - <type>Integer</type> | ||
| 2284 | - </value> | ||
| 2285 | - </lookup> | ||
| 2286 | - <cluster_schema/> | ||
| 2287 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2288 | - <xloc>550</xloc> | ||
| 2289 | - <yloc>701</yloc> | ||
| 2290 | - <draw>Y</draw> | ||
| 2291 | - </GUI> | ||
| 2292 | - </step> | ||
| 2293 | - | ||
| 2294 | - <step> | ||
| 2295 | - <name>查找进场起点站关联确定上下行</name> | ||
| 2296 | - <type>DBLookup</type> | ||
| 2297 | - <description/> | ||
| 2298 | - <distribute>Y</distribute> | ||
| 2299 | - <custom_distribution/> | ||
| 2300 | - <copies>1</copies> | ||
| 2301 | - <partitioning> | ||
| 2302 | - <method>none</method> | ||
| 2303 | - <schema_name/> | ||
| 2304 | - </partitioning> | ||
| 2305 | - <connection>bus_control_variable</connection> | ||
| 2306 | - <cache>N</cache> | ||
| 2307 | - <cache_load_all>N</cache_load_all> | ||
| 2308 | - <cache_size>0</cache_size> | ||
| 2309 | - <lookup> | ||
| 2310 | - <schema/> | ||
| 2311 | - <table>bsth_c_stationroute</table> | ||
| 2312 | - <orderby/> | ||
| 2313 | - <fail_on_multiple>N</fail_on_multiple> | ||
| 2314 | - <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2315 | - <key> | ||
| 2316 | - <name>xlid</name> | ||
| 2317 | - <field>line</field> | ||
| 2318 | - <condition>=</condition> | ||
| 2319 | - <name2/> | ||
| 2320 | - </key> | ||
| 2321 | - <key> | ||
| 2322 | - <name>zdzname_calcu</name> | ||
| 2323 | - <field>station_name</field> | ||
| 2324 | - <condition>=</condition> | ||
| 2325 | - <name2/> | ||
| 2326 | - </key> | ||
| 2327 | - <key> | ||
| 2328 | - <name>startZdtype_calcu</name> | ||
| 2329 | - <field>station_mark</field> | ||
| 2330 | - <condition>=</condition> | ||
| 2331 | - <name2/> | ||
| 2332 | - </key> | ||
| 2333 | - <key> | ||
| 2334 | - <name>destory</name> | ||
| 2335 | - <field>destroy</field> | ||
| 2336 | - <condition>=</condition> | ||
| 2337 | - <name2/> | ||
| 2338 | - </key> | ||
| 2339 | - <value> | ||
| 2340 | - <name>directions</name> | ||
| 2341 | - <rename>sxx2</rename> | ||
| 2342 | - <default/> | ||
| 2343 | - <type>Integer</type> | ||
| 2344 | - </value> | ||
| 2345 | - <value> | ||
| 2346 | - <name>station</name> | ||
| 2347 | - <rename>qdzid</rename> | ||
| 2348 | - <default/> | ||
| 2349 | - <type>Integer</type> | ||
| 2350 | - </value> | ||
| 2351 | - <value> | ||
| 2352 | - <name>station_code</name> | ||
| 2353 | - <rename>qdzcode</rename> | ||
| 2354 | - <default/> | ||
| 2355 | - <type>String</type> | ||
| 2356 | - </value> | ||
| 2357 | - <value> | ||
| 2358 | - <name>station_name</name> | ||
| 2359 | - <rename>qname</rename> | ||
| 2360 | - <default/> | ||
| 2361 | - <type>String</type> | ||
| 2362 | - </value> | ||
| 2363 | - </lookup> | ||
| 2364 | - <cluster_schema/> | ||
| 2365 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2366 | - <xloc>551</xloc> | ||
| 2367 | - <yloc>782</yloc> | ||
| 2368 | - <draw>Y</draw> | ||
| 2369 | - </GUI> | ||
| 2370 | - </step> | ||
| 2371 | - | ||
| 2372 | - <step> | ||
| 2373 | - <name>正常班次_处理数据</name> | ||
| 2374 | - <type>ScriptValueMod</type> | ||
| 2375 | - <description/> | ||
| 2376 | - <distribute>Y</distribute> | ||
| 2377 | - <custom_distribution/> | ||
| 2378 | - <copies>1</copies> | ||
| 2379 | - <partitioning> | ||
| 2380 | - <method>none</method> | ||
| 2381 | - <schema_name/> | ||
| 2382 | - </partitioning> | ||
| 2383 | - <compatible>N</compatible> | ||
| 2384 | - <optimizationLevel>9</optimizationLevel> | ||
| 2385 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2386 | - <jsScript_name>Script 1</jsScript_name> | ||
| 2387 | - <jsScript_script>//Script here

// 添加站点标识
var sendZdtype = 'B';
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2388 | - </jsScript> </jsScripts> <fields> <field> <name>sendZdtype</name> | ||
| 2389 | - <rename>sendZdtype</rename> | ||
| 2390 | - <type>String</type> | ||
| 2391 | - <length>-1</length> | ||
| 2392 | - <precision>-1</precision> | ||
| 2393 | - <replace>N</replace> | ||
| 2394 | - </field> <field> <name>endZdtype</name> | ||
| 2395 | - <rename>endZdtype</rename> | ||
| 2396 | - <type>String</type> | ||
| 2397 | - <length>-1</length> | ||
| 2398 | - <precision>-1</precision> | ||
| 2399 | - <replace>N</replace> | ||
| 2400 | - </field> <field> <name>destory</name> | ||
| 2401 | - <rename>destory</rename> | ||
| 2402 | - <type>Integer</type> | ||
| 2403 | - <length>-1</length> | ||
| 2404 | - <precision>-1</precision> | ||
| 2405 | - <replace>N</replace> | ||
| 2406 | - </field> </fields> <cluster_schema/> | ||
| 2407 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2408 | - <xloc>588</xloc> | ||
| 2409 | - <yloc>403</yloc> | ||
| 2410 | - <draw>Y</draw> | ||
| 2411 | - </GUI> | ||
| 2412 | - </step> | ||
| 2413 | - | ||
| 2414 | - <step> | ||
| 2415 | - <name>正常班次数据</name> | ||
| 2416 | - <type>Dummy</type> | ||
| 2417 | - <description/> | ||
| 2418 | - <distribute>Y</distribute> | ||
| 2419 | - <custom_distribution/> | ||
| 2420 | - <copies>1</copies> | ||
| 2421 | - <partitioning> | ||
| 2422 | - <method>none</method> | ||
| 2423 | - <schema_name/> | ||
| 2424 | - </partitioning> | ||
| 2425 | - <cluster_schema/> | ||
| 2426 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2427 | - <xloc>725</xloc> | ||
| 2428 | - <yloc>404</yloc> | ||
| 2429 | - <draw>Y</draw> | ||
| 2430 | - </GUI> | ||
| 2431 | - </step> | ||
| 2432 | - | ||
| 2433 | - <step> | ||
| 2434 | - <name>添加发车顺序号</name> | ||
| 2435 | - <type>GroupBy</type> | ||
| 2436 | - <description/> | ||
| 2437 | - <distribute>Y</distribute> | ||
| 2438 | - <custom_distribution/> | ||
| 2439 | - <copies>1</copies> | ||
| 2440 | - <partitioning> | ||
| 2441 | - <method>none</method> | ||
| 2442 | - <schema_name/> | ||
| 2443 | - </partitioning> | ||
| 2444 | - <all_rows>Y</all_rows> | ||
| 2445 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 2446 | - <field_ignore/> | ||
| 2447 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2448 | - <prefix>grp</prefix> | ||
| 2449 | - <add_linenr>Y</add_linenr> | ||
| 2450 | - <linenr_fieldname>fcno</linenr_fieldname> | ||
| 2451 | - <give_back_row>N</give_back_row> | ||
| 2452 | - <group> | ||
| 2453 | - <field> | ||
| 2454 | - <name>lp</name> | ||
| 2455 | - </field> | ||
| 2456 | - </group> | ||
| 2457 | - <fields> | ||
| 2458 | - </fields> | ||
| 2459 | - <cluster_schema/> | ||
| 2460 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2461 | - <xloc>442</xloc> | ||
| 2462 | - <yloc>44</yloc> | ||
| 2463 | - <draw>Y</draw> | ||
| 2464 | - </GUI> | ||
| 2465 | - </step> | ||
| 2466 | - | ||
| 2467 | - <step> | ||
| 2468 | - <name>添加对应班次数</name> | ||
| 2469 | - <type>GroupBy</type> | ||
| 2470 | - <description/> | ||
| 2471 | - <distribute>Y</distribute> | ||
| 2472 | - <custom_distribution/> | ||
| 2473 | - <copies>1</copies> | ||
| 2474 | - <partitioning> | ||
| 2475 | - <method>none</method> | ||
| 2476 | - <schema_name/> | ||
| 2477 | - </partitioning> | ||
| 2478 | - <all_rows>Y</all_rows> | ||
| 2479 | - <ignore_aggregate>N</ignore_aggregate> | ||
| 2480 | - <field_ignore/> | ||
| 2481 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2482 | - <prefix>grp</prefix> | ||
| 2483 | - <add_linenr>Y</add_linenr> | ||
| 2484 | - <linenr_fieldname>bcs</linenr_fieldname> | ||
| 2485 | - <give_back_row>N</give_back_row> | ||
| 2486 | - <group> | ||
| 2487 | - </group> | ||
| 2488 | - <fields> | ||
| 2489 | - </fields> | ||
| 2490 | - <cluster_schema/> | ||
| 2491 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2492 | - <xloc>692</xloc> | ||
| 2493 | - <yloc>44</yloc> | ||
| 2494 | - <draw>Y</draw> | ||
| 2495 | - </GUI> | ||
| 2496 | - </step> | ||
| 2497 | - | ||
| 2498 | - <step> | ||
| 2499 | - <name>班次数据范式化</name> | ||
| 2500 | - <type>Normaliser</type> | ||
| 2501 | - <description/> | ||
| 2502 | - <distribute>Y</distribute> | ||
| 2503 | - <custom_distribution/> | ||
| 2504 | - <copies>1</copies> | ||
| 2505 | - <partitioning> | ||
| 2506 | - <method>none</method> | ||
| 2507 | - <schema_name/> | ||
| 2508 | - </partitioning> | ||
| 2509 | - <typefield>站点名称</typefield> | ||
| 2510 | - <fields> </fields> <cluster_schema/> | ||
| 2511 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2512 | - <xloc>248</xloc> | ||
| 2513 | - <yloc>44</yloc> | ||
| 2514 | - <draw>Y</draw> | ||
| 2515 | - </GUI> | ||
| 2516 | - </step> | ||
| 2517 | - | ||
| 2518 | - <step> | ||
| 2519 | - <name>班次类型字典</name> | ||
| 2520 | - <type>ValueMapper</type> | ||
| 2521 | - <description/> | ||
| 2522 | - <distribute>Y</distribute> | ||
| 2523 | - <custom_distribution/> | ||
| 2524 | - <copies>1</copies> | ||
| 2525 | - <partitioning> | ||
| 2526 | - <method>none</method> | ||
| 2527 | - <schema_name/> | ||
| 2528 | - </partitioning> | ||
| 2529 | - <field_to_use>bctype</field_to_use> | ||
| 2530 | - <target_field>bctype_code</target_field> | ||
| 2531 | - <non_match_default>未知类型</non_match_default> | ||
| 2532 | - <fields> | ||
| 2533 | - <field> | ||
| 2534 | - <source_value>正常班次</source_value> | ||
| 2535 | - <target_value>normal</target_value> | ||
| 2536 | - </field> | ||
| 2537 | - <field> | ||
| 2538 | - <source_value>出场</source_value> | ||
| 2539 | - <target_value>out</target_value> | ||
| 2540 | - </field> | ||
| 2541 | - <field> | ||
| 2542 | - <source_value>进场</source_value> | ||
| 2543 | - <target_value>in</target_value> | ||
| 2544 | - </field> | ||
| 2545 | - <field> | ||
| 2546 | - <source_value>加油</source_value> | ||
| 2547 | - <target_value>oil</target_value> | ||
| 2548 | - </field> | ||
| 2549 | - <field> | ||
| 2550 | - <source_value>临加</source_value> | ||
| 2551 | - <target_value>temp</target_value> | ||
| 2552 | - </field> | ||
| 2553 | - <field> | ||
| 2554 | - <source_value>区间</source_value> | ||
| 2555 | - <target_value>region</target_value> | ||
| 2556 | - </field> | ||
| 2557 | - <field> | ||
| 2558 | - <source_value>放空</source_value> | ||
| 2559 | - <target_value>venting</target_value> | ||
| 2560 | - </field> | ||
| 2561 | - <field> | ||
| 2562 | - <source_value>放大站</source_value> | ||
| 2563 | - <target_value>major</target_value> | ||
| 2564 | - </field> | ||
| 2565 | - </fields> | ||
| 2566 | - <cluster_schema/> | ||
| 2567 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2568 | - <xloc>149</xloc> | ||
| 2569 | - <yloc>491</yloc> | ||
| 2570 | - <draw>Y</draw> | ||
| 2571 | - </GUI> | ||
| 2572 | - </step> | ||
| 2573 | - | ||
| 2574 | - <step> | ||
| 2575 | - <name>班次类型字典 2</name> | ||
| 2576 | - <type>ValueMapper</type> | ||
| 2577 | - <description/> | ||
| 2578 | - <distribute>Y</distribute> | ||
| 2579 | - <custom_distribution/> | ||
| 2580 | - <copies>1</copies> | ||
| 2581 | - <partitioning> | ||
| 2582 | - <method>none</method> | ||
| 2583 | - <schema_name/> | ||
| 2584 | - </partitioning> | ||
| 2585 | - <field_to_use>bctype</field_to_use> | ||
| 2586 | - <target_field>bctype_code</target_field> | ||
| 2587 | - <non_match_default>未知类型</non_match_default> | ||
| 2588 | - <fields> | ||
| 2589 | - <field> | ||
| 2590 | - <source_value>正常班次</source_value> | ||
| 2591 | - <target_value>normal</target_value> | ||
| 2592 | - </field> | ||
| 2593 | - <field> | ||
| 2594 | - <source_value>出场</source_value> | ||
| 2595 | - <target_value>out</target_value> | ||
| 2596 | - </field> | ||
| 2597 | - <field> | ||
| 2598 | - <source_value>进场</source_value> | ||
| 2599 | - <target_value>in</target_value> | ||
| 2600 | - </field> | ||
| 2601 | - <field> | ||
| 2602 | - <source_value>加油</source_value> | ||
| 2603 | - <target_value>oil</target_value> | ||
| 2604 | - </field> | ||
| 2605 | - <field> | ||
| 2606 | - <source_value>临加</source_value> | ||
| 2607 | - <target_value>temp</target_value> | ||
| 2608 | - </field> | ||
| 2609 | - <field> | ||
| 2610 | - <source_value>区间</source_value> | ||
| 2611 | - <target_value>region</target_value> | ||
| 2612 | - </field> | ||
| 2613 | - <field> | ||
| 2614 | - <source_value>放空</source_value> | ||
| 2615 | - <target_value>venting</target_value> | ||
| 2616 | - </field> | ||
| 2617 | - <field> | ||
| 2618 | - <source_value>放大站</source_value> | ||
| 2619 | - <target_value>major</target_value> | ||
| 2620 | - </field> | ||
| 2621 | - </fields> | ||
| 2622 | - <cluster_schema/> | ||
| 2623 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2624 | - <xloc>333</xloc> | ||
| 2625 | - <yloc>681</yloc> | ||
| 2626 | - <draw>Y</draw> | ||
| 2627 | - </GUI> | ||
| 2628 | - </step> | ||
| 2629 | - | ||
| 2630 | - <step> | ||
| 2631 | - <name>班次类型字典 3</name> | ||
| 2632 | - <type>ValueMapper</type> | ||
| 2633 | - <description/> | ||
| 2634 | - <distribute>Y</distribute> | ||
| 2635 | - <custom_distribution/> | ||
| 2636 | - <copies>1</copies> | ||
| 2637 | - <partitioning> | ||
| 2638 | - <method>none</method> | ||
| 2639 | - <schema_name/> | ||
| 2640 | - </partitioning> | ||
| 2641 | - <field_to_use>bctype</field_to_use> | ||
| 2642 | - <target_field>bctype_code</target_field> | ||
| 2643 | - <non_match_default>未知类型</non_match_default> | ||
| 2644 | - <fields> | ||
| 2645 | - <field> | ||
| 2646 | - <source_value>正常班次</source_value> | ||
| 2647 | - <target_value>normal</target_value> | ||
| 2648 | - </field> | ||
| 2649 | - <field> | ||
| 2650 | - <source_value>出场</source_value> | ||
| 2651 | - <target_value>out</target_value> | ||
| 2652 | - </field> | ||
| 2653 | - <field> | ||
| 2654 | - <source_value>进场</source_value> | ||
| 2655 | - <target_value>in</target_value> | ||
| 2656 | - </field> | ||
| 2657 | - <field> | ||
| 2658 | - <source_value>加油</source_value> | ||
| 2659 | - <target_value>oil</target_value> | ||
| 2660 | - </field> | ||
| 2661 | - <field> | ||
| 2662 | - <source_value>临加</source_value> | ||
| 2663 | - <target_value>temp</target_value> | ||
| 2664 | - </field> | ||
| 2665 | - <field> | ||
| 2666 | - <source_value>区间</source_value> | ||
| 2667 | - <target_value>region</target_value> | ||
| 2668 | - </field> | ||
| 2669 | - <field> | ||
| 2670 | - <source_value>放空</source_value> | ||
| 2671 | - <target_value>venting</target_value> | ||
| 2672 | - </field> | ||
| 2673 | - <field> | ||
| 2674 | - <source_value>放大站</source_value> | ||
| 2675 | - <target_value>major</target_value> | ||
| 2676 | - </field> | ||
| 2677 | - </fields> | ||
| 2678 | - <cluster_schema/> | ||
| 2679 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2680 | - <xloc>551</xloc> | ||
| 2681 | - <yloc>928</yloc> | ||
| 2682 | - <draw>Y</draw> | ||
| 2683 | - </GUI> | ||
| 2684 | - </step> | ||
| 2685 | - | ||
| 2686 | - <step> | ||
| 2687 | - <name>类型修正</name> | ||
| 2688 | - <type>SelectValues</type> | ||
| 2689 | - <description/> | ||
| 2690 | - <distribute>Y</distribute> | ||
| 2691 | - <custom_distribution/> | ||
| 2692 | - <copies>1</copies> | ||
| 2693 | - <partitioning> | ||
| 2694 | - <method>none</method> | ||
| 2695 | - <schema_name/> | ||
| 2696 | - </partitioning> | ||
| 2697 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2698 | - <meta> <name>jhlc</name> | ||
| 2699 | - <rename>jhlc</rename> | ||
| 2700 | - <type>Number</type> | ||
| 2701 | - <length>-2</length> | ||
| 2702 | - <precision>-2</precision> | ||
| 2703 | - <conversion_mask/> | ||
| 2704 | - <date_format_lenient>false</date_format_lenient> | ||
| 2705 | - <date_format_locale/> | ||
| 2706 | - <date_format_timezone/> | ||
| 2707 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2708 | - <encoding/> | ||
| 2709 | - <decimal_symbol/> | ||
| 2710 | - <grouping_symbol/> | ||
| 2711 | - <currency_symbol/> | ||
| 2712 | - <storage_type/> | ||
| 2713 | - </meta> <meta> <name>bcsj</name> | ||
| 2714 | - <rename>bcsj</rename> | ||
| 2715 | - <type>Integer</type> | ||
| 2716 | - <length>-2</length> | ||
| 2717 | - <precision>-2</precision> | ||
| 2718 | - <conversion_mask/> | ||
| 2719 | - <date_format_lenient>false</date_format_lenient> | ||
| 2720 | - <date_format_locale/> | ||
| 2721 | - <date_format_timezone/> | ||
| 2722 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2723 | - <encoding/> | ||
| 2724 | - <decimal_symbol/> | ||
| 2725 | - <grouping_symbol/> | ||
| 2726 | - <currency_symbol/> | ||
| 2727 | - <storage_type/> | ||
| 2728 | - </meta> </fields> <cluster_schema/> | ||
| 2729 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2730 | - <xloc>146</xloc> | ||
| 2731 | - <yloc>768</yloc> | ||
| 2732 | - <draw>Y</draw> | ||
| 2733 | - </GUI> | ||
| 2734 | - </step> | ||
| 2735 | - | ||
| 2736 | - <step> | ||
| 2737 | - <name>类型修正 2</name> | ||
| 2738 | - <type>SelectValues</type> | ||
| 2739 | - <description/> | ||
| 2740 | - <distribute>Y</distribute> | ||
| 2741 | - <custom_distribution/> | ||
| 2742 | - <copies>1</copies> | ||
| 2743 | - <partitioning> | ||
| 2744 | - <method>none</method> | ||
| 2745 | - <schema_name/> | ||
| 2746 | - </partitioning> | ||
| 2747 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2748 | - <meta> <name>out_mileage</name> | ||
| 2749 | - <rename>out_mileage</rename> | ||
| 2750 | - <type>Number</type> | ||
| 2751 | - <length>-2</length> | ||
| 2752 | - <precision>-2</precision> | ||
| 2753 | - <conversion_mask/> | ||
| 2754 | - <date_format_lenient>false</date_format_lenient> | ||
| 2755 | - <date_format_locale/> | ||
| 2756 | - <date_format_timezone/> | ||
| 2757 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2758 | - <encoding/> | ||
| 2759 | - <decimal_symbol/> | ||
| 2760 | - <grouping_symbol/> | ||
| 2761 | - <currency_symbol/> | ||
| 2762 | - <storage_type/> | ||
| 2763 | - </meta> <meta> <name>out_time</name> | ||
| 2764 | - <rename>out_time</rename> | ||
| 2765 | - <type>Integer</type> | ||
| 2766 | - <length>-2</length> | ||
| 2767 | - <precision>-2</precision> | ||
| 2768 | - <conversion_mask/> | ||
| 2769 | - <date_format_lenient>false</date_format_lenient> | ||
| 2770 | - <date_format_locale/> | ||
| 2771 | - <date_format_timezone/> | ||
| 2772 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2773 | - <encoding/> | ||
| 2774 | - <decimal_symbol/> | ||
| 2775 | - <grouping_symbol/> | ||
| 2776 | - <currency_symbol/> | ||
| 2777 | - <storage_type/> | ||
| 2778 | - </meta> <meta> <name>sxx</name> | ||
| 2779 | - <rename>sxx</rename> | ||
| 2780 | - <type>Integer</type> | ||
| 2781 | - <length>-2</length> | ||
| 2782 | - <precision>-2</precision> | ||
| 2783 | - <conversion_mask/> | ||
| 2784 | - <date_format_lenient>false</date_format_lenient> | ||
| 2785 | - <date_format_locale/> | ||
| 2786 | - <date_format_timezone/> | ||
| 2787 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2788 | - <encoding/> | ||
| 2789 | - <decimal_symbol/> | ||
| 2790 | - <grouping_symbol/> | ||
| 2791 | - <currency_symbol/> | ||
| 2792 | - <storage_type/> | ||
| 2793 | - </meta> </fields> <cluster_schema/> | ||
| 2794 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2795 | - <xloc>338</xloc> | ||
| 2796 | - <yloc>1008</yloc> | ||
| 2797 | - <draw>Y</draw> | ||
| 2798 | - </GUI> | ||
| 2799 | - </step> | ||
| 2800 | - | ||
| 2801 | - <step> | ||
| 2802 | - <name>类型修正 3</name> | ||
| 2803 | - <type>SelectValues</type> | ||
| 2804 | - <description/> | ||
| 2805 | - <distribute>Y</distribute> | ||
| 2806 | - <custom_distribution/> | ||
| 2807 | - <copies>1</copies> | ||
| 2808 | - <partitioning> | ||
| 2809 | - <method>none</method> | ||
| 2810 | - <schema_name/> | ||
| 2811 | - </partitioning> | ||
| 2812 | - <fields> <select_unspecified>N</select_unspecified> | ||
| 2813 | - <meta> <name>parade_mileage</name> | ||
| 2814 | - <rename>parade_mileage</rename> | ||
| 2815 | - <type>Number</type> | ||
| 2816 | - <length>-2</length> | ||
| 2817 | - <precision>-2</precision> | ||
| 2818 | - <conversion_mask/> | ||
| 2819 | - <date_format_lenient>false</date_format_lenient> | ||
| 2820 | - <date_format_locale/> | ||
| 2821 | - <date_format_timezone/> | ||
| 2822 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2823 | - <encoding/> | ||
| 2824 | - <decimal_symbol/> | ||
| 2825 | - <grouping_symbol/> | ||
| 2826 | - <currency_symbol/> | ||
| 2827 | - <storage_type/> | ||
| 2828 | - </meta> <meta> <name>parade_time</name> | ||
| 2829 | - <rename>parade_time</rename> | ||
| 2830 | - <type>Integer</type> | ||
| 2831 | - <length>-2</length> | ||
| 2832 | - <precision>-2</precision> | ||
| 2833 | - <conversion_mask/> | ||
| 2834 | - <date_format_lenient>false</date_format_lenient> | ||
| 2835 | - <date_format_locale/> | ||
| 2836 | - <date_format_timezone/> | ||
| 2837 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2838 | - <encoding/> | ||
| 2839 | - <decimal_symbol/> | ||
| 2840 | - <grouping_symbol/> | ||
| 2841 | - <currency_symbol/> | ||
| 2842 | - <storage_type/> | ||
| 2843 | - </meta> <meta> <name>sxx2</name> | ||
| 2844 | - <rename>sxx2</rename> | ||
| 2845 | - <type>Integer</type> | ||
| 2846 | - <length>-2</length> | ||
| 2847 | - <precision>-2</precision> | ||
| 2848 | - <conversion_mask/> | ||
| 2849 | - <date_format_lenient>false</date_format_lenient> | ||
| 2850 | - <date_format_locale/> | ||
| 2851 | - <date_format_timezone/> | ||
| 2852 | - <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2853 | - <encoding/> | ||
| 2854 | - <decimal_symbol/> | ||
| 2855 | - <grouping_symbol/> | ||
| 2856 | - <currency_symbol/> | ||
| 2857 | - <storage_type/> | ||
| 2858 | - </meta> </fields> <cluster_schema/> | ||
| 2859 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2860 | - <xloc>847</xloc> | ||
| 2861 | - <yloc>1003</yloc> | ||
| 2862 | - <draw>Y</draw> | ||
| 2863 | - </GUI> | ||
| 2864 | - </step> | ||
| 2865 | - | ||
| 2866 | - <step> | ||
| 2867 | - <name>计算班次类型</name> | ||
| 2868 | - <type>ValueMapper</type> | ||
| 2869 | - <description/> | ||
| 2870 | - <distribute>Y</distribute> | ||
| 2871 | - <custom_distribution/> | ||
| 2872 | - <copies>1</copies> | ||
| 2873 | - <partitioning> | ||
| 2874 | - <method>none</method> | ||
| 2875 | - <schema_name/> | ||
| 2876 | - </partitioning> | ||
| 2877 | - <field_to_use>qdzname</field_to_use> | ||
| 2878 | - <target_field>bctype</target_field> | ||
| 2879 | - <non_match_default>正常班次</non_match_default> | ||
| 2880 | - <fields> | ||
| 2881 | - <field> | ||
| 2882 | - <source_value>出场</source_value> | ||
| 2883 | - <target_value>出场</target_value> | ||
| 2884 | - </field> | ||
| 2885 | - <field> | ||
| 2886 | - <source_value>进场</source_value> | ||
| 2887 | - <target_value>进场</target_value> | ||
| 2888 | - </field> | ||
| 2889 | - </fields> | ||
| 2890 | - <cluster_schema/> | ||
| 2891 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2892 | - <xloc>1014</xloc> | ||
| 2893 | - <yloc>401</yloc> | ||
| 2894 | - <draw>Y</draw> | ||
| 2895 | - </GUI> | ||
| 2896 | - </step> | ||
| 2897 | - | ||
| 2898 | - <step> | ||
| 2899 | - <name>记录关联 (笛卡尔输出)</name> | ||
| 2900 | - <type>JoinRows</type> | ||
| 2901 | - <description/> | ||
| 2902 | - <distribute>Y</distribute> | ||
| 2903 | - <custom_distribution/> | ||
| 2904 | - <copies>1</copies> | ||
| 2905 | - <partitioning> | ||
| 2906 | - <method>none</method> | ||
| 2907 | - <schema_name/> | ||
| 2908 | - </partitioning> | ||
| 2909 | - <directory>%%java.io.tmpdir%%</directory> | ||
| 2910 | - <prefix>out</prefix> | ||
| 2911 | - <cache_size>500</cache_size> | ||
| 2912 | - <main/> | ||
| 2913 | - <compare> | ||
| 2914 | -<condition> | ||
| 2915 | - <negated>N</negated> | ||
| 2916 | - <leftvalue/> | ||
| 2917 | - <function>=</function> | ||
| 2918 | - <rightvalue/> | ||
| 2919 | - </condition> | ||
| 2920 | - </compare> | ||
| 2921 | - <cluster_schema/> | ||
| 2922 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2923 | - <xloc>310</xloc> | ||
| 2924 | - <yloc>133</yloc> | ||
| 2925 | - <draw>Y</draw> | ||
| 2926 | - </GUI> | ||
| 2927 | - </step> | ||
| 2928 | - | ||
| 2929 | - <step> | ||
| 2930 | - <name>过滤记录(发车时间为空)</name> | ||
| 2931 | - <type>FilterRows</type> | ||
| 2932 | - <description/> | ||
| 2933 | - <distribute>Y</distribute> | ||
| 2934 | - <custom_distribution/> | ||
| 2935 | - <copies>1</copies> | ||
| 2936 | - <partitioning> | ||
| 2937 | - <method>none</method> | ||
| 2938 | - <schema_name/> | ||
| 2939 | - </partitioning> | ||
| 2940 | -<send_true_to/> | ||
| 2941 | -<send_false_to/> | ||
| 2942 | - <compare> | ||
| 2943 | -<condition> | ||
| 2944 | - <negated>N</negated> | ||
| 2945 | - <leftvalue>sendtime</leftvalue> | ||
| 2946 | - <function>IS NOT NULL</function> | ||
| 2947 | - <rightvalue/> | ||
| 2948 | - </condition> | ||
| 2949 | - </compare> | ||
| 2950 | - <cluster_schema/> | ||
| 2951 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2952 | - <xloc>571</xloc> | ||
| 2953 | - <yloc>44</yloc> | ||
| 2954 | - <draw>Y</draw> | ||
| 2955 | - </GUI> | ||
| 2956 | - </step> | ||
| 2957 | - | ||
| 2958 | - <step> | ||
| 2959 | - <name>进场班次_确定起点站名字</name> | ||
| 2960 | - <type>ScriptValueMod</type> | ||
| 2961 | - <description/> | ||
| 2962 | - <distribute>Y</distribute> | ||
| 2963 | - <custom_distribution/> | ||
| 2964 | - <copies>1</copies> | ||
| 2965 | - <partitioning> | ||
| 2966 | - <method>none</method> | ||
| 2967 | - <schema_name/> | ||
| 2968 | - </partitioning> | ||
| 2969 | - <compatible>N</compatible> | ||
| 2970 | - <optimizationLevel>9</optimizationLevel> | ||
| 2971 | - <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2972 | - <jsScript_name>Script 1</jsScript_name> | ||
| 2973 | - <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var qdzname_calcu = cc_groups[gno - 2]; // 进场班次的起点站是上一个班次的终点站,这里只有上一个班次的起点站,还需要计算
var startZdtype_calcu = 'B';
var endZdtype_calcu = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2974 | - </jsScript> </jsScripts> <fields> <field> <name>qdzname_calcu</name> | ||
| 2975 | - <rename>qdzname_calcu</rename> | ||
| 2976 | - <type>String</type> | ||
| 2977 | - <length>-1</length> | ||
| 2978 | - <precision>-1</precision> | ||
| 2979 | - <replace>N</replace> | ||
| 2980 | - </field> <field> <name>startZdtype_calcu</name> | ||
| 2981 | - <rename>startZdtype_calcu</rename> | ||
| 2982 | - <type>String</type> | ||
| 2983 | - <length>-1</length> | ||
| 2984 | - <precision>-1</precision> | ||
| 2985 | - <replace>N</replace> | ||
| 2986 | - </field> <field> <name>endZdtype_calcu</name> | ||
| 2987 | - <rename>endZdtype_calcu</rename> | ||
| 2988 | - <type>String</type> | ||
| 2989 | - <length>-1</length> | ||
| 2990 | - <precision>-1</precision> | ||
| 2991 | - <replace>N</replace> | ||
| 2992 | - </field> <field> <name>destory</name> | ||
| 2993 | - <rename>destory</rename> | ||
| 2994 | - <type>Integer</type> | ||
| 2995 | - <length>-1</length> | ||
| 2996 | - <precision>-1</precision> | ||
| 2997 | - <replace>N</replace> | ||
| 2998 | - </field> </fields> <cluster_schema/> | ||
| 2999 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3000 | - <xloc>754</xloc> | ||
| 3001 | - <yloc>610</yloc> | ||
| 3002 | - <draw>Y</draw> | ||
| 3003 | - </GUI> | ||
| 3004 | - </step> | ||
| 3005 | - | ||
| 3006 | - <step> | ||
| 3007 | - <name>进场班次数据</name> | ||
| 3008 | - <type>Dummy</type> | ||
| 3009 | - <description/> | ||
| 3010 | - <distribute>Y</distribute> | ||
| 3011 | - <custom_distribution/> | ||
| 3012 | - <copies>1</copies> | ||
| 3013 | - <partitioning> | ||
| 3014 | - <method>none</method> | ||
| 3015 | - <schema_name/> | ||
| 3016 | - </partitioning> | ||
| 3017 | - <cluster_schema/> | ||
| 3018 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3019 | - <xloc>997</xloc> | ||
| 3020 | - <yloc>606</yloc> | ||
| 3021 | - <draw>Y</draw> | ||
| 3022 | - </GUI> | ||
| 3023 | - </step> | ||
| 3024 | - | ||
| 3025 | - <step_error_handling> | ||
| 3026 | - <error> | ||
| 3027 | - <source_step>插入/更新bsth_c_s_ttinfo_detail</source_step> | ||
| 3028 | - <target_step/> | ||
| 3029 | - <is_enabled>Y</is_enabled> | ||
| 3030 | - <nr_valuename>c1</nr_valuename> | ||
| 3031 | - <descriptions_valuename>c2</descriptions_valuename> | ||
| 3032 | - <fields_valuename>c3</fields_valuename> | ||
| 3033 | - <codes_valuename>c4</codes_valuename> | ||
| 3034 | - <max_errors/> | ||
| 3035 | - <max_pct_errors/> | ||
| 3036 | - <min_pct_rows/> | ||
| 3037 | - </error> | ||
| 3038 | - </step_error_handling> | ||
| 3039 | - <slave-step-copy-partition-distribution> | ||
| 3040 | -</slave-step-copy-partition-distribution> | ||
| 3041 | - <slave_transformation>N</slave_transformation> | ||
| 3042 | - | ||
| 3043 | -</transformation> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<transformation> | ||
| 3 | + <info> | ||
| 4 | + <name>时刻表明细导入2</name> | ||
| 5 | + <description>时刻表明细信息导入</description> | ||
| 6 | + <extended_description>时刻表明细信息</extended_description> | ||
| 7 | + <trans_version/> | ||
| 8 | + <trans_type>Normal</trans_type> | ||
| 9 | + <trans_status>0</trans_status> | ||
| 10 | + <directory>/</directory> | ||
| 11 | + <parameters> | ||
| 12 | + </parameters> | ||
| 13 | + <log> | ||
| 14 | +<trans-log-table><connection/> | ||
| 15 | +<schema/> | ||
| 16 | +<table/> | ||
| 17 | +<size_limit_lines/> | ||
| 18 | +<interval/> | ||
| 19 | +<timeout_days/> | ||
| 20 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||
| 21 | +<perf-log-table><connection/> | ||
| 22 | +<schema/> | ||
| 23 | +<table/> | ||
| 24 | +<interval/> | ||
| 25 | +<timeout_days/> | ||
| 26 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||
| 27 | +<channel-log-table><connection/> | ||
| 28 | +<schema/> | ||
| 29 | +<table/> | ||
| 30 | +<timeout_days/> | ||
| 31 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||
| 32 | +<step-log-table><connection/> | ||
| 33 | +<schema/> | ||
| 34 | +<table/> | ||
| 35 | +<timeout_days/> | ||
| 36 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||
| 37 | +<metrics-log-table><connection/> | ||
| 38 | +<schema/> | ||
| 39 | +<table/> | ||
| 40 | +<timeout_days/> | ||
| 41 | +<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||
| 42 | + </log> | ||
| 43 | + <maxdate> | ||
| 44 | + <connection/> | ||
| 45 | + <table/> | ||
| 46 | + <field/> | ||
| 47 | + <offset>0.0</offset> | ||
| 48 | + <maxdiff>0.0</maxdiff> | ||
| 49 | + </maxdate> | ||
| 50 | + <size_rowset>10000</size_rowset> | ||
| 51 | + <sleep_time_empty>50</sleep_time_empty> | ||
| 52 | + <sleep_time_full>50</sleep_time_full> | ||
| 53 | + <unique_connections>N</unique_connections> | ||
| 54 | + <feedback_shown>Y</feedback_shown> | ||
| 55 | + <feedback_size>50000</feedback_size> | ||
| 56 | + <using_thread_priorities>Y</using_thread_priorities> | ||
| 57 | + <shared_objects_file/> | ||
| 58 | + <capture_step_performance>N</capture_step_performance> | ||
| 59 | + <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||
| 60 | + <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||
| 61 | + <dependencies> | ||
| 62 | + </dependencies> | ||
| 63 | + <partitionschemas> | ||
| 64 | + </partitionschemas> | ||
| 65 | + <slaveservers> | ||
| 66 | + </slaveservers> | ||
| 67 | + <clusterschemas> | ||
| 68 | + </clusterschemas> | ||
| 69 | + <created_user>-</created_user> | ||
| 70 | + <created_date>2016/06/30 12:21:57.536</created_date> | ||
| 71 | + <modified_user>-</modified_user> | ||
| 72 | + <modified_date>2016/06/30 12:21:57.536</modified_date> | ||
| 73 | + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> | ||
| 74 | + <is_key_private>N</is_key_private> | ||
| 75 | + </info> | ||
| 76 | + <notepads> | ||
| 77 | + <notepad> | ||
| 78 | + <note>字典表对应(以后直接查找表 bsth_c_sys_dictionary)
类型 代码 名称
LineTrend 0 上行
LineTrend 1 下行
ScheduleType normal 正常班次
ScheduleType out 出场
ScheduleType in 进场
ScheduleType temp 临加
ScheduleType region 区间
ScheduleType venting 放空
ScheduleType major 放大站</note> | ||
| 79 | + <xloc>606</xloc> | ||
| 80 | + <yloc>129</yloc> | ||
| 81 | + <width>332</width> | ||
| 82 | + <heigth>186</heigth> | ||
| 83 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 84 | + <fontsize>12</fontsize> | ||
| 85 | + <fontbold>N</fontbold> | ||
| 86 | + <fontitalic>N</fontitalic> | ||
| 87 | + <fontcolorred>0</fontcolorred> | ||
| 88 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 89 | + <fontcolorblue>0</fontcolorblue> | ||
| 90 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 91 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 92 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 93 | + <bordercolorred>100</bordercolorred> | ||
| 94 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 95 | + <bordercolorblue>100</bordercolorblue> | ||
| 96 | + <drawshadow>Y</drawshadow> | ||
| 97 | + </notepad> | ||
| 98 | + <notepad> | ||
| 99 | + <note>因为时刻表输入格式不确定性,主要因为表结构是反范式化的,
所以需要外部动态指定愿数据,头三个step动态指定愿数据

</note> | ||
| 100 | + <xloc>79</xloc> | ||
| 101 | + <yloc>206</yloc> | ||
| 102 | + <width>346</width> | ||
| 103 | + <heigth>74</heigth> | ||
| 104 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 105 | + <fontsize>12</fontsize> | ||
| 106 | + <fontbold>N</fontbold> | ||
| 107 | + <fontitalic>N</fontitalic> | ||
| 108 | + <fontcolorred>0</fontcolorred> | ||
| 109 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 110 | + <fontcolorblue>0</fontcolorblue> | ||
| 111 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 112 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 113 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 114 | + <bordercolorred>100</bordercolorred> | ||
| 115 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 116 | + <bordercolorblue>100</bordercolorblue> | ||
| 117 | + <drawshadow>Y</drawshadow> | ||
| 118 | + </notepad> | ||
| 119 | + <notepad> | ||
| 120 | + <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 121 | + <xloc>721</xloc> | ||
| 122 | + <yloc>762</yloc> | ||
| 123 | + <width>333</width> | ||
| 124 | + <heigth>90</heigth> | ||
| 125 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 126 | + <fontsize>12</fontsize> | ||
| 127 | + <fontbold>N</fontbold> | ||
| 128 | + <fontitalic>N</fontitalic> | ||
| 129 | + <fontcolorred>0</fontcolorred> | ||
| 130 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 131 | + <fontcolorblue>0</fontcolorblue> | ||
| 132 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 133 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 134 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 135 | + <bordercolorred>100</bordercolorred> | ||
| 136 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 137 | + <bordercolorblue>100</bordercolorblue> | ||
| 138 | + <drawshadow>Y</drawshadow> | ||
| 139 | + </notepad> | ||
| 140 | + <notepad> | ||
| 141 | + <note>出场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 142 | + <xloc>104</xloc> | ||
| 143 | + <yloc>939</yloc> | ||
| 144 | + <width>178</width> | ||
| 145 | + <heigth>42</heigth> | ||
| 146 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 147 | + <fontsize>12</fontsize> | ||
| 148 | + <fontbold>N</fontbold> | ||
| 149 | + <fontitalic>N</fontitalic> | ||
| 150 | + <fontcolorred>0</fontcolorred> | ||
| 151 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 152 | + <fontcolorblue>0</fontcolorblue> | ||
| 153 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 154 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 155 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 156 | + <bordercolorred>100</bordercolorred> | ||
| 157 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 158 | + <bordercolorblue>100</bordercolorblue> | ||
| 159 | + <drawshadow>Y</drawshadow> | ||
| 160 | + </notepad> | ||
| 161 | + <notepad> | ||
| 162 | + <note>进场班次,方向有时确定不准,
空的情况下设定为0(上行)</note> | ||
| 163 | + <xloc>578</xloc> | ||
| 164 | + <yloc>1084</yloc> | ||
| 165 | + <width>178</width> | ||
| 166 | + <heigth>42</heigth> | ||
| 167 | + <fontname>YaHei Consolas Hybrid</fontname> | ||
| 168 | + <fontsize>12</fontsize> | ||
| 169 | + <fontbold>N</fontbold> | ||
| 170 | + <fontitalic>N</fontitalic> | ||
| 171 | + <fontcolorred>0</fontcolorred> | ||
| 172 | + <fontcolorgreen>0</fontcolorgreen> | ||
| 173 | + <fontcolorblue>0</fontcolorblue> | ||
| 174 | + <backgroundcolorred>255</backgroundcolorred> | ||
| 175 | + <backgroundcolorgreen>205</backgroundcolorgreen> | ||
| 176 | + <backgroundcolorblue>112</backgroundcolorblue> | ||
| 177 | + <bordercolorred>100</bordercolorred> | ||
| 178 | + <bordercolorgreen>100</bordercolorgreen> | ||
| 179 | + <bordercolorblue>100</bordercolorblue> | ||
| 180 | + <drawshadow>Y</drawshadow> | ||
| 181 | + </notepad> | ||
| 182 | + </notepads> | ||
| 183 | + <connection> | ||
| 184 | + <name>192.168.168.1_jwgl_dw</name> | ||
| 185 | + <server>192.168.168.1</server> | ||
| 186 | + <type>ORACLE</type> | ||
| 187 | + <access>Native</access> | ||
| 188 | + <database>orcl</database> | ||
| 189 | + <port>1521</port> | ||
| 190 | + <username>jwgl_dw</username> | ||
| 191 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | ||
| 192 | + <servername/> | ||
| 193 | + <data_tablespace/> | ||
| 194 | + <index_tablespace/> | ||
| 195 | + <attributes> | ||
| 196 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 197 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 198 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 199 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 200 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 201 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 202 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 203 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 204 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 205 | + </attributes> | ||
| 206 | + </connection> | ||
| 207 | + <connection> | ||
| 208 | + <name>bus_control_variable</name> | ||
| 209 | + <server>${v_db_ip}</server> | ||
| 210 | + <type>MYSQL</type> | ||
| 211 | + <access>Native</access> | ||
| 212 | + <database>${v_db_dname}</database> | ||
| 213 | + <port>3306</port> | ||
| 214 | + <username>${v_db_uname}</username> | ||
| 215 | + <password>${v_db_pwd}</password> | ||
| 216 | + <servername/> | ||
| 217 | + <data_tablespace/> | ||
| 218 | + <index_tablespace/> | ||
| 219 | + <attributes> | ||
| 220 | + <attribute><code>EXTRA_OPTION_MYSQL.characterEncoding</code><attribute>utf8</attribute></attribute> | ||
| 221 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 222 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 223 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 224 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 225 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 226 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 227 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 228 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 229 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 230 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 231 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 232 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 233 | + </attributes> | ||
| 234 | + </connection> | ||
| 235 | + <connection> | ||
| 236 | + <name>bus_control_公司_201</name> | ||
| 237 | + <server>localhost</server> | ||
| 238 | + <type>MYSQL</type> | ||
| 239 | + <access>Native</access> | ||
| 240 | + <database>control</database> | ||
| 241 | + <port>3306</port> | ||
| 242 | + <username>root</username> | ||
| 243 | + <password>Encrypted </password> | ||
| 244 | + <servername/> | ||
| 245 | + <data_tablespace/> | ||
| 246 | + <index_tablespace/> | ||
| 247 | + <attributes> | ||
| 248 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 249 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 250 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 251 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 252 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 253 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 254 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 255 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 256 | + <attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute> | ||
| 257 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 258 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 259 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 260 | + </attributes> | ||
| 261 | + </connection> | ||
| 262 | + <connection> | ||
| 263 | + <name>bus_control_本机</name> | ||
| 264 | + <server>localhost</server> | ||
| 265 | + <type>MYSQL</type> | ||
| 266 | + <access>Native</access> | ||
| 267 | + <database>control</database> | ||
| 268 | + <port>3306</port> | ||
| 269 | + <username>root</username> | ||
| 270 | + <password>Encrypted </password> | ||
| 271 | + <servername/> | ||
| 272 | + <data_tablespace/> | ||
| 273 | + <index_tablespace/> | ||
| 274 | + <attributes> | ||
| 275 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 276 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 277 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 278 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 279 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 280 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 281 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 282 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 283 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 284 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 285 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 286 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 287 | + </attributes> | ||
| 288 | + </connection> | ||
| 289 | + <connection> | ||
| 290 | + <name>xlab_mysql_youle</name> | ||
| 291 | + <server>101.231.124.8</server> | ||
| 292 | + <type>MYSQL</type> | ||
| 293 | + <access>Native</access> | ||
| 294 | + <database>xlab_youle</database> | ||
| 295 | + <port>45687</port> | ||
| 296 | + <username>xlab-youle</username> | ||
| 297 | + <password>Encrypted 2be98afc86aa78a88aa1be369d187a3df</password> | ||
| 298 | + <servername/> | ||
| 299 | + <data_tablespace/> | ||
| 300 | + <index_tablespace/> | ||
| 301 | + <attributes> | ||
| 302 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 303 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 304 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 305 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 306 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 307 | + <attribute><code>PORT_NUMBER</code><attribute>45687</attribute></attribute> | ||
| 308 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 309 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 310 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 311 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 312 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 313 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 314 | + </attributes> | ||
| 315 | + </connection> | ||
| 316 | + <connection> | ||
| 317 | + <name>xlab_mysql_youle(本机)</name> | ||
| 318 | + <server>localhost</server> | ||
| 319 | + <type>MYSQL</type> | ||
| 320 | + <access>Native</access> | ||
| 321 | + <database>xlab_youle</database> | ||
| 322 | + <port>3306</port> | ||
| 323 | + <username>root</username> | ||
| 324 | + <password>Encrypted </password> | ||
| 325 | + <servername/> | ||
| 326 | + <data_tablespace/> | ||
| 327 | + <index_tablespace/> | ||
| 328 | + <attributes> | ||
| 329 | + <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute> | ||
| 330 | + <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute> | ||
| 331 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 332 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 333 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 334 | + <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute> | ||
| 335 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 336 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 337 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 338 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 339 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>N</attribute></attribute> | ||
| 340 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 341 | + </attributes> | ||
| 342 | + </connection> | ||
| 343 | + <connection> | ||
| 344 | + <name>xlab_youle</name> | ||
| 345 | + <server/> | ||
| 346 | + <type>MYSQL</type> | ||
| 347 | + <access>JNDI</access> | ||
| 348 | + <database>xlab_youle</database> | ||
| 349 | + <port>1521</port> | ||
| 350 | + <username/> | ||
| 351 | + <password>Encrypted </password> | ||
| 352 | + <servername/> | ||
| 353 | + <data_tablespace/> | ||
| 354 | + <index_tablespace/> | ||
| 355 | + <attributes> | ||
| 356 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | ||
| 357 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | ||
| 358 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | ||
| 359 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | ||
| 360 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | ||
| 361 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | ||
| 362 | + <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute> | ||
| 363 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 364 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | ||
| 365 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | ||
| 366 | + </attributes> | ||
| 367 | + </connection> | ||
| 368 | + <order> | ||
| 369 | + <hop> <from>时刻表明细信息Excel输入</from><to>班次数据范式化</to><enabled>Y</enabled> </hop> | ||
| 370 | + <hop> <from>添加发车顺序号</from><to>过滤记录(发车时间为空)</to><enabled>Y</enabled> </hop> | ||
| 371 | + <hop> <from>过滤记录(发车时间为空)</from><to>添加对应班次数</to><enabled>Y</enabled> </hop> | ||
| 372 | + <hop> <from>添加对应班次数</from><to>处理数据</to><enabled>Y</enabled> </hop> | ||
| 373 | + <hop> <from>处理数据</from><to>分组各个路牌的站</to><enabled>Y</enabled> </hop> | ||
| 374 | + <hop> <from>查找时刻表基础信息关联</from><to>查找路牌关联</to><enabled>Y</enabled> </hop> | ||
| 375 | + <hop> <from>查找线路关联</from><to>查找时刻表基础信息关联</to><enabled>Y</enabled> </hop> | ||
| 376 | + <hop> <from>上下行字典</from><to>班次类型字典</to><enabled>Y</enabled> </hop> | ||
| 377 | + <hop> <from>上下行字典 2</from><to>班次类型字典 2</to><enabled>Y</enabled> </hop> | ||
| 378 | + <hop> <from>上下行字典 3</from><to>班次类型字典 3</to><enabled>Y</enabled> </hop> | ||
| 379 | + <hop> <from>匹配上下行正常班次里程时间</from><to>类型修正</to><enabled>Y</enabled> </hop> | ||
| 380 | + <hop> <from>按照班次类型过滤数据1</from><to>按照班次类型过滤数据2</to><enabled>Y</enabled> </hop> | ||
| 381 | + <hop> <from>按照班次类型过滤数据1</from><to>正常班次数据</to><enabled>Y</enabled> </hop> | ||
| 382 | + <hop> <from>按照班次类型过滤数据2</from><to>出场班次数据</to><enabled>Y</enabled> </hop> | ||
| 383 | + <hop> <from>按照班次类型过滤数据2</from><to>进场班次数据</to><enabled>Y</enabled> </hop> | ||
| 384 | + <hop> <from>查找所有线路上下行里程时间</from><to>匹配上下行正常班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 385 | + <hop> <from>查找终点站关联</from><to>上下行字典</to><enabled>Y</enabled> </hop> | ||
| 386 | + <hop> <from>查找起点站关联并确定上下行</from><to>查找终点站关联</to><enabled>Y</enabled> </hop> | ||
| 387 | + <hop> <from>正常班次_处理数据</from><to>查找起点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 388 | + <hop> <from>正常班次数据</from><to>正常班次_处理数据</to><enabled>Y</enabled> </hop> | ||
| 389 | + <hop> <from>班次类型字典</from><to>查找所有线路上下行里程时间</to><enabled>Y</enabled> </hop> | ||
| 390 | + <hop> <from>班次类型字典 2</from><to>查找线路出场里程时间</to><enabled>Y</enabled> </hop> | ||
| 391 | + <hop> <from>班次类型字典 3</from><to>查找线路进场里程时间</to><enabled>Y</enabled> </hop> | ||
| 392 | + <hop> <from>查找路牌关联</from><to>计算班次类型</to><enabled>Y</enabled> </hop> | ||
| 393 | + <hop> <from>计算班次类型</from><to>按照班次类型过滤数据1</to><enabled>Y</enabled> </hop> | ||
| 394 | + <hop> <from>出场班次数据</from><to>查找停车场1</to><enabled>Y</enabled> </hop> | ||
| 395 | + <hop> <from>查找停车场1</from><to>出场班次_确定终点站名字</to><enabled>Y</enabled> </hop> | ||
| 396 | + <hop> <from>出场班次_确定终点站名字</from><to>查找出场终点站关联并确定上下行</to><enabled>Y</enabled> </hop> | ||
| 397 | + <hop> <from>查找出场终点站关联并确定上下行</from><to>上下行字典 2</to><enabled>Y</enabled> </hop> | ||
| 398 | + <hop> <from>进场班次数据</from><to>查找停车场2</to><enabled>Y</enabled> </hop> | ||
| 399 | + <hop> <from>查找停车场2</from><to>进场班次_确定起点站名字</to><enabled>Y</enabled> </hop> | ||
| 400 | + <hop> <from>进场班次_确定起点站名字</from><to>查找进场班次上一个班次的线路方向</to><enabled>Y</enabled> </hop> | ||
| 401 | + <hop> <from>查找进场班次上一个班次的线路方向</from><to>查找进场班次上一个班次的终点站,并作为进场班次的起点站</to><enabled>Y</enabled> </hop> | ||
| 402 | + <hop> <from>字段选择</from><to>添加发车顺序号</to><enabled>Y</enabled> </hop> | ||
| 403 | + <hop> <from>分组各个路牌的站</from><to>查找线路关联</to><enabled>Y</enabled> </hop> | ||
| 404 | + <hop> <from>增加时刻表名字,线路名字,停车场名字</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 405 | + <hop> <from>班次数据范式化</from><to>记录关联 (笛卡尔输出)</to><enabled>Y</enabled> </hop> | ||
| 406 | + <hop> <from>记录关联 (笛卡尔输出)</from><to>字段选择</to><enabled>Y</enabled> </hop> | ||
| 407 | + <hop> <from>类型修正</from><to>插入/更新bsth_c_s_ttinfo_detail</to><enabled>Y</enabled> </hop> | ||
| 408 | + <hop> <from>查找进场班次上一个班次的终点站,并作为进场班次的起点站</from><to>查找进场起点站关联确定上下行</to><enabled>Y</enabled> </hop> | ||
| 409 | + <hop> <from>查找进场起点站关联确定上下行</from><to>上下行字典 3</to><enabled>Y</enabled> </hop> | ||
| 410 | + <hop> <from>查找线路出场里程时间</from><to>匹配出场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 411 | + <hop> <from>查找线路进场里程时间</from><to>匹配进场班次里程时间</to><enabled>Y</enabled> </hop> | ||
| 412 | + <hop> <from>匹配出场班次里程时间</from><to>上下行NULL判定</to><enabled>Y</enabled> </hop> | ||
| 413 | + <hop> <from>上下行NULL判定</from><to>类型修正 2</to><enabled>Y</enabled> </hop> | ||
| 414 | + <hop> <from>类型修正 2</from><to>插入/更新bsth_c_s_ttinfo_detail 2</to><enabled>Y</enabled> </hop> | ||
| 415 | + <hop> <from>匹配进场班次里程时间</from><to>上下行判定 2</to><enabled>Y</enabled> </hop> | ||
| 416 | + <hop> <from>上下行判定 2</from><to>类型修正 3</to><enabled>Y</enabled> </hop> | ||
| 417 | + <hop> <from>类型修正 3</from><to>插入/更新bsth_c_s_ttinfo_detail 3</to><enabled>Y</enabled> </hop> | ||
| 418 | + </order> | ||
| 419 | + <step> | ||
| 420 | + <name>上下行NULL判定</name> | ||
| 421 | + <type>IfNull</type> | ||
| 422 | + <description/> | ||
| 423 | + <distribute>Y</distribute> | ||
| 424 | + <custom_distribution/> | ||
| 425 | + <copies>1</copies> | ||
| 426 | + <partitioning> | ||
| 427 | + <method>none</method> | ||
| 428 | + <schema_name/> | ||
| 429 | + </partitioning> | ||
| 430 | + <replaceAllByValue/> | ||
| 431 | + <replaceAllMask/> | ||
| 432 | + <selectFields>Y</selectFields> | ||
| 433 | + <selectValuesType>N</selectValuesType> | ||
| 434 | + <setEmptyStringAll>N</setEmptyStringAll> | ||
| 435 | + <valuetypes> | ||
| 436 | + </valuetypes> | ||
| 437 | + <fields> | ||
| 438 | + <field> | ||
| 439 | + <name>sxx</name> | ||
| 440 | + <value>0</value> | ||
| 441 | + <mask/> | ||
| 442 | + <set_empty_string>N</set_empty_string> | ||
| 443 | + </field> | ||
| 444 | + </fields> | ||
| 445 | + <cluster_schema/> | ||
| 446 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 447 | + <xloc>335</xloc> | ||
| 448 | + <yloc>938</yloc> | ||
| 449 | + <draw>Y</draw> | ||
| 450 | + </GUI> | ||
| 451 | + </step> | ||
| 452 | + | ||
| 453 | + <step> | ||
| 454 | + <name>上下行判定 2</name> | ||
| 455 | + <type>IfNull</type> | ||
| 456 | + <description/> | ||
| 457 | + <distribute>Y</distribute> | ||
| 458 | + <custom_distribution/> | ||
| 459 | + <copies>1</copies> | ||
| 460 | + <partitioning> | ||
| 461 | + <method>none</method> | ||
| 462 | + <schema_name/> | ||
| 463 | + </partitioning> | ||
| 464 | + <replaceAllByValue/> | ||
| 465 | + <replaceAllMask/> | ||
| 466 | + <selectFields>Y</selectFields> | ||
| 467 | + <selectValuesType>N</selectValuesType> | ||
| 468 | + <setEmptyStringAll>N</setEmptyStringAll> | ||
| 469 | + <valuetypes> | ||
| 470 | + </valuetypes> | ||
| 471 | + <fields> | ||
| 472 | + <field> | ||
| 473 | + <name>sxx2</name> | ||
| 474 | + <value>0</value> | ||
| 475 | + <mask/> | ||
| 476 | + <set_empty_string>N</set_empty_string> | ||
| 477 | + </field> | ||
| 478 | + </fields> | ||
| 479 | + <cluster_schema/> | ||
| 480 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 481 | + <xloc>804</xloc> | ||
| 482 | + <yloc>1081</yloc> | ||
| 483 | + <draw>Y</draw> | ||
| 484 | + </GUI> | ||
| 485 | + </step> | ||
| 486 | + | ||
| 487 | + <step> | ||
| 488 | + <name>上下行字典</name> | ||
| 489 | + <type>ValueMapper</type> | ||
| 490 | + <description/> | ||
| 491 | + <distribute>Y</distribute> | ||
| 492 | + <custom_distribution/> | ||
| 493 | + <copies>1</copies> | ||
| 494 | + <partitioning> | ||
| 495 | + <method>none</method> | ||
| 496 | + <schema_name/> | ||
| 497 | + </partitioning> | ||
| 498 | + <field_to_use>sxx</field_to_use> | ||
| 499 | + <target_field>sxx_desc</target_field> | ||
| 500 | + <non_match_default/> | ||
| 501 | + <fields> | ||
| 502 | + <field> | ||
| 503 | + <source_value>0</source_value> | ||
| 504 | + <target_value>上行</target_value> | ||
| 505 | + </field> | ||
| 506 | + <field> | ||
| 507 | + <source_value>1</source_value> | ||
| 508 | + <target_value>下行</target_value> | ||
| 509 | + </field> | ||
| 510 | + </fields> | ||
| 511 | + <cluster_schema/> | ||
| 512 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 513 | + <xloc>147</xloc> | ||
| 514 | + <yloc>403</yloc> | ||
| 515 | + <draw>Y</draw> | ||
| 516 | + </GUI> | ||
| 517 | + </step> | ||
| 518 | + | ||
| 519 | + <step> | ||
| 520 | + <name>上下行字典 2</name> | ||
| 521 | + <type>ValueMapper</type> | ||
| 522 | + <description/> | ||
| 523 | + <distribute>Y</distribute> | ||
| 524 | + <custom_distribution/> | ||
| 525 | + <copies>1</copies> | ||
| 526 | + <partitioning> | ||
| 527 | + <method>none</method> | ||
| 528 | + <schema_name/> | ||
| 529 | + </partitioning> | ||
| 530 | + <field_to_use>sxx</field_to_use> | ||
| 531 | + <target_field>sxx_desc</target_field> | ||
| 532 | + <non_match_default/> | ||
| 533 | + <fields> | ||
| 534 | + <field> | ||
| 535 | + <source_value>0</source_value> | ||
| 536 | + <target_value>上行</target_value> | ||
| 537 | + </field> | ||
| 538 | + <field> | ||
| 539 | + <source_value>1</source_value> | ||
| 540 | + <target_value>下行</target_value> | ||
| 541 | + </field> | ||
| 542 | + </fields> | ||
| 543 | + <cluster_schema/> | ||
| 544 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 545 | + <xloc>331</xloc> | ||
| 546 | + <yloc>598</yloc> | ||
| 547 | + <draw>Y</draw> | ||
| 548 | + </GUI> | ||
| 549 | + </step> | ||
| 550 | + | ||
| 551 | + <step> | ||
| 552 | + <name>上下行字典 3</name> | ||
| 553 | + <type>ValueMapper</type> | ||
| 554 | + <description/> | ||
| 555 | + <distribute>Y</distribute> | ||
| 556 | + <custom_distribution/> | ||
| 557 | + <copies>1</copies> | ||
| 558 | + <partitioning> | ||
| 559 | + <method>none</method> | ||
| 560 | + <schema_name/> | ||
| 561 | + </partitioning> | ||
| 562 | + <field_to_use>sxx</field_to_use> | ||
| 563 | + <target_field>sxx_desc</target_field> | ||
| 564 | + <non_match_default/> | ||
| 565 | + <fields> | ||
| 566 | + <field> | ||
| 567 | + <source_value>0</source_value> | ||
| 568 | + <target_value>上行</target_value> | ||
| 569 | + </field> | ||
| 570 | + <field> | ||
| 571 | + <source_value>1</source_value> | ||
| 572 | + <target_value>下行</target_value> | ||
| 573 | + </field> | ||
| 574 | + </fields> | ||
| 575 | + <cluster_schema/> | ||
| 576 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 577 | + <xloc>553</xloc> | ||
| 578 | + <yloc>859</yloc> | ||
| 579 | + <draw>Y</draw> | ||
| 580 | + </GUI> | ||
| 581 | + </step> | ||
| 582 | + | ||
| 583 | + <step> | ||
| 584 | + <name>出场班次_确定终点站名字</name> | ||
| 585 | + <type>ScriptValueMod</type> | ||
| 586 | + <description/> | ||
| 587 | + <distribute>Y</distribute> | ||
| 588 | + <custom_distribution/> | ||
| 589 | + <copies>1</copies> | ||
| 590 | + <partitioning> | ||
| 591 | + <method>none</method> | ||
| 592 | + <schema_name/> | ||
| 593 | + </partitioning> | ||
| 594 | + <compatible>N</compatible> | ||
| 595 | + <optimizationLevel>9</optimizationLevel> | ||
| 596 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 597 | + <jsScript_name>Script 1</jsScript_name> | ||
| 598 | + <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var zdzname = cc_groups[gno]; // 出场班次的终点站是下个班次的起始站
var endZdtype = 'B';
// var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 599 | + </jsScript> </jsScripts> <fields> <field> <name>zdzname</name> | ||
| 600 | + <rename>zdzname</rename> | ||
| 601 | + <type>String</type> | ||
| 602 | + <length>-1</length> | ||
| 603 | + <precision>-1</precision> | ||
| 604 | + <replace>N</replace> | ||
| 605 | + </field> <field> <name>endZdtype</name> | ||
| 606 | + <rename>endZdtype</rename> | ||
| 607 | + <type>String</type> | ||
| 608 | + <length>-1</length> | ||
| 609 | + <precision>-1</precision> | ||
| 610 | + <replace>N</replace> | ||
| 611 | + </field> <field> <name>destory</name> | ||
| 612 | + <rename>destory</rename> | ||
| 613 | + <type>Integer</type> | ||
| 614 | + <length>-1</length> | ||
| 615 | + <precision>-1</precision> | ||
| 616 | + <replace>N</replace> | ||
| 617 | + </field> </fields> <cluster_schema/> | ||
| 618 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 619 | + <xloc>575</xloc> | ||
| 620 | + <yloc>502</yloc> | ||
| 621 | + <draw>Y</draw> | ||
| 622 | + </GUI> | ||
| 623 | + </step> | ||
| 624 | + | ||
| 625 | + <step> | ||
| 626 | + <name>出场班次数据</name> | ||
| 627 | + <type>Dummy</type> | ||
| 628 | + <description/> | ||
| 629 | + <distribute>Y</distribute> | ||
| 630 | + <custom_distribution/> | ||
| 631 | + <copies>1</copies> | ||
| 632 | + <partitioning> | ||
| 633 | + <method>none</method> | ||
| 634 | + <schema_name/> | ||
| 635 | + </partitioning> | ||
| 636 | + <cluster_schema/> | ||
| 637 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 638 | + <xloc>869</xloc> | ||
| 639 | + <yloc>504</yloc> | ||
| 640 | + <draw>Y</draw> | ||
| 641 | + </GUI> | ||
| 642 | + </step> | ||
| 643 | + | ||
| 644 | + <step> | ||
| 645 | + <name>分组各个路牌的站</name> | ||
| 646 | + <type>GroupBy</type> | ||
| 647 | + <description/> | ||
| 648 | + <distribute>Y</distribute> | ||
| 649 | + <custom_distribution/> | ||
| 650 | + <copies>1</copies> | ||
| 651 | + <partitioning> | ||
| 652 | + <method>none</method> | ||
| 653 | + <schema_name/> | ||
| 654 | + </partitioning> | ||
| 655 | + <all_rows>Y</all_rows> | ||
| 656 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 657 | + <field_ignore/> | ||
| 658 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 659 | + <prefix>grp</prefix> | ||
| 660 | + <add_linenr>Y</add_linenr> | ||
| 661 | + <linenr_fieldname>gno</linenr_fieldname> | ||
| 662 | + <give_back_row>N</give_back_row> | ||
| 663 | + <group> | ||
| 664 | + <field> | ||
| 665 | + <name>lp</name> | ||
| 666 | + </field> | ||
| 667 | + </group> | ||
| 668 | + <fields> | ||
| 669 | + <field> | ||
| 670 | + <aggregate>qdzgroups</aggregate> | ||
| 671 | + <subject>qdzname</subject> | ||
| 672 | + <type>CONCAT_STRING</type> | ||
| 673 | + <valuefield>,</valuefield> | ||
| 674 | + </field> | ||
| 675 | + </fields> | ||
| 676 | + <cluster_schema/> | ||
| 677 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 678 | + <xloc>892</xloc> | ||
| 679 | + <yloc>44</yloc> | ||
| 680 | + <draw>Y</draw> | ||
| 681 | + </GUI> | ||
| 682 | + </step> | ||
| 683 | + | ||
| 684 | + <step> | ||
| 685 | + <name>匹配上下行正常班次里程时间</name> | ||
| 686 | + <type>ScriptValueMod</type> | ||
| 687 | + <description/> | ||
| 688 | + <distribute>Y</distribute> | ||
| 689 | + <custom_distribution/> | ||
| 690 | + <copies>1</copies> | ||
| 691 | + <partitioning> | ||
| 692 | + <method>none</method> | ||
| 693 | + <schema_name/> | ||
| 694 | + </partitioning> | ||
| 695 | + <compatible>N</compatible> | ||
| 696 | + <optimizationLevel>9</optimizationLevel> | ||
| 697 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 698 | + <jsScript_name>Script 1</jsScript_name> | ||
| 699 | + <jsScript_script>//Script here

var jhlc; // 计划里程
var bcsj; // 班次时间

// 时间范围正则表达式
var timeRex = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/;
// 发车时间转换成日期
var fcsj_hour = str2num(sendtime_calcu.substr(0, 2), "#");
var fcsj_min = str2num(sendtime_calcu.substr(3, 2), "#");
var fcsj_date = new Date(2000,1,1,fcsj_hour,fcsj_min,0);

// 判定是否早高峰
var isZgf = false;
if (timeRex.test(early_start_time) && timeRex.test(early_end_time) && early_up_time != null && early_down_time != null) {
 var early_s_hour = str2num(early_start_time.substr(0, 2), "#");
 var early_s_min = str2num(early_start_time.substr(3, 2), "#");
 var early_s_date = new Date(2000,1,1,early_s_hour,early_s_min,0);

 var early_e_hour = str2num(early_end_time.substr(0, 2), "#");
 var early_e_min = str2num(early_end_time.substr(3, 2), "#");
 var early_e_date = new Date(2000,1,1,early_e_hour,early_e_min,0);

 if (fcsj_date >= early_s_date && fcsj_date <= early_e_date) {
 isZgf = true;
 }
}

// 判定是否晚高峰
var isWgf = false;
if (timeRex.test(late_start_time) && timeRex.test(late_end_time) && late_up_time != null && late_down_time != null) {
 var late_s_hour = str2num(late_start_time.substr(0, 2), "#");
 var late_s_min = str2num(late_start_time.substr(3, 2), "#");
 var late_s_date = new Date(2000,1,1,late_s_hour,late_s_min,0);

 var late_e_hour = str2num(late_end_time.substr(0, 2), "#");
 var late_e_min = str2num(late_end_time.substr(3, 2), "#");
 var late_e_date = new Date(2000,1,1,late_e_hour,late_e_min,0);

 if (fcsj_date >= late_s_date && fcsj_date <= late_e_date) {
 isWgf = true;
 }
}

// 判定是否晚高峰

if (sxx == 0) { // 上行
 if (isZgf) {
 jhlc = up_mileage;
 bcsj = early_up_time != 0 ? early_up_time : up_travel_time;
 } else if (isWgf) {
 jhlc = up_mileage;
 bcsj = late_up_time != 0 ? late_up_time : up_travel_time;
 } else {
 jhlc = up_mileage;
 bcsj = up_travel_time;
 }
} else { // sxx == 1 下行
 if (isZgf) {
 jhlc = down_mileage;
 bcsj = early_down_time != 0 ? early_down_time : down_travel_time;
 } else if (isWgf) {
 jhlc = down_mileage;
 bcsj = late_down_time != 0 ? late_down_time : down_travel_time;
 } else {
 jhlc = down_mileage;
 bcsj = down_travel_time;
 }
}</jsScript_script> | ||
| 700 | + </jsScript> </jsScripts> <fields> <field> <name>jhlc</name> | ||
| 701 | + <rename>jhlc</rename> | ||
| 702 | + <type>String</type> | ||
| 703 | + <length>-1</length> | ||
| 704 | + <precision>-1</precision> | ||
| 705 | + <replace>N</replace> | ||
| 706 | + </field> <field> <name>bcsj</name> | ||
| 707 | + <rename>bcsj</rename> | ||
| 708 | + <type>String</type> | ||
| 709 | + <length>-1</length> | ||
| 710 | + <precision>-1</precision> | ||
| 711 | + <replace>N</replace> | ||
| 712 | + </field> </fields> <cluster_schema/> | ||
| 713 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 714 | + <xloc>148</xloc> | ||
| 715 | + <yloc>674</yloc> | ||
| 716 | + <draw>Y</draw> | ||
| 717 | + </GUI> | ||
| 718 | + </step> | ||
| 719 | + | ||
| 720 | + <step> | ||
| 721 | + <name>匹配出场班次里程时间</name> | ||
| 722 | + <type>ScriptValueMod</type> | ||
| 723 | + <description/> | ||
| 724 | + <distribute>Y</distribute> | ||
| 725 | + <custom_distribution/> | ||
| 726 | + <copies>1</copies> | ||
| 727 | + <partitioning> | ||
| 728 | + <method>none</method> | ||
| 729 | + <schema_name/> | ||
| 730 | + </partitioning> | ||
| 731 | + <compatible>N</compatible> | ||
| 732 | + <optimizationLevel>9</optimizationLevel> | ||
| 733 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 734 | + <jsScript_name>Script 1</jsScript_name> | ||
| 735 | + <jsScript_script>//Script here

var out_mileage; // 出场计划里程
var out_time; // 出场计划时间

if (sxx == 0) { // 上行
 out_mileage = up_out_mileage;
 out_time = up_out_timer;
} else { // sxx == 1 下行
 out_mileage = down_out_mileage;
 out_time = down_out_timer;
}



</jsScript_script> | ||
| 736 | + </jsScript> </jsScripts> <fields> <field> <name>out_mileage</name> | ||
| 737 | + <rename>out_mileage</rename> | ||
| 738 | + <type>String</type> | ||
| 739 | + <length>-1</length> | ||
| 740 | + <precision>-1</precision> | ||
| 741 | + <replace>N</replace> | ||
| 742 | + </field> <field> <name>out_time</name> | ||
| 743 | + <rename>out_time</rename> | ||
| 744 | + <type>String</type> | ||
| 745 | + <length>-1</length> | ||
| 746 | + <precision>-1</precision> | ||
| 747 | + <replace>N</replace> | ||
| 748 | + </field> </fields> <cluster_schema/> | ||
| 749 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 750 | + <xloc>336</xloc> | ||
| 751 | + <yloc>862</yloc> | ||
| 752 | + <draw>Y</draw> | ||
| 753 | + </GUI> | ||
| 754 | + </step> | ||
| 755 | + | ||
| 756 | + <step> | ||
| 757 | + <name>匹配进场班次里程时间</name> | ||
| 758 | + <type>ScriptValueMod</type> | ||
| 759 | + <description/> | ||
| 760 | + <distribute>Y</distribute> | ||
| 761 | + <custom_distribution/> | ||
| 762 | + <copies>1</copies> | ||
| 763 | + <partitioning> | ||
| 764 | + <method>none</method> | ||
| 765 | + <schema_name/> | ||
| 766 | + </partitioning> | ||
| 767 | + <compatible>N</compatible> | ||
| 768 | + <optimizationLevel>9</optimizationLevel> | ||
| 769 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 770 | + <jsScript_name>Script 1</jsScript_name> | ||
| 771 | + <jsScript_script>//Script here

var parade_mileage; // 进场计划里程
var parade_time; // 进场计划时间

if (sxx2 == 0) { // 上行
 parade_mileage = up_in_mileage;
 parade_time = up_in_timer;
} else { // sxx == 1 下行
 parade_mileage = down_in_mileage;
 parade_time = down_in_timer;
}



</jsScript_script> | ||
| 772 | + </jsScript> </jsScripts> <fields> <field> <name>parade_mileage</name> | ||
| 773 | + <rename>parade_mileage</rename> | ||
| 774 | + <type>String</type> | ||
| 775 | + <length>-1</length> | ||
| 776 | + <precision>-1</precision> | ||
| 777 | + <replace>N</replace> | ||
| 778 | + </field> <field> <name>parade_time</name> | ||
| 779 | + <rename>parade_time</rename> | ||
| 780 | + <type>String</type> | ||
| 781 | + <length>-1</length> | ||
| 782 | + <precision>-1</precision> | ||
| 783 | + <replace>N</replace> | ||
| 784 | + </field> </fields> <cluster_schema/> | ||
| 785 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 786 | + <xloc>726</xloc> | ||
| 787 | + <yloc>1005</yloc> | ||
| 788 | + <draw>Y</draw> | ||
| 789 | + </GUI> | ||
| 790 | + </step> | ||
| 791 | + | ||
| 792 | + <step> | ||
| 793 | + <name>增加时刻表名字,线路名字,停车场名字</name> | ||
| 794 | + <type>DataGrid</type> | ||
| 795 | + <description/> | ||
| 796 | + <distribute>Y</distribute> | ||
| 797 | + <custom_distribution/> | ||
| 798 | + <copies>1</copies> | ||
| 799 | + <partitioning> | ||
| 800 | + <method>none</method> | ||
| 801 | + <schema_name/> | ||
| 802 | + </partitioning> | ||
| 803 | + <fields> | ||
| 804 | + </fields> | ||
| 805 | + <data> | ||
| 806 | + <line> </line> | ||
| 807 | + </data> | ||
| 808 | + <cluster_schema/> | ||
| 809 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 810 | + <xloc>110</xloc> | ||
| 811 | + <yloc>133</yloc> | ||
| 812 | + <draw>Y</draw> | ||
| 813 | + </GUI> | ||
| 814 | + </step> | ||
| 815 | + | ||
| 816 | + <step> | ||
| 817 | + <name>处理数据</name> | ||
| 818 | + <type>ScriptValueMod</type> | ||
| 819 | + <description/> | ||
| 820 | + <distribute>Y</distribute> | ||
| 821 | + <custom_distribution/> | ||
| 822 | + <copies>1</copies> | ||
| 823 | + <partitioning> | ||
| 824 | + <method>none</method> | ||
| 825 | + <schema_name/> | ||
| 826 | + </partitioning> | ||
| 827 | + <compatible>N</compatible> | ||
| 828 | + <optimizationLevel>9</optimizationLevel> | ||
| 829 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 830 | + <jsScript_name>Script 1</jsScript_name> | ||
| 831 | + <jsScript_script>//Script here

// 使用正则表达式去除站点名称右侧多余的数字
qdzname = qdzname.replace(/(\d+$)/g,'');

// sendtime处理,hhmm,hh:mm,hh,mm
var sendtime_calcu;
if (sendtime.length == 5) { // 最长格式,包括分隔符,统一把分隔符替换成冒号
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(3, 2);
} else if (sendtime.length == 4) {
 if (sendtime.indexOf(":") > 0) { // 冒号分隔,无需修改
 sendtime_calcu = sendtime;
 } else if (sendtime.indexOf(",") > 0) { // 逗号分隔,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(2, 2);
 } else { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 2) + ":" + sendtime.substr(2, 2);
 }
} else if (sendtime.length == 3) { // 无分隔符,改成冒号分隔
 sendtime_calcu = sendtime.substr(0, 1) + ":" + sendtime.substr(1, 2);
}

// 设置分班
var isfb = 0;

// 设置停驶
var ists = 0;

// 设置isCanceled
var iscanceled = 0;</jsScript_script> | ||
| 832 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname</name> | ||
| 833 | + <rename>qdzname</rename> | ||
| 834 | + <type>String</type> | ||
| 835 | + <length>-1</length> | ||
| 836 | + <precision>-1</precision> | ||
| 837 | + <replace>Y</replace> | ||
| 838 | + </field> <field> <name>isfb</name> | ||
| 839 | + <rename>isfb</rename> | ||
| 840 | + <type>Integer</type> | ||
| 841 | + <length>-1</length> | ||
| 842 | + <precision>-1</precision> | ||
| 843 | + <replace>N</replace> | ||
| 844 | + </field> <field> <name>iscanceled</name> | ||
| 845 | + <rename>iscanceled</rename> | ||
| 846 | + <type>Integer</type> | ||
| 847 | + <length>-1</length> | ||
| 848 | + <precision>-1</precision> | ||
| 849 | + <replace>N</replace> | ||
| 850 | + </field> <field> <name>sendtime_calcu</name> | ||
| 851 | + <rename>sendtime_calcu</rename> | ||
| 852 | + <type>String</type> | ||
| 853 | + <length>-1</length> | ||
| 854 | + <precision>-1</precision> | ||
| 855 | + <replace>N</replace> | ||
| 856 | + </field> <field> <name>ists</name> | ||
| 857 | + <rename>ists</rename> | ||
| 858 | + <type>Integer</type> | ||
| 859 | + <length>-1</length> | ||
| 860 | + <precision>-1</precision> | ||
| 861 | + <replace>N</replace> | ||
| 862 | + </field> </fields> <cluster_schema/> | ||
| 863 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 864 | + <xloc>788</xloc> | ||
| 865 | + <yloc>44</yloc> | ||
| 866 | + <draw>Y</draw> | ||
| 867 | + </GUI> | ||
| 868 | + </step> | ||
| 869 | + | ||
| 870 | + <step> | ||
| 871 | + <name>字段选择</name> | ||
| 872 | + <type>SelectValues</type> | ||
| 873 | + <description/> | ||
| 874 | + <distribute>Y</distribute> | ||
| 875 | + <custom_distribution/> | ||
| 876 | + <copies>1</copies> | ||
| 877 | + <partitioning> | ||
| 878 | + <method>none</method> | ||
| 879 | + <schema_name/> | ||
| 880 | + </partitioning> | ||
| 881 | + <fields> <field> <name>路牌</name> | ||
| 882 | + <rename>lp</rename> | ||
| 883 | + <length>-2</length> | ||
| 884 | + <precision>-2</precision> | ||
| 885 | + </field> <field> <name>站点名称</name> | ||
| 886 | + <rename>qdzname</rename> | ||
| 887 | + <length>-2</length> | ||
| 888 | + <precision>-2</precision> | ||
| 889 | + </field> <field> <name>发车时间</name> | ||
| 890 | + <rename>sendtime</rename> | ||
| 891 | + <length>-2</length> | ||
| 892 | + <precision>-2</precision> | ||
| 893 | + </field> <select_unspecified>Y</select_unspecified> | ||
| 894 | + </fields> <cluster_schema/> | ||
| 895 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 896 | + <xloc>444</xloc> | ||
| 897 | + <yloc>131</yloc> | ||
| 898 | + <draw>Y</draw> | ||
| 899 | + </GUI> | ||
| 900 | + </step> | ||
| 901 | + | ||
| 902 | + <step> | ||
| 903 | + <name>按照班次类型过滤数据1</name> | ||
| 904 | + <type>FilterRows</type> | ||
| 905 | + <description/> | ||
| 906 | + <distribute>Y</distribute> | ||
| 907 | + <custom_distribution/> | ||
| 908 | + <copies>1</copies> | ||
| 909 | + <partitioning> | ||
| 910 | + <method>none</method> | ||
| 911 | + <schema_name/> | ||
| 912 | + </partitioning> | ||
| 913 | +<send_true_to>正常班次数据</send_true_to> | ||
| 914 | +<send_false_to>按照班次类型过滤数据2</send_false_to> | ||
| 915 | + <compare> | ||
| 916 | +<condition> | ||
| 917 | + <negated>N</negated> | ||
| 918 | + <leftvalue>bctype</leftvalue> | ||
| 919 | + <function>=</function> | ||
| 920 | + <rightvalue/> | ||
| 921 | + <value><name>constant</name><type>String</type><text>正常班次</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 922 | + </compare> | ||
| 923 | + <cluster_schema/> | ||
| 924 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 925 | + <xloc>860</xloc> | ||
| 926 | + <yloc>401</yloc> | ||
| 927 | + <draw>Y</draw> | ||
| 928 | + </GUI> | ||
| 929 | + </step> | ||
| 930 | + | ||
| 931 | + <step> | ||
| 932 | + <name>按照班次类型过滤数据2</name> | ||
| 933 | + <type>FilterRows</type> | ||
| 934 | + <description/> | ||
| 935 | + <distribute>Y</distribute> | ||
| 936 | + <custom_distribution/> | ||
| 937 | + <copies>1</copies> | ||
| 938 | + <partitioning> | ||
| 939 | + <method>none</method> | ||
| 940 | + <schema_name/> | ||
| 941 | + </partitioning> | ||
| 942 | +<send_true_to>出场班次数据</send_true_to> | ||
| 943 | +<send_false_to>进场班次数据</send_false_to> | ||
| 944 | + <compare> | ||
| 945 | +<condition> | ||
| 946 | + <negated>N</negated> | ||
| 947 | + <leftvalue>bctype</leftvalue> | ||
| 948 | + <function>=</function> | ||
| 949 | + <rightvalue/> | ||
| 950 | + <value><name>constant</name><type>String</type><text>出场</text><length>-1</length><precision>-1</precision><isnull>N</isnull><mask/></value> </condition> | ||
| 951 | + </compare> | ||
| 952 | + <cluster_schema/> | ||
| 953 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 954 | + <xloc>995</xloc> | ||
| 955 | + <yloc>503</yloc> | ||
| 956 | + <draw>Y</draw> | ||
| 957 | + </GUI> | ||
| 958 | + </step> | ||
| 959 | + | ||
| 960 | + <step> | ||
| 961 | + <name>插入/更新bsth_c_s_ttinfo_detail</name> | ||
| 962 | + <type>InsertUpdate</type> | ||
| 963 | + <description/> | ||
| 964 | + <distribute>Y</distribute> | ||
| 965 | + <custom_distribution/> | ||
| 966 | + <copies>1</copies> | ||
| 967 | + <partitioning> | ||
| 968 | + <method>none</method> | ||
| 969 | + <schema_name/> | ||
| 970 | + </partitioning> | ||
| 971 | + <connection>bus_control_variable</connection> | ||
| 972 | + <commit>100</commit> | ||
| 973 | + <update_bypassed>N</update_bypassed> | ||
| 974 | + <lookup> | ||
| 975 | + <schema/> | ||
| 976 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 977 | + <key> | ||
| 978 | + <name>xlid</name> | ||
| 979 | + <field>xl</field> | ||
| 980 | + <condition>=</condition> | ||
| 981 | + <name2/> | ||
| 982 | + </key> | ||
| 983 | + <key> | ||
| 984 | + <name>ttid</name> | ||
| 985 | + <field>ttinfo</field> | ||
| 986 | + <condition>=</condition> | ||
| 987 | + <name2/> | ||
| 988 | + </key> | ||
| 989 | + <key> | ||
| 990 | + <name>lpid</name> | ||
| 991 | + <field>lp</field> | ||
| 992 | + <condition>=</condition> | ||
| 993 | + <name2/> | ||
| 994 | + </key> | ||
| 995 | + <key> | ||
| 996 | + <name>fcno</name> | ||
| 997 | + <field>fcno</field> | ||
| 998 | + <condition>=</condition> | ||
| 999 | + <name2/> | ||
| 1000 | + </key> | ||
| 1001 | + <key> | ||
| 1002 | + <name>bcs</name> | ||
| 1003 | + <field>bcs</field> | ||
| 1004 | + <condition>=</condition> | ||
| 1005 | + <name2/> | ||
| 1006 | + </key> | ||
| 1007 | + <value> | ||
| 1008 | + <name>lp</name> | ||
| 1009 | + <rename>lpid</rename> | ||
| 1010 | + <update>Y</update> | ||
| 1011 | + </value> | ||
| 1012 | + <value> | ||
| 1013 | + <name>bc_type</name> | ||
| 1014 | + <rename>bctype_code</rename> | ||
| 1015 | + <update>Y</update> | ||
| 1016 | + </value> | ||
| 1017 | + <value> | ||
| 1018 | + <name>bcs</name> | ||
| 1019 | + <rename>bcs</rename> | ||
| 1020 | + <update>Y</update> | ||
| 1021 | + </value> | ||
| 1022 | + <value> | ||
| 1023 | + <name>bcsj</name> | ||
| 1024 | + <rename>bcsj</rename> | ||
| 1025 | + <update>Y</update> | ||
| 1026 | + </value> | ||
| 1027 | + <value> | ||
| 1028 | + <name>fcno</name> | ||
| 1029 | + <rename>fcno</rename> | ||
| 1030 | + <update>Y</update> | ||
| 1031 | + </value> | ||
| 1032 | + <value> | ||
| 1033 | + <name>jhlc</name> | ||
| 1034 | + <rename>jhlc</rename> | ||
| 1035 | + <update>Y</update> | ||
| 1036 | + </value> | ||
| 1037 | + <value> | ||
| 1038 | + <name>fcsj</name> | ||
| 1039 | + <rename>sendtime_calcu</rename> | ||
| 1040 | + <update>Y</update> | ||
| 1041 | + </value> | ||
| 1042 | + <value> | ||
| 1043 | + <name>ttinfo</name> | ||
| 1044 | + <rename>ttid</rename> | ||
| 1045 | + <update>Y</update> | ||
| 1046 | + </value> | ||
| 1047 | + <value> | ||
| 1048 | + <name>xl</name> | ||
| 1049 | + <rename>xlid</rename> | ||
| 1050 | + <update>Y</update> | ||
| 1051 | + </value> | ||
| 1052 | + <value> | ||
| 1053 | + <name>qdz</name> | ||
| 1054 | + <rename>qdzid</rename> | ||
| 1055 | + <update>Y</update> | ||
| 1056 | + </value> | ||
| 1057 | + <value> | ||
| 1058 | + <name>zdz</name> | ||
| 1059 | + <rename>zdzid</rename> | ||
| 1060 | + <update>Y</update> | ||
| 1061 | + </value> | ||
| 1062 | + <value> | ||
| 1063 | + <name>xl_dir</name> | ||
| 1064 | + <rename>sxx</rename> | ||
| 1065 | + <update>Y</update> | ||
| 1066 | + </value> | ||
| 1067 | + <value> | ||
| 1068 | + <name>isfb</name> | ||
| 1069 | + <rename>isfb</rename> | ||
| 1070 | + <update>Y</update> | ||
| 1071 | + </value> | ||
| 1072 | + <value> | ||
| 1073 | + <name>qdz_code</name> | ||
| 1074 | + <rename>qdzcode</rename> | ||
| 1075 | + <update>Y</update> | ||
| 1076 | + </value> | ||
| 1077 | + <value> | ||
| 1078 | + <name>qdz_name</name> | ||
| 1079 | + <rename>qdzname</rename> | ||
| 1080 | + <update>Y</update> | ||
| 1081 | + </value> | ||
| 1082 | + <value> | ||
| 1083 | + <name>zdz_code</name> | ||
| 1084 | + <rename>zdzcode</rename> | ||
| 1085 | + <update>Y</update> | ||
| 1086 | + </value> | ||
| 1087 | + <value> | ||
| 1088 | + <name>zdz_name</name> | ||
| 1089 | + <rename>zdzname</rename> | ||
| 1090 | + <update>Y</update> | ||
| 1091 | + </value> | ||
| 1092 | + <value> | ||
| 1093 | + <name>ists</name> | ||
| 1094 | + <rename>ists</rename> | ||
| 1095 | + <update>Y</update> | ||
| 1096 | + </value> | ||
| 1097 | + </lookup> | ||
| 1098 | + <cluster_schema/> | ||
| 1099 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1100 | + <xloc>143</xloc> | ||
| 1101 | + <yloc>860</yloc> | ||
| 1102 | + <draw>Y</draw> | ||
| 1103 | + </GUI> | ||
| 1104 | + </step> | ||
| 1105 | + | ||
| 1106 | + <step> | ||
| 1107 | + <name>插入/更新bsth_c_s_ttinfo_detail 2</name> | ||
| 1108 | + <type>InsertUpdate</type> | ||
| 1109 | + <description/> | ||
| 1110 | + <distribute>Y</distribute> | ||
| 1111 | + <custom_distribution/> | ||
| 1112 | + <copies>1</copies> | ||
| 1113 | + <partitioning> | ||
| 1114 | + <method>none</method> | ||
| 1115 | + <schema_name/> | ||
| 1116 | + </partitioning> | ||
| 1117 | + <connection>bus_control_variable</connection> | ||
| 1118 | + <commit>100</commit> | ||
| 1119 | + <update_bypassed>N</update_bypassed> | ||
| 1120 | + <lookup> | ||
| 1121 | + <schema/> | ||
| 1122 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 1123 | + <key> | ||
| 1124 | + <name>xlid</name> | ||
| 1125 | + <field>xl</field> | ||
| 1126 | + <condition>=</condition> | ||
| 1127 | + <name2/> | ||
| 1128 | + </key> | ||
| 1129 | + <key> | ||
| 1130 | + <name>ttid</name> | ||
| 1131 | + <field>ttinfo</field> | ||
| 1132 | + <condition>=</condition> | ||
| 1133 | + <name2/> | ||
| 1134 | + </key> | ||
| 1135 | + <key> | ||
| 1136 | + <name>lpid</name> | ||
| 1137 | + <field>lp</field> | ||
| 1138 | + <condition>=</condition> | ||
| 1139 | + <name2/> | ||
| 1140 | + </key> | ||
| 1141 | + <key> | ||
| 1142 | + <name>fcno</name> | ||
| 1143 | + <field>fcno</field> | ||
| 1144 | + <condition>=</condition> | ||
| 1145 | + <name2/> | ||
| 1146 | + </key> | ||
| 1147 | + <key> | ||
| 1148 | + <name>bcs</name> | ||
| 1149 | + <field>bcs</field> | ||
| 1150 | + <condition>=</condition> | ||
| 1151 | + <name2/> | ||
| 1152 | + </key> | ||
| 1153 | + <value> | ||
| 1154 | + <name>tcc</name> | ||
| 1155 | + <rename>qdzid</rename> | ||
| 1156 | + <update>Y</update> | ||
| 1157 | + </value> | ||
| 1158 | + <value> | ||
| 1159 | + <name>zdz</name> | ||
| 1160 | + <rename>zdzid</rename> | ||
| 1161 | + <update>Y</update> | ||
| 1162 | + </value> | ||
| 1163 | + <value> | ||
| 1164 | + <name>xl</name> | ||
| 1165 | + <rename>xlid</rename> | ||
| 1166 | + <update>Y</update> | ||
| 1167 | + </value> | ||
| 1168 | + <value> | ||
| 1169 | + <name>ttinfo</name> | ||
| 1170 | + <rename>ttid</rename> | ||
| 1171 | + <update>Y</update> | ||
| 1172 | + </value> | ||
| 1173 | + <value> | ||
| 1174 | + <name>xl_dir</name> | ||
| 1175 | + <rename>sxx</rename> | ||
| 1176 | + <update>Y</update> | ||
| 1177 | + </value> | ||
| 1178 | + <value> | ||
| 1179 | + <name>lp</name> | ||
| 1180 | + <rename>lpid</rename> | ||
| 1181 | + <update>Y</update> | ||
| 1182 | + </value> | ||
| 1183 | + <value> | ||
| 1184 | + <name>jhlc</name> | ||
| 1185 | + <rename>out_mileage</rename> | ||
| 1186 | + <update>Y</update> | ||
| 1187 | + </value> | ||
| 1188 | + <value> | ||
| 1189 | + <name>fcsj</name> | ||
| 1190 | + <rename>sendtime_calcu</rename> | ||
| 1191 | + <update>Y</update> | ||
| 1192 | + </value> | ||
| 1193 | + <value> | ||
| 1194 | + <name>bcsj</name> | ||
| 1195 | + <rename>out_time</rename> | ||
| 1196 | + <update>Y</update> | ||
| 1197 | + </value> | ||
| 1198 | + <value> | ||
| 1199 | + <name>bcs</name> | ||
| 1200 | + <rename>bcs</rename> | ||
| 1201 | + <update>Y</update> | ||
| 1202 | + </value> | ||
| 1203 | + <value> | ||
| 1204 | + <name>fcno</name> | ||
| 1205 | + <rename>fcno</rename> | ||
| 1206 | + <update>Y</update> | ||
| 1207 | + </value> | ||
| 1208 | + <value> | ||
| 1209 | + <name>bc_type</name> | ||
| 1210 | + <rename>bctype_code</rename> | ||
| 1211 | + <update>Y</update> | ||
| 1212 | + </value> | ||
| 1213 | + <value> | ||
| 1214 | + <name>isfb</name> | ||
| 1215 | + <rename>isfb</rename> | ||
| 1216 | + <update>Y</update> | ||
| 1217 | + </value> | ||
| 1218 | + <value> | ||
| 1219 | + <name>qdz_code</name> | ||
| 1220 | + <rename>qdzcode</rename> | ||
| 1221 | + <update>Y</update> | ||
| 1222 | + </value> | ||
| 1223 | + <value> | ||
| 1224 | + <name>qdz_name</name> | ||
| 1225 | + <rename>tn</rename> | ||
| 1226 | + <update>Y</update> | ||
| 1227 | + </value> | ||
| 1228 | + <value> | ||
| 1229 | + <name>zdz_code</name> | ||
| 1230 | + <rename>zdzcode</rename> | ||
| 1231 | + <update>Y</update> | ||
| 1232 | + </value> | ||
| 1233 | + <value> | ||
| 1234 | + <name>zdz_name</name> | ||
| 1235 | + <rename>zdzname</rename> | ||
| 1236 | + <update>Y</update> | ||
| 1237 | + </value> | ||
| 1238 | + <value> | ||
| 1239 | + <name>ists</name> | ||
| 1240 | + <rename>ists</rename> | ||
| 1241 | + <update>Y</update> | ||
| 1242 | + </value> | ||
| 1243 | + </lookup> | ||
| 1244 | + <cluster_schema/> | ||
| 1245 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1246 | + <xloc>340</xloc> | ||
| 1247 | + <yloc>1087</yloc> | ||
| 1248 | + <draw>Y</draw> | ||
| 1249 | + </GUI> | ||
| 1250 | + </step> | ||
| 1251 | + | ||
| 1252 | + <step> | ||
| 1253 | + <name>插入/更新bsth_c_s_ttinfo_detail 3</name> | ||
| 1254 | + <type>InsertUpdate</type> | ||
| 1255 | + <description/> | ||
| 1256 | + <distribute>Y</distribute> | ||
| 1257 | + <custom_distribution/> | ||
| 1258 | + <copies>1</copies> | ||
| 1259 | + <partitioning> | ||
| 1260 | + <method>none</method> | ||
| 1261 | + <schema_name/> | ||
| 1262 | + </partitioning> | ||
| 1263 | + <connection>bus_control_variable</connection> | ||
| 1264 | + <commit>100</commit> | ||
| 1265 | + <update_bypassed>N</update_bypassed> | ||
| 1266 | + <lookup> | ||
| 1267 | + <schema/> | ||
| 1268 | + <table>bsth_c_s_ttinfo_detail</table> | ||
| 1269 | + <key> | ||
| 1270 | + <name>xlid</name> | ||
| 1271 | + <field>xl</field> | ||
| 1272 | + <condition>=</condition> | ||
| 1273 | + <name2/> | ||
| 1274 | + </key> | ||
| 1275 | + <key> | ||
| 1276 | + <name>ttid</name> | ||
| 1277 | + <field>ttinfo</field> | ||
| 1278 | + <condition>=</condition> | ||
| 1279 | + <name2/> | ||
| 1280 | + </key> | ||
| 1281 | + <key> | ||
| 1282 | + <name>lpid</name> | ||
| 1283 | + <field>lp</field> | ||
| 1284 | + <condition>=</condition> | ||
| 1285 | + <name2/> | ||
| 1286 | + </key> | ||
| 1287 | + <key> | ||
| 1288 | + <name>fcno</name> | ||
| 1289 | + <field>fcno</field> | ||
| 1290 | + <condition>=</condition> | ||
| 1291 | + <name2/> | ||
| 1292 | + </key> | ||
| 1293 | + <key> | ||
| 1294 | + <name>bcs</name> | ||
| 1295 | + <field>bcs</field> | ||
| 1296 | + <condition>=</condition> | ||
| 1297 | + <name2/> | ||
| 1298 | + </key> | ||
| 1299 | + <value> | ||
| 1300 | + <name>fcno</name> | ||
| 1301 | + <rename>fcno</rename> | ||
| 1302 | + <update>Y</update> | ||
| 1303 | + </value> | ||
| 1304 | + <value> | ||
| 1305 | + <name>bcs</name> | ||
| 1306 | + <rename>bcs</rename> | ||
| 1307 | + <update>Y</update> | ||
| 1308 | + </value> | ||
| 1309 | + <value> | ||
| 1310 | + <name>xl</name> | ||
| 1311 | + <rename>xlid</rename> | ||
| 1312 | + <update>Y</update> | ||
| 1313 | + </value> | ||
| 1314 | + <value> | ||
| 1315 | + <name>ttinfo</name> | ||
| 1316 | + <rename>ttid</rename> | ||
| 1317 | + <update>Y</update> | ||
| 1318 | + </value> | ||
| 1319 | + <value> | ||
| 1320 | + <name>lp</name> | ||
| 1321 | + <rename>lpid</rename> | ||
| 1322 | + <update>Y</update> | ||
| 1323 | + </value> | ||
| 1324 | + <value> | ||
| 1325 | + <name>bc_type</name> | ||
| 1326 | + <rename>bctype_code</rename> | ||
| 1327 | + <update>Y</update> | ||
| 1328 | + </value> | ||
| 1329 | + <value> | ||
| 1330 | + <name>bcsj</name> | ||
| 1331 | + <rename>parade_time</rename> | ||
| 1332 | + <update>Y</update> | ||
| 1333 | + </value> | ||
| 1334 | + <value> | ||
| 1335 | + <name>jhlc</name> | ||
| 1336 | + <rename>parade_mileage</rename> | ||
| 1337 | + <update>Y</update> | ||
| 1338 | + </value> | ||
| 1339 | + <value> | ||
| 1340 | + <name>fcsj</name> | ||
| 1341 | + <rename>sendtime_calcu</rename> | ||
| 1342 | + <update>Y</update> | ||
| 1343 | + </value> | ||
| 1344 | + <value> | ||
| 1345 | + <name>xl_dir</name> | ||
| 1346 | + <rename>sxx2</rename> | ||
| 1347 | + <update>Y</update> | ||
| 1348 | + </value> | ||
| 1349 | + <value> | ||
| 1350 | + <name>qdz</name> | ||
| 1351 | + <rename>qdzid</rename> | ||
| 1352 | + <update>Y</update> | ||
| 1353 | + </value> | ||
| 1354 | + <value> | ||
| 1355 | + <name>tcc</name> | ||
| 1356 | + <rename>zdzid</rename> | ||
| 1357 | + <update>Y</update> | ||
| 1358 | + </value> | ||
| 1359 | + <value> | ||
| 1360 | + <name>isfb</name> | ||
| 1361 | + <rename>isfb</rename> | ||
| 1362 | + <update>Y</update> | ||
| 1363 | + </value> | ||
| 1364 | + <value> | ||
| 1365 | + <name>qdz_code</name> | ||
| 1366 | + <rename>qdzcode</rename> | ||
| 1367 | + <update>Y</update> | ||
| 1368 | + </value> | ||
| 1369 | + <value> | ||
| 1370 | + <name>qdz_name</name> | ||
| 1371 | + <rename>qname</rename> | ||
| 1372 | + <update>Y</update> | ||
| 1373 | + </value> | ||
| 1374 | + <value> | ||
| 1375 | + <name>zdz_code</name> | ||
| 1376 | + <rename>zdzcode</rename> | ||
| 1377 | + <update>Y</update> | ||
| 1378 | + </value> | ||
| 1379 | + <value> | ||
| 1380 | + <name>zdz_name</name> | ||
| 1381 | + <rename>tn</rename> | ||
| 1382 | + <update>Y</update> | ||
| 1383 | + </value> | ||
| 1384 | + <value> | ||
| 1385 | + <name>ists</name> | ||
| 1386 | + <rename>ists</rename> | ||
| 1387 | + <update>Y</update> | ||
| 1388 | + </value> | ||
| 1389 | + </lookup> | ||
| 1390 | + <cluster_schema/> | ||
| 1391 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1392 | + <xloc>845</xloc> | ||
| 1393 | + <yloc>899</yloc> | ||
| 1394 | + <draw>Y</draw> | ||
| 1395 | + </GUI> | ||
| 1396 | + </step> | ||
| 1397 | + | ||
| 1398 | + <step> | ||
| 1399 | + <name>时刻表明细信息Excel输入</name> | ||
| 1400 | + <type>ExcelInput</type> | ||
| 1401 | + <description/> | ||
| 1402 | + <distribute>N</distribute> | ||
| 1403 | + <custom_distribution/> | ||
| 1404 | + <copies>1</copies> | ||
| 1405 | + <partitioning> | ||
| 1406 | + <method>none</method> | ||
| 1407 | + <schema_name/> | ||
| 1408 | + </partitioning> | ||
| 1409 | + <header>Y</header> | ||
| 1410 | + <noempty>Y</noempty> | ||
| 1411 | + <stoponempty>N</stoponempty> | ||
| 1412 | + <filefield/> | ||
| 1413 | + <sheetfield/> | ||
| 1414 | + <sheetrownumfield/> | ||
| 1415 | + <rownumfield/> | ||
| 1416 | + <sheetfield/> | ||
| 1417 | + <filefield/> | ||
| 1418 | + <limit>0</limit> | ||
| 1419 | + <encoding/> | ||
| 1420 | + <add_to_result_filenames>Y</add_to_result_filenames> | ||
| 1421 | + <accept_filenames>N</accept_filenames> | ||
| 1422 | + <accept_field/> | ||
| 1423 | + <accept_stepname/> | ||
| 1424 | + <file> | ||
| 1425 | + <name/> | ||
| 1426 | + <filemask/> | ||
| 1427 | + <exclude_filemask/> | ||
| 1428 | + <file_required>N</file_required> | ||
| 1429 | + <include_subfolders>N</include_subfolders> | ||
| 1430 | + </file> | ||
| 1431 | + <fields> | ||
| 1432 | + </fields> | ||
| 1433 | + <sheets> | ||
| 1434 | + <sheet> | ||
| 1435 | + <name/> | ||
| 1436 | + <startrow>0</startrow> | ||
| 1437 | + <startcol>0</startcol> | ||
| 1438 | + </sheet> | ||
| 1439 | + </sheets> | ||
| 1440 | + <strict_types>N</strict_types> | ||
| 1441 | + <error_ignored>N</error_ignored> | ||
| 1442 | + <error_line_skipped>N</error_line_skipped> | ||
| 1443 | + <bad_line_files_destination_directory/> | ||
| 1444 | + <bad_line_files_extension>warning</bad_line_files_extension> | ||
| 1445 | + <error_line_files_destination_directory/> | ||
| 1446 | + <error_line_files_extension>error</error_line_files_extension> | ||
| 1447 | + <line_number_files_destination_directory/> | ||
| 1448 | + <line_number_files_extension>line</line_number_files_extension> | ||
| 1449 | + <shortFileFieldName/> | ||
| 1450 | + <pathFieldName/> | ||
| 1451 | + <hiddenFieldName/> | ||
| 1452 | + <lastModificationTimeFieldName/> | ||
| 1453 | + <uriNameFieldName/> | ||
| 1454 | + <rootUriNameFieldName/> | ||
| 1455 | + <extensionFieldName/> | ||
| 1456 | + <sizeFieldName/> | ||
| 1457 | + <spreadsheet_type>JXL</spreadsheet_type> | ||
| 1458 | + <cluster_schema/> | ||
| 1459 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1460 | + <xloc>112</xloc> | ||
| 1461 | + <yloc>44</yloc> | ||
| 1462 | + <draw>Y</draw> | ||
| 1463 | + </GUI> | ||
| 1464 | + </step> | ||
| 1465 | + | ||
| 1466 | + <step> | ||
| 1467 | + <name>查找停车场1</name> | ||
| 1468 | + <type>DBLookup</type> | ||
| 1469 | + <description/> | ||
| 1470 | + <distribute>Y</distribute> | ||
| 1471 | + <custom_distribution/> | ||
| 1472 | + <copies>1</copies> | ||
| 1473 | + <partitioning> | ||
| 1474 | + <method>none</method> | ||
| 1475 | + <schema_name/> | ||
| 1476 | + </partitioning> | ||
| 1477 | + <connection>bus_control_variable</connection> | ||
| 1478 | + <cache>N</cache> | ||
| 1479 | + <cache_load_all>N</cache_load_all> | ||
| 1480 | + <cache_size>0</cache_size> | ||
| 1481 | + <lookup> | ||
| 1482 | + <schema/> | ||
| 1483 | + <table>bsth_c_car_park</table> | ||
| 1484 | + <orderby/> | ||
| 1485 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1486 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1487 | + <key> | ||
| 1488 | + <name>tccname_</name> | ||
| 1489 | + <field>park_name</field> | ||
| 1490 | + <condition>=</condition> | ||
| 1491 | + <name2/> | ||
| 1492 | + </key> | ||
| 1493 | + <value> | ||
| 1494 | + <name>id</name> | ||
| 1495 | + <rename>qdzid</rename> | ||
| 1496 | + <default/> | ||
| 1497 | + <type>Integer</type> | ||
| 1498 | + </value> | ||
| 1499 | + <value> | ||
| 1500 | + <name>park_code</name> | ||
| 1501 | + <rename>qdzcode</rename> | ||
| 1502 | + <default/> | ||
| 1503 | + <type>String</type> | ||
| 1504 | + </value> | ||
| 1505 | + <value> | ||
| 1506 | + <name>park_name</name> | ||
| 1507 | + <rename>tn</rename> | ||
| 1508 | + <default/> | ||
| 1509 | + <type>String</type> | ||
| 1510 | + </value> | ||
| 1511 | + </lookup> | ||
| 1512 | + <cluster_schema/> | ||
| 1513 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1514 | + <xloc>755</xloc> | ||
| 1515 | + <yloc>504</yloc> | ||
| 1516 | + <draw>Y</draw> | ||
| 1517 | + </GUI> | ||
| 1518 | + </step> | ||
| 1519 | + | ||
| 1520 | + <step> | ||
| 1521 | + <name>查找停车场2</name> | ||
| 1522 | + <type>DBLookup</type> | ||
| 1523 | + <description/> | ||
| 1524 | + <distribute>Y</distribute> | ||
| 1525 | + <custom_distribution/> | ||
| 1526 | + <copies>1</copies> | ||
| 1527 | + <partitioning> | ||
| 1528 | + <method>none</method> | ||
| 1529 | + <schema_name/> | ||
| 1530 | + </partitioning> | ||
| 1531 | + <connection>bus_control_variable</connection> | ||
| 1532 | + <cache>N</cache> | ||
| 1533 | + <cache_load_all>N</cache_load_all> | ||
| 1534 | + <cache_size>0</cache_size> | ||
| 1535 | + <lookup> | ||
| 1536 | + <schema/> | ||
| 1537 | + <table>bsth_c_car_park</table> | ||
| 1538 | + <orderby/> | ||
| 1539 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1540 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1541 | + <key> | ||
| 1542 | + <name>tccname_</name> | ||
| 1543 | + <field>park_name</field> | ||
| 1544 | + <condition>=</condition> | ||
| 1545 | + <name2/> | ||
| 1546 | + </key> | ||
| 1547 | + <value> | ||
| 1548 | + <name>id</name> | ||
| 1549 | + <rename>zdzid</rename> | ||
| 1550 | + <default/> | ||
| 1551 | + <type>Integer</type> | ||
| 1552 | + </value> | ||
| 1553 | + <value> | ||
| 1554 | + <name>park_code</name> | ||
| 1555 | + <rename>zdzcode</rename> | ||
| 1556 | + <default/> | ||
| 1557 | + <type>String</type> | ||
| 1558 | + </value> | ||
| 1559 | + <value> | ||
| 1560 | + <name>park_name</name> | ||
| 1561 | + <rename>tn</rename> | ||
| 1562 | + <default/> | ||
| 1563 | + <type>String</type> | ||
| 1564 | + </value> | ||
| 1565 | + </lookup> | ||
| 1566 | + <cluster_schema/> | ||
| 1567 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1568 | + <xloc>887</xloc> | ||
| 1569 | + <yloc>608</yloc> | ||
| 1570 | + <draw>Y</draw> | ||
| 1571 | + </GUI> | ||
| 1572 | + </step> | ||
| 1573 | + | ||
| 1574 | + <step> | ||
| 1575 | + <name>查找出场终点站关联并确定上下行</name> | ||
| 1576 | + <type>DBLookup</type> | ||
| 1577 | + <description/> | ||
| 1578 | + <distribute>Y</distribute> | ||
| 1579 | + <custom_distribution/> | ||
| 1580 | + <copies>1</copies> | ||
| 1581 | + <partitioning> | ||
| 1582 | + <method>none</method> | ||
| 1583 | + <schema_name/> | ||
| 1584 | + </partitioning> | ||
| 1585 | + <connection>bus_control_variable</connection> | ||
| 1586 | + <cache>N</cache> | ||
| 1587 | + <cache_load_all>N</cache_load_all> | ||
| 1588 | + <cache_size>0</cache_size> | ||
| 1589 | + <lookup> | ||
| 1590 | + <schema/> | ||
| 1591 | + <table>bsth_c_stationroute</table> | ||
| 1592 | + <orderby/> | ||
| 1593 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1594 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1595 | + <key> | ||
| 1596 | + <name>xlid</name> | ||
| 1597 | + <field>line</field> | ||
| 1598 | + <condition>=</condition> | ||
| 1599 | + <name2/> | ||
| 1600 | + </key> | ||
| 1601 | + <key> | ||
| 1602 | + <name>zdzname</name> | ||
| 1603 | + <field>station_name</field> | ||
| 1604 | + <condition>=</condition> | ||
| 1605 | + <name2/> | ||
| 1606 | + </key> | ||
| 1607 | + <key> | ||
| 1608 | + <name>endZdtype</name> | ||
| 1609 | + <field>station_mark</field> | ||
| 1610 | + <condition>=</condition> | ||
| 1611 | + <name2/> | ||
| 1612 | + </key> | ||
| 1613 | + <key> | ||
| 1614 | + <name>destory</name> | ||
| 1615 | + <field>destroy</field> | ||
| 1616 | + <condition>=</condition> | ||
| 1617 | + <name2/> | ||
| 1618 | + </key> | ||
| 1619 | + <value> | ||
| 1620 | + <name>station</name> | ||
| 1621 | + <rename>zdzid</rename> | ||
| 1622 | + <default/> | ||
| 1623 | + <type>Integer</type> | ||
| 1624 | + </value> | ||
| 1625 | + <value> | ||
| 1626 | + <name>directions</name> | ||
| 1627 | + <rename>sxx</rename> | ||
| 1628 | + <default/> | ||
| 1629 | + <type>Integer</type> | ||
| 1630 | + </value> | ||
| 1631 | + <value> | ||
| 1632 | + <name>station_code</name> | ||
| 1633 | + <rename>zdzcode</rename> | ||
| 1634 | + <default/> | ||
| 1635 | + <type>String</type> | ||
| 1636 | + </value> | ||
| 1637 | + </lookup> | ||
| 1638 | + <cluster_schema/> | ||
| 1639 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1640 | + <xloc>329</xloc> | ||
| 1641 | + <yloc>505</yloc> | ||
| 1642 | + <draw>Y</draw> | ||
| 1643 | + </GUI> | ||
| 1644 | + </step> | ||
| 1645 | + | ||
| 1646 | + <step> | ||
| 1647 | + <name>查找所有线路上下行里程时间</name> | ||
| 1648 | + <type>DBLookup</type> | ||
| 1649 | + <description/> | ||
| 1650 | + <distribute>Y</distribute> | ||
| 1651 | + <custom_distribution/> | ||
| 1652 | + <copies>1</copies> | ||
| 1653 | + <partitioning> | ||
| 1654 | + <method>none</method> | ||
| 1655 | + <schema_name/> | ||
| 1656 | + </partitioning> | ||
| 1657 | + <connection>bus_control_variable</connection> | ||
| 1658 | + <cache>N</cache> | ||
| 1659 | + <cache_load_all>N</cache_load_all> | ||
| 1660 | + <cache_size>0</cache_size> | ||
| 1661 | + <lookup> | ||
| 1662 | + <schema/> | ||
| 1663 | + <table>bsth_c_line_information</table> | ||
| 1664 | + <orderby/> | ||
| 1665 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1666 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1667 | + <key> | ||
| 1668 | + <name>xlid</name> | ||
| 1669 | + <field>line</field> | ||
| 1670 | + <condition>=</condition> | ||
| 1671 | + <name2/> | ||
| 1672 | + </key> | ||
| 1673 | + <value> | ||
| 1674 | + <name>up_mileage</name> | ||
| 1675 | + <rename>up_mileage</rename> | ||
| 1676 | + <default/> | ||
| 1677 | + <type>Number</type> | ||
| 1678 | + </value> | ||
| 1679 | + <value> | ||
| 1680 | + <name>down_mileage</name> | ||
| 1681 | + <rename>down_mileage</rename> | ||
| 1682 | + <default/> | ||
| 1683 | + <type>Number</type> | ||
| 1684 | + </value> | ||
| 1685 | + <value> | ||
| 1686 | + <name>up_travel_time</name> | ||
| 1687 | + <rename>up_travel_time</rename> | ||
| 1688 | + <default/> | ||
| 1689 | + <type>Number</type> | ||
| 1690 | + </value> | ||
| 1691 | + <value> | ||
| 1692 | + <name>down_travel_time</name> | ||
| 1693 | + <rename>down_travel_time</rename> | ||
| 1694 | + <default/> | ||
| 1695 | + <type>Number</type> | ||
| 1696 | + </value> | ||
| 1697 | + <value> | ||
| 1698 | + <name>early_start_time</name> | ||
| 1699 | + <rename>early_start_time</rename> | ||
| 1700 | + <default/> | ||
| 1701 | + <type>String</type> | ||
| 1702 | + </value> | ||
| 1703 | + <value> | ||
| 1704 | + <name>early_end_time</name> | ||
| 1705 | + <rename>early_end_time</rename> | ||
| 1706 | + <default/> | ||
| 1707 | + <type>String</type> | ||
| 1708 | + </value> | ||
| 1709 | + <value> | ||
| 1710 | + <name>early_up_time</name> | ||
| 1711 | + <rename>early_up_time</rename> | ||
| 1712 | + <default/> | ||
| 1713 | + <type>Number</type> | ||
| 1714 | + </value> | ||
| 1715 | + <value> | ||
| 1716 | + <name>early_down_time</name> | ||
| 1717 | + <rename>early_down_time</rename> | ||
| 1718 | + <default/> | ||
| 1719 | + <type>Number</type> | ||
| 1720 | + </value> | ||
| 1721 | + <value> | ||
| 1722 | + <name>late_start_time</name> | ||
| 1723 | + <rename>late_start_time</rename> | ||
| 1724 | + <default/> | ||
| 1725 | + <type>String</type> | ||
| 1726 | + </value> | ||
| 1727 | + <value> | ||
| 1728 | + <name>late_end_time</name> | ||
| 1729 | + <rename>late_end_time</rename> | ||
| 1730 | + <default/> | ||
| 1731 | + <type>String</type> | ||
| 1732 | + </value> | ||
| 1733 | + <value> | ||
| 1734 | + <name>late_up_time</name> | ||
| 1735 | + <rename>late_up_time</rename> | ||
| 1736 | + <default/> | ||
| 1737 | + <type>Number</type> | ||
| 1738 | + </value> | ||
| 1739 | + <value> | ||
| 1740 | + <name>late_down_time</name> | ||
| 1741 | + <rename>late_down_time</rename> | ||
| 1742 | + <default/> | ||
| 1743 | + <type>Number</type> | ||
| 1744 | + </value> | ||
| 1745 | + </lookup> | ||
| 1746 | + <cluster_schema/> | ||
| 1747 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1748 | + <xloc>149</xloc> | ||
| 1749 | + <yloc>581</yloc> | ||
| 1750 | + <draw>Y</draw> | ||
| 1751 | + </GUI> | ||
| 1752 | + </step> | ||
| 1753 | + | ||
| 1754 | + <step> | ||
| 1755 | + <name>查找时刻表基础信息关联</name> | ||
| 1756 | + <type>DBLookup</type> | ||
| 1757 | + <description/> | ||
| 1758 | + <distribute>Y</distribute> | ||
| 1759 | + <custom_distribution/> | ||
| 1760 | + <copies>1</copies> | ||
| 1761 | + <partitioning> | ||
| 1762 | + <method>none</method> | ||
| 1763 | + <schema_name/> | ||
| 1764 | + </partitioning> | ||
| 1765 | + <connection>bus_control_variable</connection> | ||
| 1766 | + <cache>N</cache> | ||
| 1767 | + <cache_load_all>N</cache_load_all> | ||
| 1768 | + <cache_size>0</cache_size> | ||
| 1769 | + <lookup> | ||
| 1770 | + <schema/> | ||
| 1771 | + <table>bsth_c_s_ttinfo</table> | ||
| 1772 | + <orderby/> | ||
| 1773 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1774 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1775 | + <key> | ||
| 1776 | + <name>xlid</name> | ||
| 1777 | + <field>xl</field> | ||
| 1778 | + <condition>=</condition> | ||
| 1779 | + <name2/> | ||
| 1780 | + </key> | ||
| 1781 | + <key> | ||
| 1782 | + <name>ttinfoname_</name> | ||
| 1783 | + <field>name</field> | ||
| 1784 | + <condition>=</condition> | ||
| 1785 | + <name2/> | ||
| 1786 | + </key> | ||
| 1787 | + <key> | ||
| 1788 | + <name>iscanceled</name> | ||
| 1789 | + <field>is_cancel</field> | ||
| 1790 | + <condition>=</condition> | ||
| 1791 | + <name2/> | ||
| 1792 | + </key> | ||
| 1793 | + <value> | ||
| 1794 | + <name>id</name> | ||
| 1795 | + <rename>ttid</rename> | ||
| 1796 | + <default/> | ||
| 1797 | + <type>Integer</type> | ||
| 1798 | + </value> | ||
| 1799 | + </lookup> | ||
| 1800 | + <cluster_schema/> | ||
| 1801 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1802 | + <xloc>1011</xloc> | ||
| 1803 | + <yloc>134</yloc> | ||
| 1804 | + <draw>Y</draw> | ||
| 1805 | + </GUI> | ||
| 1806 | + </step> | ||
| 1807 | + | ||
| 1808 | + <step> | ||
| 1809 | + <name>查找线路关联</name> | ||
| 1810 | + <type>DBLookup</type> | ||
| 1811 | + <description/> | ||
| 1812 | + <distribute>Y</distribute> | ||
| 1813 | + <custom_distribution/> | ||
| 1814 | + <copies>1</copies> | ||
| 1815 | + <partitioning> | ||
| 1816 | + <method>none</method> | ||
| 1817 | + <schema_name/> | ||
| 1818 | + </partitioning> | ||
| 1819 | + <connection>bus_control_variable</connection> | ||
| 1820 | + <cache>N</cache> | ||
| 1821 | + <cache_load_all>N</cache_load_all> | ||
| 1822 | + <cache_size>0</cache_size> | ||
| 1823 | + <lookup> | ||
| 1824 | + <schema/> | ||
| 1825 | + <table>bsth_c_line</table> | ||
| 1826 | + <orderby/> | ||
| 1827 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1828 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1829 | + <key> | ||
| 1830 | + <name>xlname_</name> | ||
| 1831 | + <field>name</field> | ||
| 1832 | + <condition>=</condition> | ||
| 1833 | + <name2/> | ||
| 1834 | + </key> | ||
| 1835 | + <key> | ||
| 1836 | + <name>iscanceled</name> | ||
| 1837 | + <field>destroy</field> | ||
| 1838 | + <condition>=</condition> | ||
| 1839 | + <name2/> | ||
| 1840 | + </key> | ||
| 1841 | + <value> | ||
| 1842 | + <name>id</name> | ||
| 1843 | + <rename>xlid</rename> | ||
| 1844 | + <default/> | ||
| 1845 | + <type>Integer</type> | ||
| 1846 | + </value> | ||
| 1847 | + </lookup> | ||
| 1848 | + <cluster_schema/> | ||
| 1849 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1850 | + <xloc>1007</xloc> | ||
| 1851 | + <yloc>43</yloc> | ||
| 1852 | + <draw>Y</draw> | ||
| 1853 | + </GUI> | ||
| 1854 | + </step> | ||
| 1855 | + | ||
| 1856 | + <step> | ||
| 1857 | + <name>查找线路出场里程时间</name> | ||
| 1858 | + <type>DBLookup</type> | ||
| 1859 | + <description/> | ||
| 1860 | + <distribute>Y</distribute> | ||
| 1861 | + <custom_distribution/> | ||
| 1862 | + <copies>1</copies> | ||
| 1863 | + <partitioning> | ||
| 1864 | + <method>none</method> | ||
| 1865 | + <schema_name/> | ||
| 1866 | + </partitioning> | ||
| 1867 | + <connection>bus_control_variable</connection> | ||
| 1868 | + <cache>N</cache> | ||
| 1869 | + <cache_load_all>N</cache_load_all> | ||
| 1870 | + <cache_size>0</cache_size> | ||
| 1871 | + <lookup> | ||
| 1872 | + <schema/> | ||
| 1873 | + <table>bsth_c_line_information</table> | ||
| 1874 | + <orderby/> | ||
| 1875 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1876 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1877 | + <key> | ||
| 1878 | + <name>xlid</name> | ||
| 1879 | + <field>line</field> | ||
| 1880 | + <condition>=</condition> | ||
| 1881 | + <name2/> | ||
| 1882 | + </key> | ||
| 1883 | + <value> | ||
| 1884 | + <name>up_out_timer</name> | ||
| 1885 | + <rename>up_out_timer</rename> | ||
| 1886 | + <default/> | ||
| 1887 | + <type>Number</type> | ||
| 1888 | + </value> | ||
| 1889 | + <value> | ||
| 1890 | + <name>up_out_mileage</name> | ||
| 1891 | + <rename>up_out_mileage</rename> | ||
| 1892 | + <default/> | ||
| 1893 | + <type>Number</type> | ||
| 1894 | + </value> | ||
| 1895 | + <value> | ||
| 1896 | + <name>down_out_timer</name> | ||
| 1897 | + <rename>down_out_timer</rename> | ||
| 1898 | + <default/> | ||
| 1899 | + <type>Number</type> | ||
| 1900 | + </value> | ||
| 1901 | + <value> | ||
| 1902 | + <name>down_out_mileage</name> | ||
| 1903 | + <rename>down_out_mileage</rename> | ||
| 1904 | + <default/> | ||
| 1905 | + <type>Number</type> | ||
| 1906 | + </value> | ||
| 1907 | + </lookup> | ||
| 1908 | + <cluster_schema/> | ||
| 1909 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1910 | + <xloc>335</xloc> | ||
| 1911 | + <yloc>763</yloc> | ||
| 1912 | + <draw>Y</draw> | ||
| 1913 | + </GUI> | ||
| 1914 | + </step> | ||
| 1915 | + | ||
| 1916 | + <step> | ||
| 1917 | + <name>查找线路进场里程时间</name> | ||
| 1918 | + <type>DBLookup</type> | ||
| 1919 | + <description/> | ||
| 1920 | + <distribute>Y</distribute> | ||
| 1921 | + <custom_distribution/> | ||
| 1922 | + <copies>1</copies> | ||
| 1923 | + <partitioning> | ||
| 1924 | + <method>none</method> | ||
| 1925 | + <schema_name/> | ||
| 1926 | + </partitioning> | ||
| 1927 | + <connection>bus_control_variable</connection> | ||
| 1928 | + <cache>N</cache> | ||
| 1929 | + <cache_load_all>N</cache_load_all> | ||
| 1930 | + <cache_size>0</cache_size> | ||
| 1931 | + <lookup> | ||
| 1932 | + <schema/> | ||
| 1933 | + <table>bsth_c_line_information</table> | ||
| 1934 | + <orderby/> | ||
| 1935 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1936 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1937 | + <key> | ||
| 1938 | + <name>xlid</name> | ||
| 1939 | + <field>line</field> | ||
| 1940 | + <condition>=</condition> | ||
| 1941 | + <name2/> | ||
| 1942 | + </key> | ||
| 1943 | + <value> | ||
| 1944 | + <name>up_in_mileage</name> | ||
| 1945 | + <rename>up_in_mileage</rename> | ||
| 1946 | + <default/> | ||
| 1947 | + <type>Number</type> | ||
| 1948 | + </value> | ||
| 1949 | + <value> | ||
| 1950 | + <name>up_in_timer</name> | ||
| 1951 | + <rename>up_in_timer</rename> | ||
| 1952 | + <default/> | ||
| 1953 | + <type>Number</type> | ||
| 1954 | + </value> | ||
| 1955 | + <value> | ||
| 1956 | + <name>down_in_mileage</name> | ||
| 1957 | + <rename>down_in_mileage</rename> | ||
| 1958 | + <default/> | ||
| 1959 | + <type>Number</type> | ||
| 1960 | + </value> | ||
| 1961 | + <value> | ||
| 1962 | + <name>down_in_timer</name> | ||
| 1963 | + <rename>down_in_timer</rename> | ||
| 1964 | + <default/> | ||
| 1965 | + <type>Number</type> | ||
| 1966 | + </value> | ||
| 1967 | + </lookup> | ||
| 1968 | + <cluster_schema/> | ||
| 1969 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 1970 | + <xloc>553</xloc> | ||
| 1971 | + <yloc>1004</yloc> | ||
| 1972 | + <draw>Y</draw> | ||
| 1973 | + </GUI> | ||
| 1974 | + </step> | ||
| 1975 | + | ||
| 1976 | + <step> | ||
| 1977 | + <name>查找终点站关联</name> | ||
| 1978 | + <type>DBLookup</type> | ||
| 1979 | + <description/> | ||
| 1980 | + <distribute>Y</distribute> | ||
| 1981 | + <custom_distribution/> | ||
| 1982 | + <copies>1</copies> | ||
| 1983 | + <partitioning> | ||
| 1984 | + <method>none</method> | ||
| 1985 | + <schema_name/> | ||
| 1986 | + </partitioning> | ||
| 1987 | + <connection>bus_control_variable</connection> | ||
| 1988 | + <cache>N</cache> | ||
| 1989 | + <cache_load_all>N</cache_load_all> | ||
| 1990 | + <cache_size>0</cache_size> | ||
| 1991 | + <lookup> | ||
| 1992 | + <schema/> | ||
| 1993 | + <table>bsth_c_stationroute</table> | ||
| 1994 | + <orderby/> | ||
| 1995 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 1996 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 1997 | + <key> | ||
| 1998 | + <name>xlid</name> | ||
| 1999 | + <field>line</field> | ||
| 2000 | + <condition>=</condition> | ||
| 2001 | + <name2/> | ||
| 2002 | + </key> | ||
| 2003 | + <key> | ||
| 2004 | + <name>sxx</name> | ||
| 2005 | + <field>directions</field> | ||
| 2006 | + <condition>=</condition> | ||
| 2007 | + <name2/> | ||
| 2008 | + </key> | ||
| 2009 | + <key> | ||
| 2010 | + <name>endZdtype</name> | ||
| 2011 | + <field>station_mark</field> | ||
| 2012 | + <condition>=</condition> | ||
| 2013 | + <name2/> | ||
| 2014 | + </key> | ||
| 2015 | + <key> | ||
| 2016 | + <name>destory</name> | ||
| 2017 | + <field>destroy</field> | ||
| 2018 | + <condition>=</condition> | ||
| 2019 | + <name2/> | ||
| 2020 | + </key> | ||
| 2021 | + <value> | ||
| 2022 | + <name>station_name</name> | ||
| 2023 | + <rename>zdzname</rename> | ||
| 2024 | + <default/> | ||
| 2025 | + <type>String</type> | ||
| 2026 | + </value> | ||
| 2027 | + <value> | ||
| 2028 | + <name>station</name> | ||
| 2029 | + <rename>zdzid</rename> | ||
| 2030 | + <default/> | ||
| 2031 | + <type>Integer</type> | ||
| 2032 | + </value> | ||
| 2033 | + <value> | ||
| 2034 | + <name>station_code</name> | ||
| 2035 | + <rename>zdzcode</rename> | ||
| 2036 | + <default/> | ||
| 2037 | + <type>String</type> | ||
| 2038 | + </value> | ||
| 2039 | + </lookup> | ||
| 2040 | + <cluster_schema/> | ||
| 2041 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2042 | + <xloc>280</xloc> | ||
| 2043 | + <yloc>404</yloc> | ||
| 2044 | + <draw>Y</draw> | ||
| 2045 | + </GUI> | ||
| 2046 | + </step> | ||
| 2047 | + | ||
| 2048 | + <step> | ||
| 2049 | + <name>查找起点站关联并确定上下行</name> | ||
| 2050 | + <type>DBLookup</type> | ||
| 2051 | + <description/> | ||
| 2052 | + <distribute>Y</distribute> | ||
| 2053 | + <custom_distribution/> | ||
| 2054 | + <copies>1</copies> | ||
| 2055 | + <partitioning> | ||
| 2056 | + <method>none</method> | ||
| 2057 | + <schema_name/> | ||
| 2058 | + </partitioning> | ||
| 2059 | + <connection>bus_control_variable</connection> | ||
| 2060 | + <cache>N</cache> | ||
| 2061 | + <cache_load_all>N</cache_load_all> | ||
| 2062 | + <cache_size>0</cache_size> | ||
| 2063 | + <lookup> | ||
| 2064 | + <schema/> | ||
| 2065 | + <table>bsth_c_stationroute</table> | ||
| 2066 | + <orderby/> | ||
| 2067 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2068 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2069 | + <key> | ||
| 2070 | + <name>xlid</name> | ||
| 2071 | + <field>line</field> | ||
| 2072 | + <condition>=</condition> | ||
| 2073 | + <name2/> | ||
| 2074 | + </key> | ||
| 2075 | + <key> | ||
| 2076 | + <name>qdzname</name> | ||
| 2077 | + <field>station_name</field> | ||
| 2078 | + <condition>=</condition> | ||
| 2079 | + <name2/> | ||
| 2080 | + </key> | ||
| 2081 | + <key> | ||
| 2082 | + <name>sendZdtype</name> | ||
| 2083 | + <field>station_mark</field> | ||
| 2084 | + <condition>=</condition> | ||
| 2085 | + <name2/> | ||
| 2086 | + </key> | ||
| 2087 | + <key> | ||
| 2088 | + <name>destory</name> | ||
| 2089 | + <field>destroy</field> | ||
| 2090 | + <condition>=</condition> | ||
| 2091 | + <name2/> | ||
| 2092 | + </key> | ||
| 2093 | + <value> | ||
| 2094 | + <name>station</name> | ||
| 2095 | + <rename>qdzid</rename> | ||
| 2096 | + <default/> | ||
| 2097 | + <type>Integer</type> | ||
| 2098 | + </value> | ||
| 2099 | + <value> | ||
| 2100 | + <name>directions</name> | ||
| 2101 | + <rename>sxx</rename> | ||
| 2102 | + <default/> | ||
| 2103 | + <type>Integer</type> | ||
| 2104 | + </value> | ||
| 2105 | + <value> | ||
| 2106 | + <name>station_code</name> | ||
| 2107 | + <rename>qdzcode</rename> | ||
| 2108 | + <default/> | ||
| 2109 | + <type>String</type> | ||
| 2110 | + </value> | ||
| 2111 | + </lookup> | ||
| 2112 | + <cluster_schema/> | ||
| 2113 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2114 | + <xloc>430</xloc> | ||
| 2115 | + <yloc>403</yloc> | ||
| 2116 | + <draw>Y</draw> | ||
| 2117 | + </GUI> | ||
| 2118 | + </step> | ||
| 2119 | + | ||
| 2120 | + <step> | ||
| 2121 | + <name>查找路牌关联</name> | ||
| 2122 | + <type>DBLookup</type> | ||
| 2123 | + <description/> | ||
| 2124 | + <distribute>Y</distribute> | ||
| 2125 | + <custom_distribution/> | ||
| 2126 | + <copies>1</copies> | ||
| 2127 | + <partitioning> | ||
| 2128 | + <method>none</method> | ||
| 2129 | + <schema_name/> | ||
| 2130 | + </partitioning> | ||
| 2131 | + <connection>bus_control_variable</connection> | ||
| 2132 | + <cache>N</cache> | ||
| 2133 | + <cache_load_all>N</cache_load_all> | ||
| 2134 | + <cache_size>0</cache_size> | ||
| 2135 | + <lookup> | ||
| 2136 | + <schema/> | ||
| 2137 | + <table>bsth_c_s_gbi</table> | ||
| 2138 | + <orderby/> | ||
| 2139 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2140 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2141 | + <key> | ||
| 2142 | + <name>xlid</name> | ||
| 2143 | + <field>xl</field> | ||
| 2144 | + <condition>=</condition> | ||
| 2145 | + <name2/> | ||
| 2146 | + </key> | ||
| 2147 | + <key> | ||
| 2148 | + <name>lp</name> | ||
| 2149 | + <field>lp_name</field> | ||
| 2150 | + <condition>=</condition> | ||
| 2151 | + <name2/> | ||
| 2152 | + </key> | ||
| 2153 | + <key> | ||
| 2154 | + <name>iscanceled</name> | ||
| 2155 | + <field>is_cancel</field> | ||
| 2156 | + <condition>=</condition> | ||
| 2157 | + <name2/> | ||
| 2158 | + </key> | ||
| 2159 | + <value> | ||
| 2160 | + <name>id</name> | ||
| 2161 | + <rename>lpid</rename> | ||
| 2162 | + <default/> | ||
| 2163 | + <type>Integer</type> | ||
| 2164 | + </value> | ||
| 2165 | + </lookup> | ||
| 2166 | + <cluster_schema/> | ||
| 2167 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2168 | + <xloc>1013</xloc> | ||
| 2169 | + <yloc>265</yloc> | ||
| 2170 | + <draw>Y</draw> | ||
| 2171 | + </GUI> | ||
| 2172 | + </step> | ||
| 2173 | + | ||
| 2174 | + <step> | ||
| 2175 | + <name>查找进场班次上一个班次的线路方向</name> | ||
| 2176 | + <type>DBLookup</type> | ||
| 2177 | + <description/> | ||
| 2178 | + <distribute>Y</distribute> | ||
| 2179 | + <custom_distribution/> | ||
| 2180 | + <copies>1</copies> | ||
| 2181 | + <partitioning> | ||
| 2182 | + <method>none</method> | ||
| 2183 | + <schema_name/> | ||
| 2184 | + </partitioning> | ||
| 2185 | + <connection>bus_control_variable</connection> | ||
| 2186 | + <cache>N</cache> | ||
| 2187 | + <cache_load_all>N</cache_load_all> | ||
| 2188 | + <cache_size>0</cache_size> | ||
| 2189 | + <lookup> | ||
| 2190 | + <schema/> | ||
| 2191 | + <table>bsth_c_stationroute</table> | ||
| 2192 | + <orderby/> | ||
| 2193 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2194 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2195 | + <key> | ||
| 2196 | + <name>xlid</name> | ||
| 2197 | + <field>line</field> | ||
| 2198 | + <condition>=</condition> | ||
| 2199 | + <name2/> | ||
| 2200 | + </key> | ||
| 2201 | + <key> | ||
| 2202 | + <name>startZdtype_calcu</name> | ||
| 2203 | + <field>station_mark</field> | ||
| 2204 | + <condition>=</condition> | ||
| 2205 | + <name2/> | ||
| 2206 | + </key> | ||
| 2207 | + <key> | ||
| 2208 | + <name>qdzname_calcu</name> | ||
| 2209 | + <field>station_name</field> | ||
| 2210 | + <condition>=</condition> | ||
| 2211 | + <name2/> | ||
| 2212 | + </key> | ||
| 2213 | + <key> | ||
| 2214 | + <name>destory</name> | ||
| 2215 | + <field>destroy</field> | ||
| 2216 | + <condition>=</condition> | ||
| 2217 | + <name2/> | ||
| 2218 | + </key> | ||
| 2219 | + <value> | ||
| 2220 | + <name>directions</name> | ||
| 2221 | + <rename>sxx</rename> | ||
| 2222 | + <default/> | ||
| 2223 | + <type>String</type> | ||
| 2224 | + </value> | ||
| 2225 | + </lookup> | ||
| 2226 | + <cluster_schema/> | ||
| 2227 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2228 | + <xloc>548</xloc> | ||
| 2229 | + <yloc>610</yloc> | ||
| 2230 | + <draw>Y</draw> | ||
| 2231 | + </GUI> | ||
| 2232 | + </step> | ||
| 2233 | + | ||
| 2234 | + <step> | ||
| 2235 | + <name>查找进场班次上一个班次的终点站,并作为进场班次的起点站</name> | ||
| 2236 | + <type>DBLookup</type> | ||
| 2237 | + <description/> | ||
| 2238 | + <distribute>Y</distribute> | ||
| 2239 | + <custom_distribution/> | ||
| 2240 | + <copies>1</copies> | ||
| 2241 | + <partitioning> | ||
| 2242 | + <method>none</method> | ||
| 2243 | + <schema_name/> | ||
| 2244 | + </partitioning> | ||
| 2245 | + <connection>bus_control_variable</connection> | ||
| 2246 | + <cache>Y</cache> | ||
| 2247 | + <cache_load_all>Y</cache_load_all> | ||
| 2248 | + <cache_size>0</cache_size> | ||
| 2249 | + <lookup> | ||
| 2250 | + <schema/> | ||
| 2251 | + <table>bsth_c_stationroute</table> | ||
| 2252 | + <orderby/> | ||
| 2253 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2254 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2255 | + <key> | ||
| 2256 | + <name>xlid</name> | ||
| 2257 | + <field>line</field> | ||
| 2258 | + <condition>=</condition> | ||
| 2259 | + <name2/> | ||
| 2260 | + </key> | ||
| 2261 | + <key> | ||
| 2262 | + <name>endZdtype_calcu</name> | ||
| 2263 | + <field>station_mark</field> | ||
| 2264 | + <condition>=</condition> | ||
| 2265 | + <name2/> | ||
| 2266 | + </key> | ||
| 2267 | + <key> | ||
| 2268 | + <name>sxx</name> | ||
| 2269 | + <field>directions</field> | ||
| 2270 | + <condition>=</condition> | ||
| 2271 | + <name2/> | ||
| 2272 | + </key> | ||
| 2273 | + <key> | ||
| 2274 | + <name>destory</name> | ||
| 2275 | + <field>destroy</field> | ||
| 2276 | + <condition>=</condition> | ||
| 2277 | + <name2/> | ||
| 2278 | + </key> | ||
| 2279 | + <value> | ||
| 2280 | + <name>station_name</name> | ||
| 2281 | + <rename>zdzname_calcu</rename> | ||
| 2282 | + <default/> | ||
| 2283 | + <type>Integer</type> | ||
| 2284 | + </value> | ||
| 2285 | + </lookup> | ||
| 2286 | + <cluster_schema/> | ||
| 2287 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2288 | + <xloc>550</xloc> | ||
| 2289 | + <yloc>701</yloc> | ||
| 2290 | + <draw>Y</draw> | ||
| 2291 | + </GUI> | ||
| 2292 | + </step> | ||
| 2293 | + | ||
| 2294 | + <step> | ||
| 2295 | + <name>查找进场起点站关联确定上下行</name> | ||
| 2296 | + <type>DBLookup</type> | ||
| 2297 | + <description/> | ||
| 2298 | + <distribute>Y</distribute> | ||
| 2299 | + <custom_distribution/> | ||
| 2300 | + <copies>1</copies> | ||
| 2301 | + <partitioning> | ||
| 2302 | + <method>none</method> | ||
| 2303 | + <schema_name/> | ||
| 2304 | + </partitioning> | ||
| 2305 | + <connection>bus_control_variable</connection> | ||
| 2306 | + <cache>N</cache> | ||
| 2307 | + <cache_load_all>N</cache_load_all> | ||
| 2308 | + <cache_size>0</cache_size> | ||
| 2309 | + <lookup> | ||
| 2310 | + <schema/> | ||
| 2311 | + <table>bsth_c_stationroute</table> | ||
| 2312 | + <orderby/> | ||
| 2313 | + <fail_on_multiple>N</fail_on_multiple> | ||
| 2314 | + <eat_row_on_failure>N</eat_row_on_failure> | ||
| 2315 | + <key> | ||
| 2316 | + <name>xlid</name> | ||
| 2317 | + <field>line</field> | ||
| 2318 | + <condition>=</condition> | ||
| 2319 | + <name2/> | ||
| 2320 | + </key> | ||
| 2321 | + <key> | ||
| 2322 | + <name>zdzname_calcu</name> | ||
| 2323 | + <field>station_name</field> | ||
| 2324 | + <condition>=</condition> | ||
| 2325 | + <name2/> | ||
| 2326 | + </key> | ||
| 2327 | + <key> | ||
| 2328 | + <name>startZdtype_calcu</name> | ||
| 2329 | + <field>station_mark</field> | ||
| 2330 | + <condition>=</condition> | ||
| 2331 | + <name2/> | ||
| 2332 | + </key> | ||
| 2333 | + <key> | ||
| 2334 | + <name>destory</name> | ||
| 2335 | + <field>destroy</field> | ||
| 2336 | + <condition>=</condition> | ||
| 2337 | + <name2/> | ||
| 2338 | + </key> | ||
| 2339 | + <value> | ||
| 2340 | + <name>directions</name> | ||
| 2341 | + <rename>sxx2</rename> | ||
| 2342 | + <default/> | ||
| 2343 | + <type>Integer</type> | ||
| 2344 | + </value> | ||
| 2345 | + <value> | ||
| 2346 | + <name>station</name> | ||
| 2347 | + <rename>qdzid</rename> | ||
| 2348 | + <default/> | ||
| 2349 | + <type>Integer</type> | ||
| 2350 | + </value> | ||
| 2351 | + <value> | ||
| 2352 | + <name>station_code</name> | ||
| 2353 | + <rename>qdzcode</rename> | ||
| 2354 | + <default/> | ||
| 2355 | + <type>String</type> | ||
| 2356 | + </value> | ||
| 2357 | + <value> | ||
| 2358 | + <name>station_name</name> | ||
| 2359 | + <rename>qname</rename> | ||
| 2360 | + <default/> | ||
| 2361 | + <type>String</type> | ||
| 2362 | + </value> | ||
| 2363 | + </lookup> | ||
| 2364 | + <cluster_schema/> | ||
| 2365 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2366 | + <xloc>551</xloc> | ||
| 2367 | + <yloc>782</yloc> | ||
| 2368 | + <draw>Y</draw> | ||
| 2369 | + </GUI> | ||
| 2370 | + </step> | ||
| 2371 | + | ||
| 2372 | + <step> | ||
| 2373 | + <name>正常班次_处理数据</name> | ||
| 2374 | + <type>ScriptValueMod</type> | ||
| 2375 | + <description/> | ||
| 2376 | + <distribute>Y</distribute> | ||
| 2377 | + <custom_distribution/> | ||
| 2378 | + <copies>1</copies> | ||
| 2379 | + <partitioning> | ||
| 2380 | + <method>none</method> | ||
| 2381 | + <schema_name/> | ||
| 2382 | + </partitioning> | ||
| 2383 | + <compatible>N</compatible> | ||
| 2384 | + <optimizationLevel>9</optimizationLevel> | ||
| 2385 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2386 | + <jsScript_name>Script 1</jsScript_name> | ||
| 2387 | + <jsScript_script>//Script here

// 添加站点标识
var sendZdtype = 'B';
var endZdtype = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2388 | + </jsScript> </jsScripts> <fields> <field> <name>sendZdtype</name> | ||
| 2389 | + <rename>sendZdtype</rename> | ||
| 2390 | + <type>String</type> | ||
| 2391 | + <length>-1</length> | ||
| 2392 | + <precision>-1</precision> | ||
| 2393 | + <replace>N</replace> | ||
| 2394 | + </field> <field> <name>endZdtype</name> | ||
| 2395 | + <rename>endZdtype</rename> | ||
| 2396 | + <type>String</type> | ||
| 2397 | + <length>-1</length> | ||
| 2398 | + <precision>-1</precision> | ||
| 2399 | + <replace>N</replace> | ||
| 2400 | + </field> <field> <name>destory</name> | ||
| 2401 | + <rename>destory</rename> | ||
| 2402 | + <type>Integer</type> | ||
| 2403 | + <length>-1</length> | ||
| 2404 | + <precision>-1</precision> | ||
| 2405 | + <replace>N</replace> | ||
| 2406 | + </field> </fields> <cluster_schema/> | ||
| 2407 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2408 | + <xloc>588</xloc> | ||
| 2409 | + <yloc>403</yloc> | ||
| 2410 | + <draw>Y</draw> | ||
| 2411 | + </GUI> | ||
| 2412 | + </step> | ||
| 2413 | + | ||
| 2414 | + <step> | ||
| 2415 | + <name>正常班次数据</name> | ||
| 2416 | + <type>Dummy</type> | ||
| 2417 | + <description/> | ||
| 2418 | + <distribute>Y</distribute> | ||
| 2419 | + <custom_distribution/> | ||
| 2420 | + <copies>1</copies> | ||
| 2421 | + <partitioning> | ||
| 2422 | + <method>none</method> | ||
| 2423 | + <schema_name/> | ||
| 2424 | + </partitioning> | ||
| 2425 | + <cluster_schema/> | ||
| 2426 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2427 | + <xloc>725</xloc> | ||
| 2428 | + <yloc>404</yloc> | ||
| 2429 | + <draw>Y</draw> | ||
| 2430 | + </GUI> | ||
| 2431 | + </step> | ||
| 2432 | + | ||
| 2433 | + <step> | ||
| 2434 | + <name>添加发车顺序号</name> | ||
| 2435 | + <type>GroupBy</type> | ||
| 2436 | + <description/> | ||
| 2437 | + <distribute>Y</distribute> | ||
| 2438 | + <custom_distribution/> | ||
| 2439 | + <copies>1</copies> | ||
| 2440 | + <partitioning> | ||
| 2441 | + <method>none</method> | ||
| 2442 | + <schema_name/> | ||
| 2443 | + </partitioning> | ||
| 2444 | + <all_rows>Y</all_rows> | ||
| 2445 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 2446 | + <field_ignore/> | ||
| 2447 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2448 | + <prefix>grp</prefix> | ||
| 2449 | + <add_linenr>Y</add_linenr> | ||
| 2450 | + <linenr_fieldname>fcno</linenr_fieldname> | ||
| 2451 | + <give_back_row>N</give_back_row> | ||
| 2452 | + <group> | ||
| 2453 | + <field> | ||
| 2454 | + <name>lp</name> | ||
| 2455 | + </field> | ||
| 2456 | + </group> | ||
| 2457 | + <fields> | ||
| 2458 | + </fields> | ||
| 2459 | + <cluster_schema/> | ||
| 2460 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2461 | + <xloc>442</xloc> | ||
| 2462 | + <yloc>44</yloc> | ||
| 2463 | + <draw>Y</draw> | ||
| 2464 | + </GUI> | ||
| 2465 | + </step> | ||
| 2466 | + | ||
| 2467 | + <step> | ||
| 2468 | + <name>添加对应班次数</name> | ||
| 2469 | + <type>GroupBy</type> | ||
| 2470 | + <description/> | ||
| 2471 | + <distribute>Y</distribute> | ||
| 2472 | + <custom_distribution/> | ||
| 2473 | + <copies>1</copies> | ||
| 2474 | + <partitioning> | ||
| 2475 | + <method>none</method> | ||
| 2476 | + <schema_name/> | ||
| 2477 | + </partitioning> | ||
| 2478 | + <all_rows>Y</all_rows> | ||
| 2479 | + <ignore_aggregate>N</ignore_aggregate> | ||
| 2480 | + <field_ignore/> | ||
| 2481 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2482 | + <prefix>grp</prefix> | ||
| 2483 | + <add_linenr>Y</add_linenr> | ||
| 2484 | + <linenr_fieldname>bcs</linenr_fieldname> | ||
| 2485 | + <give_back_row>N</give_back_row> | ||
| 2486 | + <group> | ||
| 2487 | + </group> | ||
| 2488 | + <fields> | ||
| 2489 | + </fields> | ||
| 2490 | + <cluster_schema/> | ||
| 2491 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2492 | + <xloc>692</xloc> | ||
| 2493 | + <yloc>44</yloc> | ||
| 2494 | + <draw>Y</draw> | ||
| 2495 | + </GUI> | ||
| 2496 | + </step> | ||
| 2497 | + | ||
| 2498 | + <step> | ||
| 2499 | + <name>班次数据范式化</name> | ||
| 2500 | + <type>Normaliser</type> | ||
| 2501 | + <description/> | ||
| 2502 | + <distribute>Y</distribute> | ||
| 2503 | + <custom_distribution/> | ||
| 2504 | + <copies>1</copies> | ||
| 2505 | + <partitioning> | ||
| 2506 | + <method>none</method> | ||
| 2507 | + <schema_name/> | ||
| 2508 | + </partitioning> | ||
| 2509 | + <typefield>站点名称</typefield> | ||
| 2510 | + <fields> </fields> <cluster_schema/> | ||
| 2511 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2512 | + <xloc>248</xloc> | ||
| 2513 | + <yloc>44</yloc> | ||
| 2514 | + <draw>Y</draw> | ||
| 2515 | + </GUI> | ||
| 2516 | + </step> | ||
| 2517 | + | ||
| 2518 | + <step> | ||
| 2519 | + <name>班次类型字典</name> | ||
| 2520 | + <type>ValueMapper</type> | ||
| 2521 | + <description/> | ||
| 2522 | + <distribute>Y</distribute> | ||
| 2523 | + <custom_distribution/> | ||
| 2524 | + <copies>1</copies> | ||
| 2525 | + <partitioning> | ||
| 2526 | + <method>none</method> | ||
| 2527 | + <schema_name/> | ||
| 2528 | + </partitioning> | ||
| 2529 | + <field_to_use>bctype</field_to_use> | ||
| 2530 | + <target_field>bctype_code</target_field> | ||
| 2531 | + <non_match_default>未知类型</non_match_default> | ||
| 2532 | + <fields> | ||
| 2533 | + <field> | ||
| 2534 | + <source_value>正常班次</source_value> | ||
| 2535 | + <target_value>normal</target_value> | ||
| 2536 | + </field> | ||
| 2537 | + <field> | ||
| 2538 | + <source_value>出场</source_value> | ||
| 2539 | + <target_value>out</target_value> | ||
| 2540 | + </field> | ||
| 2541 | + <field> | ||
| 2542 | + <source_value>进场</source_value> | ||
| 2543 | + <target_value>in</target_value> | ||
| 2544 | + </field> | ||
| 2545 | + <field> | ||
| 2546 | + <source_value>加油</source_value> | ||
| 2547 | + <target_value>oil</target_value> | ||
| 2548 | + </field> | ||
| 2549 | + <field> | ||
| 2550 | + <source_value>临加</source_value> | ||
| 2551 | + <target_value>temp</target_value> | ||
| 2552 | + </field> | ||
| 2553 | + <field> | ||
| 2554 | + <source_value>区间</source_value> | ||
| 2555 | + <target_value>region</target_value> | ||
| 2556 | + </field> | ||
| 2557 | + <field> | ||
| 2558 | + <source_value>放空</source_value> | ||
| 2559 | + <target_value>venting</target_value> | ||
| 2560 | + </field> | ||
| 2561 | + <field> | ||
| 2562 | + <source_value>放大站</source_value> | ||
| 2563 | + <target_value>major</target_value> | ||
| 2564 | + </field> | ||
| 2565 | + </fields> | ||
| 2566 | + <cluster_schema/> | ||
| 2567 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2568 | + <xloc>149</xloc> | ||
| 2569 | + <yloc>491</yloc> | ||
| 2570 | + <draw>Y</draw> | ||
| 2571 | + </GUI> | ||
| 2572 | + </step> | ||
| 2573 | + | ||
| 2574 | + <step> | ||
| 2575 | + <name>班次类型字典 2</name> | ||
| 2576 | + <type>ValueMapper</type> | ||
| 2577 | + <description/> | ||
| 2578 | + <distribute>Y</distribute> | ||
| 2579 | + <custom_distribution/> | ||
| 2580 | + <copies>1</copies> | ||
| 2581 | + <partitioning> | ||
| 2582 | + <method>none</method> | ||
| 2583 | + <schema_name/> | ||
| 2584 | + </partitioning> | ||
| 2585 | + <field_to_use>bctype</field_to_use> | ||
| 2586 | + <target_field>bctype_code</target_field> | ||
| 2587 | + <non_match_default>未知类型</non_match_default> | ||
| 2588 | + <fields> | ||
| 2589 | + <field> | ||
| 2590 | + <source_value>正常班次</source_value> | ||
| 2591 | + <target_value>normal</target_value> | ||
| 2592 | + </field> | ||
| 2593 | + <field> | ||
| 2594 | + <source_value>出场</source_value> | ||
| 2595 | + <target_value>out</target_value> | ||
| 2596 | + </field> | ||
| 2597 | + <field> | ||
| 2598 | + <source_value>进场</source_value> | ||
| 2599 | + <target_value>in</target_value> | ||
| 2600 | + </field> | ||
| 2601 | + <field> | ||
| 2602 | + <source_value>加油</source_value> | ||
| 2603 | + <target_value>oil</target_value> | ||
| 2604 | + </field> | ||
| 2605 | + <field> | ||
| 2606 | + <source_value>临加</source_value> | ||
| 2607 | + <target_value>temp</target_value> | ||
| 2608 | + </field> | ||
| 2609 | + <field> | ||
| 2610 | + <source_value>区间</source_value> | ||
| 2611 | + <target_value>region</target_value> | ||
| 2612 | + </field> | ||
| 2613 | + <field> | ||
| 2614 | + <source_value>放空</source_value> | ||
| 2615 | + <target_value>venting</target_value> | ||
| 2616 | + </field> | ||
| 2617 | + <field> | ||
| 2618 | + <source_value>放大站</source_value> | ||
| 2619 | + <target_value>major</target_value> | ||
| 2620 | + </field> | ||
| 2621 | + </fields> | ||
| 2622 | + <cluster_schema/> | ||
| 2623 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2624 | + <xloc>333</xloc> | ||
| 2625 | + <yloc>681</yloc> | ||
| 2626 | + <draw>Y</draw> | ||
| 2627 | + </GUI> | ||
| 2628 | + </step> | ||
| 2629 | + | ||
| 2630 | + <step> | ||
| 2631 | + <name>班次类型字典 3</name> | ||
| 2632 | + <type>ValueMapper</type> | ||
| 2633 | + <description/> | ||
| 2634 | + <distribute>Y</distribute> | ||
| 2635 | + <custom_distribution/> | ||
| 2636 | + <copies>1</copies> | ||
| 2637 | + <partitioning> | ||
| 2638 | + <method>none</method> | ||
| 2639 | + <schema_name/> | ||
| 2640 | + </partitioning> | ||
| 2641 | + <field_to_use>bctype</field_to_use> | ||
| 2642 | + <target_field>bctype_code</target_field> | ||
| 2643 | + <non_match_default>未知类型</non_match_default> | ||
| 2644 | + <fields> | ||
| 2645 | + <field> | ||
| 2646 | + <source_value>正常班次</source_value> | ||
| 2647 | + <target_value>normal</target_value> | ||
| 2648 | + </field> | ||
| 2649 | + <field> | ||
| 2650 | + <source_value>出场</source_value> | ||
| 2651 | + <target_value>out</target_value> | ||
| 2652 | + </field> | ||
| 2653 | + <field> | ||
| 2654 | + <source_value>进场</source_value> | ||
| 2655 | + <target_value>in</target_value> | ||
| 2656 | + </field> | ||
| 2657 | + <field> | ||
| 2658 | + <source_value>加油</source_value> | ||
| 2659 | + <target_value>oil</target_value> | ||
| 2660 | + </field> | ||
| 2661 | + <field> | ||
| 2662 | + <source_value>临加</source_value> | ||
| 2663 | + <target_value>temp</target_value> | ||
| 2664 | + </field> | ||
| 2665 | + <field> | ||
| 2666 | + <source_value>区间</source_value> | ||
| 2667 | + <target_value>region</target_value> | ||
| 2668 | + </field> | ||
| 2669 | + <field> | ||
| 2670 | + <source_value>放空</source_value> | ||
| 2671 | + <target_value>venting</target_value> | ||
| 2672 | + </field> | ||
| 2673 | + <field> | ||
| 2674 | + <source_value>放大站</source_value> | ||
| 2675 | + <target_value>major</target_value> | ||
| 2676 | + </field> | ||
| 2677 | + </fields> | ||
| 2678 | + <cluster_schema/> | ||
| 2679 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2680 | + <xloc>551</xloc> | ||
| 2681 | + <yloc>928</yloc> | ||
| 2682 | + <draw>Y</draw> | ||
| 2683 | + </GUI> | ||
| 2684 | + </step> | ||
| 2685 | + | ||
| 2686 | + <step> | ||
| 2687 | + <name>类型修正</name> | ||
| 2688 | + <type>SelectValues</type> | ||
| 2689 | + <description/> | ||
| 2690 | + <distribute>Y</distribute> | ||
| 2691 | + <custom_distribution/> | ||
| 2692 | + <copies>1</copies> | ||
| 2693 | + <partitioning> | ||
| 2694 | + <method>none</method> | ||
| 2695 | + <schema_name/> | ||
| 2696 | + </partitioning> | ||
| 2697 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2698 | + <meta> <name>jhlc</name> | ||
| 2699 | + <rename>jhlc</rename> | ||
| 2700 | + <type>Number</type> | ||
| 2701 | + <length>-2</length> | ||
| 2702 | + <precision>-2</precision> | ||
| 2703 | + <conversion_mask/> | ||
| 2704 | + <date_format_lenient>false</date_format_lenient> | ||
| 2705 | + <date_format_locale/> | ||
| 2706 | + <date_format_timezone/> | ||
| 2707 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2708 | + <encoding/> | ||
| 2709 | + <decimal_symbol/> | ||
| 2710 | + <grouping_symbol/> | ||
| 2711 | + <currency_symbol/> | ||
| 2712 | + <storage_type/> | ||
| 2713 | + </meta> <meta> <name>bcsj</name> | ||
| 2714 | + <rename>bcsj</rename> | ||
| 2715 | + <type>Integer</type> | ||
| 2716 | + <length>-2</length> | ||
| 2717 | + <precision>-2</precision> | ||
| 2718 | + <conversion_mask/> | ||
| 2719 | + <date_format_lenient>false</date_format_lenient> | ||
| 2720 | + <date_format_locale/> | ||
| 2721 | + <date_format_timezone/> | ||
| 2722 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2723 | + <encoding/> | ||
| 2724 | + <decimal_symbol/> | ||
| 2725 | + <grouping_symbol/> | ||
| 2726 | + <currency_symbol/> | ||
| 2727 | + <storage_type/> | ||
| 2728 | + </meta> </fields> <cluster_schema/> | ||
| 2729 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2730 | + <xloc>146</xloc> | ||
| 2731 | + <yloc>768</yloc> | ||
| 2732 | + <draw>Y</draw> | ||
| 2733 | + </GUI> | ||
| 2734 | + </step> | ||
| 2735 | + | ||
| 2736 | + <step> | ||
| 2737 | + <name>类型修正 2</name> | ||
| 2738 | + <type>SelectValues</type> | ||
| 2739 | + <description/> | ||
| 2740 | + <distribute>Y</distribute> | ||
| 2741 | + <custom_distribution/> | ||
| 2742 | + <copies>1</copies> | ||
| 2743 | + <partitioning> | ||
| 2744 | + <method>none</method> | ||
| 2745 | + <schema_name/> | ||
| 2746 | + </partitioning> | ||
| 2747 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2748 | + <meta> <name>out_mileage</name> | ||
| 2749 | + <rename>out_mileage</rename> | ||
| 2750 | + <type>Number</type> | ||
| 2751 | + <length>-2</length> | ||
| 2752 | + <precision>-2</precision> | ||
| 2753 | + <conversion_mask/> | ||
| 2754 | + <date_format_lenient>false</date_format_lenient> | ||
| 2755 | + <date_format_locale/> | ||
| 2756 | + <date_format_timezone/> | ||
| 2757 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2758 | + <encoding/> | ||
| 2759 | + <decimal_symbol/> | ||
| 2760 | + <grouping_symbol/> | ||
| 2761 | + <currency_symbol/> | ||
| 2762 | + <storage_type/> | ||
| 2763 | + </meta> <meta> <name>out_time</name> | ||
| 2764 | + <rename>out_time</rename> | ||
| 2765 | + <type>Integer</type> | ||
| 2766 | + <length>-2</length> | ||
| 2767 | + <precision>-2</precision> | ||
| 2768 | + <conversion_mask/> | ||
| 2769 | + <date_format_lenient>false</date_format_lenient> | ||
| 2770 | + <date_format_locale/> | ||
| 2771 | + <date_format_timezone/> | ||
| 2772 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2773 | + <encoding/> | ||
| 2774 | + <decimal_symbol/> | ||
| 2775 | + <grouping_symbol/> | ||
| 2776 | + <currency_symbol/> | ||
| 2777 | + <storage_type/> | ||
| 2778 | + </meta> <meta> <name>sxx</name> | ||
| 2779 | + <rename>sxx</rename> | ||
| 2780 | + <type>Integer</type> | ||
| 2781 | + <length>-2</length> | ||
| 2782 | + <precision>-2</precision> | ||
| 2783 | + <conversion_mask/> | ||
| 2784 | + <date_format_lenient>false</date_format_lenient> | ||
| 2785 | + <date_format_locale/> | ||
| 2786 | + <date_format_timezone/> | ||
| 2787 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2788 | + <encoding/> | ||
| 2789 | + <decimal_symbol/> | ||
| 2790 | + <grouping_symbol/> | ||
| 2791 | + <currency_symbol/> | ||
| 2792 | + <storage_type/> | ||
| 2793 | + </meta> </fields> <cluster_schema/> | ||
| 2794 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2795 | + <xloc>338</xloc> | ||
| 2796 | + <yloc>1008</yloc> | ||
| 2797 | + <draw>Y</draw> | ||
| 2798 | + </GUI> | ||
| 2799 | + </step> | ||
| 2800 | + | ||
| 2801 | + <step> | ||
| 2802 | + <name>类型修正 3</name> | ||
| 2803 | + <type>SelectValues</type> | ||
| 2804 | + <description/> | ||
| 2805 | + <distribute>Y</distribute> | ||
| 2806 | + <custom_distribution/> | ||
| 2807 | + <copies>1</copies> | ||
| 2808 | + <partitioning> | ||
| 2809 | + <method>none</method> | ||
| 2810 | + <schema_name/> | ||
| 2811 | + </partitioning> | ||
| 2812 | + <fields> <select_unspecified>N</select_unspecified> | ||
| 2813 | + <meta> <name>parade_mileage</name> | ||
| 2814 | + <rename>parade_mileage</rename> | ||
| 2815 | + <type>Number</type> | ||
| 2816 | + <length>-2</length> | ||
| 2817 | + <precision>-2</precision> | ||
| 2818 | + <conversion_mask/> | ||
| 2819 | + <date_format_lenient>false</date_format_lenient> | ||
| 2820 | + <date_format_locale/> | ||
| 2821 | + <date_format_timezone/> | ||
| 2822 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2823 | + <encoding/> | ||
| 2824 | + <decimal_symbol/> | ||
| 2825 | + <grouping_symbol/> | ||
| 2826 | + <currency_symbol/> | ||
| 2827 | + <storage_type/> | ||
| 2828 | + </meta> <meta> <name>parade_time</name> | ||
| 2829 | + <rename>parade_time</rename> | ||
| 2830 | + <type>Integer</type> | ||
| 2831 | + <length>-2</length> | ||
| 2832 | + <precision>-2</precision> | ||
| 2833 | + <conversion_mask/> | ||
| 2834 | + <date_format_lenient>false</date_format_lenient> | ||
| 2835 | + <date_format_locale/> | ||
| 2836 | + <date_format_timezone/> | ||
| 2837 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2838 | + <encoding/> | ||
| 2839 | + <decimal_symbol/> | ||
| 2840 | + <grouping_symbol/> | ||
| 2841 | + <currency_symbol/> | ||
| 2842 | + <storage_type/> | ||
| 2843 | + </meta> <meta> <name>sxx2</name> | ||
| 2844 | + <rename>sxx2</rename> | ||
| 2845 | + <type>Integer</type> | ||
| 2846 | + <length>-2</length> | ||
| 2847 | + <precision>-2</precision> | ||
| 2848 | + <conversion_mask/> | ||
| 2849 | + <date_format_lenient>false</date_format_lenient> | ||
| 2850 | + <date_format_locale/> | ||
| 2851 | + <date_format_timezone/> | ||
| 2852 | + <lenient_string_to_number>false</lenient_string_to_number> | ||
| 2853 | + <encoding/> | ||
| 2854 | + <decimal_symbol/> | ||
| 2855 | + <grouping_symbol/> | ||
| 2856 | + <currency_symbol/> | ||
| 2857 | + <storage_type/> | ||
| 2858 | + </meta> </fields> <cluster_schema/> | ||
| 2859 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2860 | + <xloc>847</xloc> | ||
| 2861 | + <yloc>1003</yloc> | ||
| 2862 | + <draw>Y</draw> | ||
| 2863 | + </GUI> | ||
| 2864 | + </step> | ||
| 2865 | + | ||
| 2866 | + <step> | ||
| 2867 | + <name>计算班次类型</name> | ||
| 2868 | + <type>ValueMapper</type> | ||
| 2869 | + <description/> | ||
| 2870 | + <distribute>Y</distribute> | ||
| 2871 | + <custom_distribution/> | ||
| 2872 | + <copies>1</copies> | ||
| 2873 | + <partitioning> | ||
| 2874 | + <method>none</method> | ||
| 2875 | + <schema_name/> | ||
| 2876 | + </partitioning> | ||
| 2877 | + <field_to_use>qdzname</field_to_use> | ||
| 2878 | + <target_field>bctype</target_field> | ||
| 2879 | + <non_match_default>正常班次</non_match_default> | ||
| 2880 | + <fields> | ||
| 2881 | + <field> | ||
| 2882 | + <source_value>出场</source_value> | ||
| 2883 | + <target_value>出场</target_value> | ||
| 2884 | + </field> | ||
| 2885 | + <field> | ||
| 2886 | + <source_value>进场</source_value> | ||
| 2887 | + <target_value>进场</target_value> | ||
| 2888 | + </field> | ||
| 2889 | + </fields> | ||
| 2890 | + <cluster_schema/> | ||
| 2891 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2892 | + <xloc>1014</xloc> | ||
| 2893 | + <yloc>401</yloc> | ||
| 2894 | + <draw>Y</draw> | ||
| 2895 | + </GUI> | ||
| 2896 | + </step> | ||
| 2897 | + | ||
| 2898 | + <step> | ||
| 2899 | + <name>记录关联 (笛卡尔输出)</name> | ||
| 2900 | + <type>JoinRows</type> | ||
| 2901 | + <description/> | ||
| 2902 | + <distribute>Y</distribute> | ||
| 2903 | + <custom_distribution/> | ||
| 2904 | + <copies>1</copies> | ||
| 2905 | + <partitioning> | ||
| 2906 | + <method>none</method> | ||
| 2907 | + <schema_name/> | ||
| 2908 | + </partitioning> | ||
| 2909 | + <directory>%%java.io.tmpdir%%</directory> | ||
| 2910 | + <prefix>out</prefix> | ||
| 2911 | + <cache_size>500</cache_size> | ||
| 2912 | + <main/> | ||
| 2913 | + <compare> | ||
| 2914 | +<condition> | ||
| 2915 | + <negated>N</negated> | ||
| 2916 | + <leftvalue/> | ||
| 2917 | + <function>=</function> | ||
| 2918 | + <rightvalue/> | ||
| 2919 | + </condition> | ||
| 2920 | + </compare> | ||
| 2921 | + <cluster_schema/> | ||
| 2922 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2923 | + <xloc>310</xloc> | ||
| 2924 | + <yloc>133</yloc> | ||
| 2925 | + <draw>Y</draw> | ||
| 2926 | + </GUI> | ||
| 2927 | + </step> | ||
| 2928 | + | ||
| 2929 | + <step> | ||
| 2930 | + <name>过滤记录(发车时间为空)</name> | ||
| 2931 | + <type>FilterRows</type> | ||
| 2932 | + <description/> | ||
| 2933 | + <distribute>Y</distribute> | ||
| 2934 | + <custom_distribution/> | ||
| 2935 | + <copies>1</copies> | ||
| 2936 | + <partitioning> | ||
| 2937 | + <method>none</method> | ||
| 2938 | + <schema_name/> | ||
| 2939 | + </partitioning> | ||
| 2940 | +<send_true_to/> | ||
| 2941 | +<send_false_to/> | ||
| 2942 | + <compare> | ||
| 2943 | +<condition> | ||
| 2944 | + <negated>N</negated> | ||
| 2945 | + <leftvalue>sendtime</leftvalue> | ||
| 2946 | + <function>IS NOT NULL</function> | ||
| 2947 | + <rightvalue/> | ||
| 2948 | + </condition> | ||
| 2949 | + </compare> | ||
| 2950 | + <cluster_schema/> | ||
| 2951 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 2952 | + <xloc>571</xloc> | ||
| 2953 | + <yloc>44</yloc> | ||
| 2954 | + <draw>Y</draw> | ||
| 2955 | + </GUI> | ||
| 2956 | + </step> | ||
| 2957 | + | ||
| 2958 | + <step> | ||
| 2959 | + <name>进场班次_确定起点站名字</name> | ||
| 2960 | + <type>ScriptValueMod</type> | ||
| 2961 | + <description/> | ||
| 2962 | + <distribute>Y</distribute> | ||
| 2963 | + <custom_distribution/> | ||
| 2964 | + <copies>1</copies> | ||
| 2965 | + <partitioning> | ||
| 2966 | + <method>none</method> | ||
| 2967 | + <schema_name/> | ||
| 2968 | + </partitioning> | ||
| 2969 | + <compatible>N</compatible> | ||
| 2970 | + <optimizationLevel>9</optimizationLevel> | ||
| 2971 | + <jsScripts> <jsScript> <jsScript_type>0</jsScript_type> | ||
| 2972 | + <jsScript_name>Script 1</jsScript_name> | ||
| 2973 | + <jsScript_script>//Script here

// 添加站点标识
var cc_groups = qdzgroups.split(","); // 所有班次起点站数组
var qdzname_calcu = cc_groups[gno - 2]; // 进场班次的起点站是上一个班次的终点站,这里只有上一个班次的起点站,还需要计算
var startZdtype_calcu = 'B';
var endZdtype_calcu = 'E';

var destory = 0; // 未撤销flag</jsScript_script> | ||
| 2974 | + </jsScript> </jsScripts> <fields> <field> <name>qdzname_calcu</name> | ||
| 2975 | + <rename>qdzname_calcu</rename> | ||
| 2976 | + <type>String</type> | ||
| 2977 | + <length>-1</length> | ||
| 2978 | + <precision>-1</precision> | ||
| 2979 | + <replace>N</replace> | ||
| 2980 | + </field> <field> <name>startZdtype_calcu</name> | ||
| 2981 | + <rename>startZdtype_calcu</rename> | ||
| 2982 | + <type>String</type> | ||
| 2983 | + <length>-1</length> | ||
| 2984 | + <precision>-1</precision> | ||
| 2985 | + <replace>N</replace> | ||
| 2986 | + </field> <field> <name>endZdtype_calcu</name> | ||
| 2987 | + <rename>endZdtype_calcu</rename> | ||
| 2988 | + <type>String</type> | ||
| 2989 | + <length>-1</length> | ||
| 2990 | + <precision>-1</precision> | ||
| 2991 | + <replace>N</replace> | ||
| 2992 | + </field> <field> <name>destory</name> | ||
| 2993 | + <rename>destory</rename> | ||
| 2994 | + <type>Integer</type> | ||
| 2995 | + <length>-1</length> | ||
| 2996 | + <precision>-1</precision> | ||
| 2997 | + <replace>N</replace> | ||
| 2998 | + </field> </fields> <cluster_schema/> | ||
| 2999 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3000 | + <xloc>754</xloc> | ||
| 3001 | + <yloc>610</yloc> | ||
| 3002 | + <draw>Y</draw> | ||
| 3003 | + </GUI> | ||
| 3004 | + </step> | ||
| 3005 | + | ||
| 3006 | + <step> | ||
| 3007 | + <name>进场班次数据</name> | ||
| 3008 | + <type>Dummy</type> | ||
| 3009 | + <description/> | ||
| 3010 | + <distribute>Y</distribute> | ||
| 3011 | + <custom_distribution/> | ||
| 3012 | + <copies>1</copies> | ||
| 3013 | + <partitioning> | ||
| 3014 | + <method>none</method> | ||
| 3015 | + <schema_name/> | ||
| 3016 | + </partitioning> | ||
| 3017 | + <cluster_schema/> | ||
| 3018 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 3019 | + <xloc>997</xloc> | ||
| 3020 | + <yloc>606</yloc> | ||
| 3021 | + <draw>Y</draw> | ||
| 3022 | + </GUI> | ||
| 3023 | + </step> | ||
| 3024 | + | ||
| 3025 | + <step_error_handling> | ||
| 3026 | + <error> | ||
| 3027 | + <source_step>插入/更新bsth_c_s_ttinfo_detail</source_step> | ||
| 3028 | + <target_step/> | ||
| 3029 | + <is_enabled>Y</is_enabled> | ||
| 3030 | + <nr_valuename>c1</nr_valuename> | ||
| 3031 | + <descriptions_valuename>c2</descriptions_valuename> | ||
| 3032 | + <fields_valuename>c3</fields_valuename> | ||
| 3033 | + <codes_valuename>c4</codes_valuename> | ||
| 3034 | + <max_errors/> | ||
| 3035 | + <max_pct_errors/> | ||
| 3036 | + <min_pct_rows/> | ||
| 3037 | + </error> | ||
| 3038 | + </step_error_handling> | ||
| 3039 | + <slave-step-copy-partition-distribution> | ||
| 3040 | +</slave-step-copy-partition-distribution> | ||
| 3041 | + <slave_transformation>N</slave_transformation> | ||
| 3042 | + | ||
| 3043 | +</transformation> |
src/main/resources/static/pages/base/line/css/bmap_base.css
0 → 100644
| 1 | +#bmap_basic{ | ||
| 2 | + min-width: 100%; | ||
| 3 | + width: calc(100% + 26px); | ||
| 4 | + margin-top: -28px; | ||
| 5 | + border: 2px solid #fdfdfd; | ||
| 6 | + min-height: 1200px; | ||
| 7 | + height:100%; | ||
| 8 | + overflow: hidden; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +html,body{ | ||
| 12 | + overflow:hidden; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.caption { | ||
| 16 | + color: #B7B7B7; | ||
| 17 | + font-size: 18px; | ||
| 18 | + | ||
| 19 | + position: relative; | ||
| 20 | + margin: 15px; | ||
| 21 | + | ||
| 22 | + font-family: 微软; | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +.cut-section{ position:absolute; right:40px; top:50px; background:#12527f; width:320px;max-height: 700px;min-height: 300px;} | ||
| 26 | + | ||
| 27 | +.rm3_image { | ||
| 28 | + width: 120px; | ||
| 29 | + height: 26px; | ||
| 30 | + | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +/* 隐藏百度地图logo */ | ||
| 34 | +.anchorBL, | ||
| 35 | +.anchorBL, | ||
| 36 | +.amap-logo, | ||
| 37 | +.amap-copyright{ | ||
| 38 | + display: none; | ||
| 39 | +} | ||
| 40 | + | ||
| 41 | + | ||
| 42 | +.BMap_pop { | ||
| 43 | + | ||
| 44 | + box-shadow: 0 12px 15px 0 rgba(204, 204, 204, 0.33),0 17px 50px 0 rgba(204, 204, 204, 0.33)!important; | ||
| 45 | + | ||
| 46 | +} |
src/main/resources/static/pages/base/line/editRoute.html
| @@ -248,7 +248,6 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | @@ -248,7 +248,6 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | ||
| 248 | // 关闭弹出层 | 248 | // 关闭弹出层 |
| 249 | layer.closeAll(); | 249 | layer.closeAll(); |
| 250 | if(rd.status='SUCCESS') { | 250 | if(rd.status='SUCCESS') { |
| 251 | - layer.msg('生成路线成功!'); | ||
| 252 | var stationD = rd.stationData,isNullStr = ''; | 251 | var stationD = rd.stationData,isNullStr = ''; |
| 253 | for(var t = 0 ;t<stationD.length;t++) { | 252 | for(var t = 0 ;t<stationD.length;t++) { |
| 254 | if(stationD[t].potion.lat =='' || stationD[t].potion.lat ==null || | 253 | if(stationD[t].potion.lat =='' || stationD[t].potion.lat ==null || |
| @@ -268,10 +267,12 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | @@ -268,10 +267,12 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | ||
| 268 | // 在地图上画出线路走向 | 267 | // 在地图上画出线路走向 |
| 269 | fun.linePanlThree(lineid,data,directionData); | 268 | fun.linePanlThree(lineid,data,directionData); |
| 270 | }); | 269 | }); |
| 271 | - $('#cutSection').removeClass('hidden'); | ||
| 272 | - $('#Undo').removeClass('hidden'); | ||
| 273 | - $('#uploadRoute').addClass('hidden'); | ||
| 274 | - layer.msg('请先编辑路段,然后放大地图切点,不然数据可能会有误差!!!'); | 270 | + $('#upload_show').removeClass('hidden'); |
| 271 | + //$('#Undo').removeClass('hidden'); | ||
| 272 | + //$('#cut_section').removeClass('hidden'); | ||
| 273 | + //$('#uploadRoute').addClass('hidden'); | ||
| 274 | + $('#upload').addClass('hidden'); | ||
| 275 | + layer.msg('请先编辑路段,并保存!!!'); | ||
| 275 | }else { | 276 | }else { |
| 276 | layer.msg('生成路线失败!'); | 277 | layer.msg('生成路线失败!'); |
| 277 | } | 278 | } |
src/main/resources/static/pages/base/line/editsection.html
| @@ -249,10 +249,10 @@ $('#edit_section_mobal_cache').on('editSectionMobalCache_show', function(e, map_ | @@ -249,10 +249,10 @@ $('#edit_section_mobal_cache').on('editSectionMobalCache_show', function(e, map_ | ||
| 249 | $post('/section/sectionCacheUpdate',params,function(resuntDate) { | 249 | $post('/section/sectionCacheUpdate',params,function(resuntDate) { |
| 250 | if(resuntDate.status=='SUCCESS') { | 250 | if(resuntDate.status=='SUCCESS') { |
| 251 | // 弹出添加成功提示消息 | 251 | // 弹出添加成功提示消息 |
| 252 | - layer.msg('修改成功...'); | 252 | + layer.msg('路段保存成功,将地图放到最大,用右击路段进行截取,确认截取完毕后提交!!!'); |
| 253 | }else { | 253 | }else { |
| 254 | // 弹出添加失败提示消息 | 254 | // 弹出添加失败提示消息 |
| 255 | - layer.msg('修改失败...'); | 255 | + layer.msg('路段保存失败,请重新编辑路段!!!'); |
| 256 | } | 256 | } |
| 257 | $('#edit_section_mobal_cache').modal('hide'); | 257 | $('#edit_section_mobal_cache').modal('hide'); |
| 258 | closeMobleSetClean(); | 258 | closeMobleSetClean(); |
src/main/resources/static/pages/base/line/map.html
| 1 | -< <link href="/pages/base/stationroute/css/bmap_base.css" rel="stylesheet" type="text/css" /> | 1 | +< <link href="/pages/base/line/css/bmap_base.css" rel="stylesheet" type="text/css" /> |
| 2 | <div class="portlet-body"> | 2 | <div class="portlet-body"> |
| 3 | <!-- 地图 --> | 3 | <!-- 地图 --> |
| 4 | <div id="bmap_basic" class="bmaps"></div> | 4 | <div id="bmap_basic" class="bmaps"></div> |
| 5 | - <!-- 右边添加栏 --> | ||
| 6 | - <div class="portlet box protlet-box" style="top:20px;border-radius: 6px !important;box-shadow: 10px 10px 5px #888888;float:right;"> | 5 | + |
| 6 | + <div class="cut-section"> | ||
| 7 | + <div class="portlet-title" > | ||
| 8 | + <div class="caption" > | ||
| 9 | + 途径站点 | ||
| 10 | + </div> | ||
| 11 | + </div> | ||
| 12 | + <div class="portlet-body"> | ||
| 13 | + <div class="table-toolbar" style="text-align:center;" id="upload"> | ||
| 14 | + <button class="btn btn-circle blue" id="uploadRoute" ><i class="fa fa-plus"></i> 生成路线 </button> | ||
| 15 | + </div> | ||
| 16 | + <div class="portlet-body hidden" id="upload_show"> | ||
| 17 | + <div class="defeat-scroll" style="height: auto;max-height:600px;overflow-y:auto; border-left: 10px;"> | ||
| 18 | + <table class="table table-bordered table-hover table-checkable " id="section_table" style="color:#B7B7B7;"> | ||
| 19 | + <thead> | ||
| 20 | + <tr role="row" class="heading"> | ||
| 21 | + <th >截取路段</th> | ||
| 22 | + </tr> | ||
| 23 | + </thead> | ||
| 24 | + <tbody></tbody> | ||
| 25 | + </table> | ||
| 26 | + </div> | ||
| 27 | + <div class="table-toolbar" style="text-align:center;"> | ||
| 28 | + <button class="btn btn-circle blue" id="cutSection">提交路段</button> | ||
| 29 | + <button class="btn btn-circle blue" id="Undo">撤销切点</button> | ||
| 30 | + </div> | ||
| 31 | + </div> | ||
| 32 | + </div> | ||
| 33 | + </div> | ||
| 34 | + | ||
| 35 | + <div class="portlet box protlet-box" style="top:20px;border-radius: 6px !important;box-shadow: 10px 10px 5px #888888;"> | ||
| 36 | + 左边标题栏 | ||
| 7 | <div class="portlet-title" style="background-color:#12527f;"> | 37 | <div class="portlet-title" style="background-color:#12527f;"> |
| 8 | <div class="caption"> | 38 | <div class="caption"> |
| 9 | - <!-- 途径站点 --> | 39 | + 途径站点 |
| 10 | </div> | 40 | </div> |
| 11 | <div class="tools"> | 41 | <div class="tools"> |
| 12 | <a href="javascript:;" class="collapse" data-original-title="" title=""> </a> | 42 | <a href="javascript:;" class="collapse" data-original-title="" title=""> </a> |
| 13 | </div> | 43 | </div> |
| 14 | </div> | 44 | </div> |
| 15 | - <!-- 左边栏 --> | 45 | + 左边栏 |
| 16 | <div class="portlet-body" id="scrllmouseEvent" style="border: 1px solid rgb(255, 255, 255); display: block;min-height: 300px"> | 46 | <div class="portlet-body" id="scrllmouseEvent" style="border: 1px solid rgb(255, 255, 255); display: block;min-height: 300px"> |
| 17 | <div class="row"> | 47 | <div class="row"> |
| 18 | <div class="portlet-body"> | 48 | <div class="portlet-body"> |
| @@ -26,7 +56,7 @@ | @@ -26,7 +56,7 @@ | ||
| 26 | <table class="table table-striped table-bordered table-hover table-checkable " id="section_table"> | 56 | <table class="table table-striped table-bordered table-hover table-checkable " id="section_table"> |
| 27 | <thead> | 57 | <thead> |
| 28 | <tr role="row" class="heading"> | 58 | <tr role="row" class="heading"> |
| 29 | - <th >截取路段</th> | 59 | + <th >已截取路段</th> |
| 30 | </tr> | 60 | </tr> |
| 31 | </thead> | 61 | </thead> |
| 32 | <tbody ></tbody> | 62 | <tbody ></tbody> |
| @@ -35,7 +65,7 @@ | @@ -35,7 +65,7 @@ | ||
| 35 | </div> | 65 | </div> |
| 36 | </div> | 66 | </div> |
| 37 | </div> | 67 | </div> |
| 38 | - </div> | 68 | + </div> |
| 39 | </div> | 69 | </div> |
| 40 | </div> | 70 | </div> |
| 41 | <script type="text/html" id="section_list"> | 71 | <script type="text/html" id="section_list"> |
| @@ -47,7 +77,7 @@ | @@ -47,7 +77,7 @@ | ||
| 47 | {{/each}} | 77 | {{/each}} |
| 48 | {{if list.length == 0}} | 78 | {{if list.length == 0}} |
| 49 | <tr> | 79 | <tr> |
| 50 | - <td colspan=13><h6 class="muted">你还没有对路段进行截取</h6></td> | 80 | + <td colspan=13><h6 class="muted">沒有相关数据</h6></td> |
| 51 | </tr> | 81 | </tr> |
| 52 | {{/if}} | 82 | {{/if}} |
| 53 | </script> | 83 | </script> |
| @@ -138,7 +168,7 @@ $(function(){ | @@ -138,7 +168,7 @@ $(function(){ | ||
| 138 | } | 168 | } |
| 139 | }); | 169 | }); |
| 140 | } else { | 170 | } else { |
| 141 | - layer.msg("请截取路段!!!"); | 171 | + layer.msg("请先截取路段!!!"); |
| 142 | } | 172 | } |
| 143 | }); | 173 | }); |
| 144 | }); | 174 | }); |
src/main/resources/static/pages/excep/speedingList.html
| @@ -20,30 +20,6 @@ | @@ -20,30 +20,6 @@ | ||
| 20 | class="caption-subject font-dark sbold uppercase">超速异常数据表</span> | 20 | class="caption-subject font-dark sbold uppercase">超速异常数据表</span> |
| 21 | </div> | 21 | </div> |
| 22 | <div class="actions"> | 22 | <div class="actions"> |
| 23 | -<!-- <a class="btn btn-circle blue" href="add.html" data-pjax><i class="fa fa-plus"></i> 添加用户</a> --> | ||
| 24 | - <!-- <button type="button" class="btn btn-circle red" disabled="disabled" id="removeButton"><i class="fa fa-trash"></i> ɾ���û�</button> --> | ||
| 25 | - <!-- <div class="btn-group"> | ||
| 26 | - <a class="btn red btn-outline btn-circle" href="javascript:;" | ||
| 27 | - data-toggle="dropdown"> <i class="fa fa-share"></i> <span | ||
| 28 | - class="hidden-xs"> 系统工具</span> <i class="fa fa-angle-down"></i> | ||
| 29 | - </a> | ||
| 30 | - <ul class="dropdown-menu pull-right" id="datatable_ajax_tools"> | ||
| 31 | - <li><a href="javascript:;" data-action="0" | ||
| 32 | - class="tool-action"> <i class="fa fa-print"></i>打印 | ||
| 33 | - </a></li> | ||
| 34 | - <li><a href="javascript:;" data-action="1" | ||
| 35 | - class="tool-action"> <i class="fa fa-copy"></i> 复制 | ||
| 36 | - </a></li> | ||
| 37 | - <li><a href="javascript:;" data-action="3" | ||
| 38 | - class="tool-action"> <i class="fa fa-file-excel-o"></i> | ||
| 39 | - 导出Excel | ||
| 40 | - </a></li> | ||
| 41 | - <li class="divider"></li> | ||
| 42 | - <li><a href="javascript:;" data-action="5" | ||
| 43 | - class="tool-action"> <i class="fa fa-refresh"></i> 刷新数据 | ||
| 44 | - </a></li> | ||
| 45 | - </ul> | ||
| 46 | - </div> --> | ||
| 47 | </div> | 23 | </div> |
| 48 | </div> | 24 | </div> |
| 49 | <div class="portlet-body"> | 25 | <div class="portlet-body"> |
| @@ -54,23 +30,22 @@ | @@ -54,23 +30,22 @@ | ||
| 54 | <thead> | 30 | <thead> |
| 55 | <tr role="row" class="heading"> | 31 | <tr role="row" class="heading"> |
| 56 | <th width="3%">#</th> | 32 | <th width="3%">#</th> |
| 57 | - <th width="8%">线路</th> | ||
| 58 | - <th width="10%">车辆自编号</th> | ||
| 59 | - <!-- <th width="100">工号/名字</th> | ||
| 60 | - <th width="11%">路牌名</th> --> | ||
| 61 | - <th width="10%">上下行</th> | ||
| 62 | - <th width="20%">超速时间</th> | ||
| 63 | - <th width="6%">持续时间</th> | ||
| 64 | - <th width="10%">查看轨迹</th> | ||
| 65 | - <th width="18%">操作</th> | 33 | + <th width="4%">线路</th> |
| 34 | + <th width="6%">车辆自编号</th> | ||
| 35 | + <th width="8%">上下行</th> | ||
| 36 | + <th width="10%">开始时间</th> | ||
| 37 | + <th width="10%">结束时间</th> | ||
| 38 | + <th width="8%">持续时间</th> | ||
| 39 | + <th width="8%">查看轨迹</th> | ||
| 40 | + <th width="6%">操作</th> | ||
| 66 | </tr> | 41 | </tr> |
| 67 | <tr role="row" class="filter"> | 42 | <tr role="row" class="filter"> |
| 68 | <td></td> | 43 | <td></td> |
| 69 | <td> | 44 | <td> |
| 70 | - <select class="form-control" name="line" id="line" style="width: 180px;"></select> | 45 | + <select class="form-control" name="line" id="line" style="width: 100px;"></select> |
| 71 | </td> | 46 | </td> |
| 72 | <td> | 47 | <td> |
| 73 | - <select class="form-control" name="nbbm" id="nbbm" style="width: 150px;"></select> | 48 | + <select class="form-control" name="nbbm" id="nbbm" style="width: 100px;"></select> |
| 74 | </td> | 49 | </td> |
| 75 | <!-- <td> | 50 | <!-- <td> |
| 76 | 51 | ||
| @@ -78,18 +53,19 @@ | @@ -78,18 +53,19 @@ | ||
| 78 | <td> | 53 | <td> |
| 79 | </td> --> | 54 | </td> --> |
| 80 | <td> | 55 | <td> |
| 81 | - <select class="form-control form-filter " name="updown"> | 56 | + <select class="form-control form-filter " name="updown" style="width: 90px;"> |
| 82 | <option value="">请选择...</option> | 57 | <option value="">请选择...</option> |
| 83 | <option value="0">上行</option> | 58 | <option value="0">上行</option> |
| 84 | <option value="1">下行</option> | 59 | <option value="1">下行</option> |
| 85 | <option value="-1">无效</option> | 60 | <option value="-1">无效</option> |
| 86 | </select> | 61 | </select> |
| 87 | </td> | 62 | </td> |
| 88 | - <td nowrap="nowrap"> | ||
| 89 | - <input class="form-control" type="date" name="startDate" style="width: 180px;"/> | 63 | + <td> |
| 64 | + <input class="form-control" type="date" name="startDate" /> | ||
| 90 | - | 65 | - |
| 91 | - <input class="form-control" type="date" name="endDate" style="width: 180px;"/> | ||
| 92 | - | 66 | + <input class="form-control" type="date" name="endDate" /> |
| 67 | + </td> | ||
| 68 | + <td> | ||
| 93 | </td> | 69 | </td> |
| 94 | <td> | 70 | <td> |
| 95 | </td> | 71 | </td> |
| @@ -128,9 +104,9 @@ | @@ -128,9 +104,9 @@ | ||
| 128 | {{obj.vehicle}} | 104 | {{obj.vehicle}} |
| 129 | </td> | 105 | </td> |
| 130 | <td> | 106 | <td> |
| 131 | - {{if obj.upDown==0}} | 107 | + {{if obj.up_down==0}} |
| 132 | 上行 | 108 | 上行 |
| 133 | - {{else if obj.upDown==1}} | 109 | + {{else if obj.up_down==1}} |
| 134 | 下行 | 110 | 下行 |
| 135 | {{else}} | 111 | {{else}} |
| 136 | 无效 | 112 | 无效 |
| @@ -140,10 +116,18 @@ | @@ -140,10 +116,18 @@ | ||
| 140 | {{obj.timestampDate}} | 116 | {{obj.timestampDate}} |
| 141 | </td> | 117 | </td> |
| 142 | <td> | 118 | <td> |
| 143 | - {{obj.durationTime}}秒 | 119 | + {{obj.endtimestampDate}} |
| 144 | </td> | 120 | </td> |
| 145 | <td> | 121 | <td> |
| 146 | - | 122 | + {{(obj.endtimestamp-obj.timestamp)/1000}}秒 |
| 123 | + </td> | ||
| 124 | + <td> | ||
| 125 | + <a class="btn default blue-stripe btn-sm lookTrajectory" data-vehicle ="{{obj.vehicle}}" | ||
| 126 | + data-startdate="{{obj.timestampDate}}" data-enddate="{{obj.endtimestampDate}}" | ||
| 127 | + data-lon="{{obj.lon}}" data-lat="{{obj.lat}}" | ||
| 128 | + data-endlon="{{obj.endlon}}" data-endlat="{{obj.endlat}}" > | ||
| 129 | + 查看轨迹 | ||
| 130 | + </a> | ||
| 147 | </td> | 131 | </td> |
| 148 | <td> | 132 | <td> |
| 149 | 133 | ||
| @@ -171,7 +155,6 @@ $(function(){ | @@ -171,7 +155,6 @@ $(function(){ | ||
| 171 | 155 | ||
| 172 | var endTime = dateTime-week*24*3600*1000;//上周末、格式为时间戳。 | 156 | var endTime = dateTime-week*24*3600*1000;//上周末、格式为时间戳。 |
| 173 | var startTime = endTime-6*24*3600*1000;//上周一、格式为时间戳。 | 157 | var startTime = endTime-6*24*3600*1000;//上周一、格式为时间戳。 |
| 174 | - | ||
| 175 | var endDate = timeToData(endTime); | 158 | var endDate = timeToData(endTime); |
| 176 | var startDate = timeToData(startTime); | 159 | var startDate = timeToData(startTime); |
| 177 | //表单默认选择上周一到上周日的超速信息。 | 160 | //表单默认选择上周一到上周日的超速信息。 |
| @@ -180,15 +163,27 @@ $(function(){ | @@ -180,15 +163,27 @@ $(function(){ | ||
| 180 | var parameter = new Object(); | 163 | var parameter = new Object(); |
| 181 | parameter.endDate = $("input[name='endDate']")[0].value; | 164 | parameter.endDate = $("input[name='endDate']")[0].value; |
| 182 | parameter.startDate = $("input[name='startDate']")[0].value; | 165 | parameter.startDate = $("input[name='startDate']")[0].value; |
| 183 | - //jsDoQuery(parameter,true); | ||
| 184 | - jsDoQuery(null,true); | 166 | + |
| 167 | + //搜索线路 | ||
| 168 | + $.get('/basic/lineCode2Name',function(result){ | ||
| 169 | + var data=[]; | ||
| 170 | + data.push({id: " ", text: "全部线路"}); | ||
| 171 | + for(var code in result){ | ||
| 172 | + data.push({id: code, text: result[code]}); | ||
| 173 | + } | ||
| 174 | + initPinYinSelect2($('#line'),data,function(ldmcSelector) { | ||
| 175 | + ldmcSelector.select2("val",data[1].id);//因为数据量太大,所以默认一条线路作为查询参数 | ||
| 176 | + }); | ||
| 177 | + parameter.line = data[1].id; | ||
| 178 | + jsDoQuery(parameter,true); | ||
| 179 | + }); | ||
| 185 | 180 | ||
| 186 | //时间戳转换为年月日 | 181 | //时间戳转换为年月日 |
| 187 | function timeToData(time){ | 182 | function timeToData(time){ |
| 188 | var date = new Date(time); | 183 | var date = new Date(time); |
| 189 | var year = date.getFullYear(); | 184 | var year = date.getFullYear(); |
| 190 | var Month = date.getMonth()+1>10?date.getMonth()+1:"0"+(date.getMonth()+1); | 185 | var Month = date.getMonth()+1>10?date.getMonth()+1:"0"+(date.getMonth()+1); |
| 191 | - var Day = date.getDate()>10?date.getDate():"0"+date.getDate(); | 186 | + var Day = date.getDate()>9?date.getDate():"0"+date.getDate(); |
| 192 | return year+"-"+Month+"-"+Day; | 187 | return year+"-"+Month+"-"+Day; |
| 193 | } | 188 | } |
| 194 | 189 | ||
| @@ -219,7 +214,7 @@ $(function(){ | @@ -219,7 +214,7 @@ $(function(){ | ||
| 219 | /* | 214 | /* |
| 220 | * 获取数据 p: 要提交的参数, pagination: 是否重新分页 | 215 | * 获取数据 p: 要提交的参数, pagination: 是否重新分页 |
| 221 | */ | 216 | */ |
| 222 | - function jsDoQuery(p, pagination){ | 217 | + function jsDoQuery(p, pagination){ |
| 223 | var params = {}; | 218 | var params = {}; |
| 224 | if(p) | 219 | if(p) |
| 225 | params = p; | 220 | params = p; |
| @@ -227,20 +222,40 @@ $(function(){ | @@ -227,20 +222,40 @@ $(function(){ | ||
| 227 | params['order'] = 'lastLoginDate'; | 222 | params['order'] = 'lastLoginDate'; |
| 228 | params['page'] = page; | 223 | params['page'] = page; |
| 229 | var i = layer.load(2); | 224 | var i = layer.load(2); |
| 230 | - $get('/speeding/pagequery' ,params, function(data){ | ||
| 231 | -// $.each(data.content, function(i, obj) { | ||
| 232 | -// obj.lastLoginDate = moment(obj.lastLoginDate).format("YYYY-MM-DD HH:mm:ss"); | ||
| 233 | -// }); | ||
| 234 | - var bodyHtm = template('speeding_list_temp', {list: data.dataList}); | 225 | + $.get('/gps/pagequery' ,params, function(data){ |
| 226 | + var bodyHtm = template('speeding_list_temp', {list: data.list}); | ||
| 235 | $('#datatable_speeding tbody').html(bodyHtm) | 227 | $('#datatable_speeding tbody').html(bodyHtm) |
| 236 | .find('.icheck').iCheck(icheckOptions) | 228 | .find('.icheck').iCheck(icheckOptions) |
| 237 | .on('ifChanged', iCheckChange); | 229 | .on('ifChanged', iCheckChange); |
| 238 | - if(pagination && data.dataList.length > 0){ | 230 | + if(pagination){ |
| 239 | //重新分页 | 231 | //重新分页 |
| 240 | initPagination = true; | 232 | initPagination = true; |
| 241 | showPagination(data); | 233 | showPagination(data); |
| 242 | } | 234 | } |
| 243 | layer.close(i); | 235 | layer.close(i); |
| 236 | + $(".lookTrajectory").click(function(){ | ||
| 237 | + var vehicle = $(this).data('vehicle'); | ||
| 238 | + var startDate = $(this).data('startdate'); | ||
| 239 | + var endDate = $(this).data('enddate'); | ||
| 240 | + var lon = $(this).data('lon'); | ||
| 241 | + var lat = $(this).data('lat'); | ||
| 242 | + var endLon = $(this).data('endlon'); | ||
| 243 | + var endLat = $(this).data('endlat'); | ||
| 244 | + var storage = window.localStorage; | ||
| 245 | + storage.setItem("zbhAndDate",vehicle+","+startDate+","+endDate+","+lon+","+lat+","+endLon+","+endLat); | ||
| 246 | + $.get('/pages/excep/speedingMap.html?',function (result) { | ||
| 247 | + layer.open({ | ||
| 248 | + type: 1, | ||
| 249 | + title:'<i class="uk-icon-play-circle"></i>轨迹回放', | ||
| 250 | + shadeClose: true, | ||
| 251 | + shade: true, | ||
| 252 | + scrollbar: false, | ||
| 253 | + maxmin: false, //开启最大化最小化按钮 | ||
| 254 | + area: ['100%', '100%'], | ||
| 255 | + content:result,//内容 | ||
| 256 | + }); | ||
| 257 | + }); | ||
| 258 | + }) | ||
| 244 | }); | 259 | }); |
| 245 | } | 260 | } |
| 246 | 261 | ||
| @@ -291,6 +306,7 @@ $(function(){ | @@ -291,6 +306,7 @@ $(function(){ | ||
| 291 | }); | 306 | }); |
| 292 | } | 307 | } |
| 293 | 308 | ||
| 309 | + | ||
| 294 | //删除 | 310 | //删除 |
| 295 | $('#removeButton').on('click', function(){ | 311 | $('#removeButton').on('click', function(){ |
| 296 | if($(this).attr('disabled')) | 312 | if($(this).attr('disabled')) |
| @@ -302,17 +318,6 @@ $(function(){ | @@ -302,17 +318,6 @@ $(function(){ | ||
| 302 | $('tr.filter .filter-submit').click(); | 318 | $('tr.filter .filter-submit').click(); |
| 303 | }); | 319 | }); |
| 304 | }); | 320 | }); |
| 305 | - | ||
| 306 | - //搜索线路 | ||
| 307 | - $.get('/basic/lineCode2Name',function(result){ | ||
| 308 | - var data=[]; | ||
| 309 | - data.push({id: " ", text: "全部线路"}); | ||
| 310 | - for(var code in result){ | ||
| 311 | - data.push({id: code, text: result[code]}); | ||
| 312 | - } | ||
| 313 | - initPinYinSelect2('#line',data,''); | ||
| 314 | - | ||
| 315 | - }); | ||
| 316 | 321 | ||
| 317 | $("#line").on("change",initXl); | 322 | $("#line").on("change",initXl); |
| 318 | function initXl(){ | 323 | function initXl(){ |
| @@ -329,6 +334,7 @@ $('#nbbm').select2({ | @@ -329,6 +334,7 @@ $('#nbbm').select2({ | ||
| 329 | xlbm:$('#line').val()}; | 334 | xlbm:$('#line').val()}; |
| 330 | }, | 335 | }, |
| 331 | processResults: function (data) { | 336 | processResults: function (data) { |
| 337 | + console.log(data); | ||
| 332 | return { | 338 | return { |
| 333 | results: data | 339 | results: data |
| 334 | }; | 340 | }; |
| @@ -365,7 +371,6 @@ $('#nbbm').select2({ | @@ -365,7 +371,6 @@ $('#nbbm').select2({ | ||
| 365 | 371 | ||
| 366 | //改变状态 | 372 | //改变状态 |
| 367 | function changeEnabled(id,enabled){ | 373 | function changeEnabled(id,enabled){ |
| 368 | - debugger | ||
| 369 | $get('/user/changeEnabled',{id:id,enabled:enabled},function(result){ | 374 | $get('/user/changeEnabled',{id:id,enabled:enabled},function(result){ |
| 370 | jsDoQuery(null, true); | 375 | jsDoQuery(null, true); |
| 371 | }) | 376 | }) |
src/main/resources/static/pages/excep/speedingListmh.html
| @@ -20,30 +20,6 @@ | @@ -20,30 +20,6 @@ | ||
| 20 | class="caption-subject font-dark sbold uppercase">超速异常数据表</span> | 20 | class="caption-subject font-dark sbold uppercase">超速异常数据表</span> |
| 21 | </div> | 21 | </div> |
| 22 | <div class="actions"> | 22 | <div class="actions"> |
| 23 | -<!-- <a class="btn btn-circle blue" href="add.html" data-pjax><i class="fa fa-plus"></i> 添加用户</a> --> | ||
| 24 | - <!-- <button type="button" class="btn btn-circle red" disabled="disabled" id="removeButton"><i class="fa fa-trash"></i> ɾ���û�</button> --> | ||
| 25 | - <!-- <div class="btn-group"> | ||
| 26 | - <a class="btn red btn-outline btn-circle" href="javascript:;" | ||
| 27 | - data-toggle="dropdown"> <i class="fa fa-share"></i> <span | ||
| 28 | - class="hidden-xs"> 系统工具</span> <i class="fa fa-angle-down"></i> | ||
| 29 | - </a> | ||
| 30 | - <ul class="dropdown-menu pull-right" id="datatable_ajax_tools"> | ||
| 31 | - <li><a href="javascript:;" data-action="0" | ||
| 32 | - class="tool-action"> <i class="fa fa-print"></i>打印 | ||
| 33 | - </a></li> | ||
| 34 | - <li><a href="javascript:;" data-action="1" | ||
| 35 | - class="tool-action"> <i class="fa fa-copy"></i> 复制 | ||
| 36 | - </a></li> | ||
| 37 | - <li><a href="javascript:;" data-action="3" | ||
| 38 | - class="tool-action"> <i class="fa fa-file-excel-o"></i> | ||
| 39 | - 导出Excel | ||
| 40 | - </a></li> | ||
| 41 | - <li class="divider"></li> | ||
| 42 | - <li><a href="javascript:;" data-action="5" | ||
| 43 | - class="tool-action"> <i class="fa fa-refresh"></i> 刷新数据 | ||
| 44 | - </a></li> | ||
| 45 | - </ul> | ||
| 46 | - </div> --> | ||
| 47 | </div> | 23 | </div> |
| 48 | </div> | 24 | </div> |
| 49 | <div class="portlet-body"> | 25 | <div class="portlet-body"> |
| @@ -165,8 +141,6 @@ | @@ -165,8 +141,6 @@ | ||
| 165 | {{/if}} | 141 | {{/if}} |
| 166 | </script> | 142 | </script> |
| 167 | 143 | ||
| 168 | -<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> | ||
| 169 | - | ||
| 170 | <script> | 144 | <script> |
| 171 | $(function(){ | 145 | $(function(){ |
| 172 | var page = 0, initPagination; | 146 | var page = 0, initPagination; |
| @@ -181,7 +155,6 @@ $(function(){ | @@ -181,7 +155,6 @@ $(function(){ | ||
| 181 | 155 | ||
| 182 | var endTime = dateTime-week*24*3600*1000;//上周末、格式为时间戳。 | 156 | var endTime = dateTime-week*24*3600*1000;//上周末、格式为时间戳。 |
| 183 | var startTime = endTime-6*24*3600*1000;//上周一、格式为时间戳。 | 157 | var startTime = endTime-6*24*3600*1000;//上周一、格式为时间戳。 |
| 184 | - debugger; | ||
| 185 | var endDate = timeToData(endTime); | 158 | var endDate = timeToData(endTime); |
| 186 | var startDate = timeToData(startTime); | 159 | var startDate = timeToData(startTime); |
| 187 | //表单默认选择上周一到上周日的超速信息。 | 160 | //表单默认选择上周一到上周日的超速信息。 |
| @@ -249,12 +222,12 @@ $(function(){ | @@ -249,12 +222,12 @@ $(function(){ | ||
| 249 | params['order'] = 'lastLoginDate'; | 222 | params['order'] = 'lastLoginDate'; |
| 250 | params['page'] = page; | 223 | params['page'] = page; |
| 251 | var i = layer.load(2); | 224 | var i = layer.load(2); |
| 252 | - $get('/gps/pagequery' ,params, function(data){ | ||
| 253 | - var bodyHtm = template('speeding_list_temp', {list: data.dataList}); | 225 | + $.get('/gps/pagequery' ,params, function(data){ |
| 226 | + var bodyHtm = template('speeding_list_temp', {list: data.list}); | ||
| 254 | $('#datatable_speeding tbody').html(bodyHtm) | 227 | $('#datatable_speeding tbody').html(bodyHtm) |
| 255 | .find('.icheck').iCheck(icheckOptions) | 228 | .find('.icheck').iCheck(icheckOptions) |
| 256 | .on('ifChanged', iCheckChange); | 229 | .on('ifChanged', iCheckChange); |
| 257 | - if(pagination && data.dataList.length > 0){ | 230 | + if(pagination){ |
| 258 | //重新分页 | 231 | //重新分页 |
| 259 | initPagination = true; | 232 | initPagination = true; |
| 260 | showPagination(data); | 233 | showPagination(data); |
src/main/resources/static/pages/forms/mould/countInterval.xls
0 → 100644
No preview for this file type
src/main/resources/static/pages/forms/mould/countIntervalXx.xls
0 → 100644
No preview for this file type
src/main/resources/static/pages/forms/statement/correctForm.html
| @@ -28,26 +28,35 @@ | @@ -28,26 +28,35 @@ | ||
| 28 | <div class="portlet-title"> | 28 | <div class="portlet-title"> |
| 29 | <form class="form-inline" action=""> | 29 | <form class="form-inline" action=""> |
| 30 | <div style="display: inline-block;"> | 30 | <div style="display: inline-block;"> |
| 31 | - <span class="item-label" style="width: 80px;">线路: </span> | 31 | + <span class="item-label" style="width: 140px;">线路: </span> |
| 32 | <select class="form-control" name="line" id="line" style="width: 136px;"></select> | 32 | <select class="form-control" name="line" id="line" style="width: 136px;"></select> |
| 33 | </div> | 33 | </div> |
| 34 | <div style="display: inline-block;margin-left: 15px;"> | 34 | <div style="display: inline-block;margin-left: 15px;"> |
| 35 | <span class="item-label" style="width: 80px;">开始时间: </span> | 35 | <span class="item-label" style="width: 80px;">开始时间: </span> |
| 36 | - <input class="form-control" type="text" id="date" style="width: 120px;"/> | 36 | + <input class="form-control" type="text" id="date" style="width: 160px;"/> |
| 37 | </div> | 37 | </div> |
| 38 | <div style="display: inline-block;margin-left: 15px;"> | 38 | <div style="display: inline-block;margin-left: 15px;"> |
| 39 | <span class="item-label" style="width: 80px;">结束时间: </span> | 39 | <span class="item-label" style="width: 80px;">结束时间: </span> |
| 40 | - <input class="form-control" type="text" id="endDate" style="width: 120px;"/> | 40 | + <input class="form-control" type="text" id="endDate" style="width: 160px;"/> |
| 41 | </div> | 41 | </div> |
| 42 | - <div style="display: inline-block;margin-left: 15px"> | ||
| 43 | - <span class="item-label" style="width: 140px;">路牌: </span> | 42 | + <div style="margin-top: 10px"></div> |
| 43 | + <div style="display: inline-block;"> | ||
| 44 | + <span class="item-label" style="width: 140px;">路牌: </span> | ||
| 44 | <select class="form-control" name="lpName" id="lpName" style="width: 136px;"></select> | 45 | <select class="form-control" name="lpName" id="lpName" style="width: 136px;"></select> |
| 45 | </div> | 46 | </div> |
| 46 | <div style="display: inline-block;margin-left: 15px"> | 47 | <div style="display: inline-block;margin-left: 15px"> |
| 47 | - <span class="item-label" style="width: 140px;">内部编码: </span> | ||
| 48 | - <select class="form-control" name="code" id="code" style="width: 145px;"></select> | 48 | + <span class="item-label" style="width: 80px;">内部编码: </span> |
| 49 | + <select class="form-control" name="code" id="code" style="width: 120px;"></select> | ||
| 49 | <input class="btn btn-default" type="button" id="czcl" value="X"/> | 50 | <input class="btn btn-default" type="button" id="czcl" value="X"/> |
| 50 | </div> | 51 | </div> |
| 52 | + <div style="display: inline-block;margin-left: 15px"> | ||
| 53 | + <span class="item-label" style="width: 140px;">修改类型: </span> | ||
| 54 | + <select class="form-control" name="code" id="changType" style="width: 160px;"> | ||
| 55 | + <option value="">全部</option> | ||
| 56 | + <option value="1">前修改</option> | ||
| 57 | + <option value="2">后修改</option> | ||
| 58 | + </select> | ||
| 59 | + </div> | ||
| 51 | <div class="form-group"> | 60 | <div class="form-group"> |
| 52 | <input class="btn btn-default" type="button" id="query" value="筛选"/> | 61 | <input class="btn btn-default" type="button" id="query" value="筛选"/> |
| 53 | <input class="btn btn-default" type="button" id="export" value="导出"/> | 62 | <input class="btn btn-default" type="button" id="export" value="导出"/> |
| @@ -220,14 +229,16 @@ | @@ -220,14 +229,16 @@ | ||
| 220 | var lpName = $("#lpName").val(); | 229 | var lpName = $("#lpName").val(); |
| 221 | var endDate = $("#endDate").val(); | 230 | var endDate = $("#endDate").val(); |
| 222 | var code = $("#code").val(); | 231 | var code = $("#code").val(); |
| 232 | + var changType=$("#changType").val(); | ||
| 223 | $("#query").on("click",function(){ | 233 | $("#query").on("click",function(){ |
| 224 | line = $("#line").val(); | 234 | line = $("#line").val(); |
| 225 | date = $("#date").val(); | 235 | date = $("#date").val(); |
| 226 | lpName = $("#lpName").val(); | 236 | lpName = $("#lpName").val(); |
| 227 | code = $("#code").val(); | 237 | code = $("#code").val(); |
| 228 | endDate = $("#endDate").val(); | 238 | endDate = $("#endDate").val(); |
| 239 | + changType=$("#changType").val(); | ||
| 229 | var type = "query"; | 240 | var type = "query"; |
| 230 | - $get("/realSchedule/correctForm",{line:line,date:date,endDate:endDate,lpName:lpName,code:code,type:type},function(result){ | 241 | + $get("/realSchedule/correctForm",{line:line,date:date,endDate:endDate,lpName:lpName,code:code,type:type,changType:changType},function(result){ |
| 231 | var list_correctForm = template('list_correctForm',{list:result}); | 242 | var list_correctForm = template('list_correctForm',{list:result}); |
| 232 | // 把渲染好的模版html文本追加到表格中 | 243 | // 把渲染好的模版html文本追加到表格中 |
| 233 | $('#forms .list_correctForm').html(list_correctForm); | 244 | $('#forms .list_correctForm').html(list_correctForm); |
| @@ -245,7 +256,7 @@ | @@ -245,7 +256,7 @@ | ||
| 245 | 256 | ||
| 246 | $("#export").on("click",function(){ | 257 | $("#export").on("click",function(){ |
| 247 | var type = "export"; | 258 | var type = "export"; |
| 248 | - $get('/realSchedule/correctForm',{line:line,date:date,endDate:endDate,lpName:lpName,code:code,type:type},function(result){ | 259 | + $get('/realSchedule/correctForm',{line:line,date:date,endDate:endDate,lpName:lpName,code:code,type:type,changType:changType},function(result){ |
| 249 | window.open("/downloadFile/download?fileName=修正报表"+date); | 260 | window.open("/downloadFile/download?fileName=修正报表"+date); |
| 250 | }); | 261 | }); |
| 251 | }); | 262 | }); |
src/main/resources/static/pages/permission/authorize_all/authorize.html
0 → 100644
src/main/resources/static/pages/permission/authorize_all/main.html
0 → 100644
src/main/resources/static/pages/permission/role/settings.html
| @@ -160,10 +160,13 @@ $(function(){ | @@ -160,10 +160,13 @@ $(function(){ | ||
| 160 | 160 | ||
| 161 | //模块下拉框 | 161 | //模块下拉框 |
| 162 | getModuleTreeData(function(treeData){ | 162 | getModuleTreeData(function(treeData){ |
| 163 | + | ||
| 163 | var options = ''; | 164 | var options = ''; |
| 164 | $.each(treeData, function(i, g){ | 165 | $.each(treeData, function(i, g){ |
| 165 | var dArray = g.children; | 166 | var dArray = g.children; |
| 166 | - | 167 | + |
| 168 | + if(!dArray) | ||
| 169 | + return true; | ||
| 167 | for(var i = 0,d; d = dArray[i++];){ | 170 | for(var i = 0,d; d = dArray[i++];){ |
| 168 | options += '<optgroup label="'+d.name+'">'; | 171 | options += '<optgroup label="'+d.name+'">'; |
| 169 | if(!d.children) | 172 | if(!d.children) |
src/main/resources/static/pages/report/countInterval/countInterval.html
| @@ -53,6 +53,7 @@ | @@ -53,6 +53,7 @@ | ||
| 53 | <div class="row" class="col-md-12"> | 53 | <div class="row" class="col-md-12"> |
| 54 | <div class="col-md-5"> | 54 | <div class="col-md-5"> |
| 55 | <div id="left_table" style="margin-top: 10px;overflow:auto;height: 860px"> | 55 | <div id="left_table" style="margin-top: 10px;overflow:auto;height: 860px"> |
| 56 | + <input class="btn btn-default hidden" type="button" id="export" value="导出"/> | ||
| 56 | <table class="table table-bordered table-hover table-checkable pre-scrollable" id="info_inter"> | 57 | <table class="table table-bordered table-hover table-checkable pre-scrollable" id="info_inter"> |
| 57 | <thead> | 58 | <thead> |
| 58 | <tr class="hidden"> | 59 | <tr class="hidden"> |
| @@ -71,7 +72,8 @@ | @@ -71,7 +72,8 @@ | ||
| 71 | </div> | 72 | </div> |
| 72 | </div> | 73 | </div> |
| 73 | <div class="col-md-7" id="printArea"> | 74 | <div class="col-md-7" id="printArea"> |
| 74 | - <div class="table-container" id="table" style="margin-top: 10px;overflow:auto;"> | 75 | + <div class="table-container" id="table" style="margin-top: 10px;overflow:auto;"> |
| 76 | + <input class="btn btn-default hidden" type="button" id="exportXx" value="导出详细"/> | ||
| 75 | <table class="table table-bordered table-hover table-checkable" id="forms"> | 77 | <table class="table table-bordered table-hover table-checkable" id="forms"> |
| 76 | <thead class="hidden"> | 78 | <thead class="hidden"> |
| 77 | <tr > | 79 | <tr > |
| @@ -196,7 +198,7 @@ | @@ -196,7 +198,7 @@ | ||
| 196 | } | 198 | } |
| 197 | }); | 199 | }); |
| 198 | 200 | ||
| 199 | - var date = ''; | 201 | + var date = ""; |
| 200 | var gsbm=""; | 202 | var gsbm=""; |
| 201 | var fgsbm=""; | 203 | var fgsbm=""; |
| 202 | var listRe=null; | 204 | var listRe=null; |
| @@ -211,8 +213,9 @@ | @@ -211,8 +213,9 @@ | ||
| 211 | date = $("#date").val(); | 213 | date = $("#date").val(); |
| 212 | gsbm =$("#gsdm").val(); | 214 | gsbm =$("#gsdm").val(); |
| 213 | fgsbm=$("#fgsdm").val(); | 215 | fgsbm=$("#fgsdm").val(); |
| 214 | - $(".hidden").removeClass("hidden"); | ||
| 215 | - $get('/report/countDjg',{line:line,date:date,gsbm:gsbm,fgsbm:fgsbm},function(result){ | 216 | + $(".hidden").removeClass("hidden"); |
| 217 | + var i = layer.load(2); | ||
| 218 | + $get('/report/countDjg',{line:line,date:date,gsbm:gsbm,fgsbm:fgsbm,type:"query"},function(result){ | ||
| 216 | listRe=result; | 219 | listRe=result; |
| 217 | // 把数据填充到模版中 | 220 | // 把数据填充到模版中 |
| 218 | var tbodyHtml = template('list_inter_info',{list:result}); | 221 | var tbodyHtml = template('list_inter_info',{list:result}); |
| @@ -220,17 +223,17 @@ | @@ -220,17 +223,17 @@ | ||
| 220 | $('#info_inter tbody').html(tbodyHtml); | 223 | $('#info_inter tbody').html(tbodyHtml); |
| 221 | 224 | ||
| 222 | $('.btn-intervalList').on('click', showIntervalList); | 225 | $('.btn-intervalList').on('click', showIntervalList); |
| 223 | - | ||
| 224 | - | 226 | + layer.close(i); |
| 227 | + $("#info_inter").height($(window).height()-180); | ||
| 225 | }); | 228 | }); |
| 226 | }); | 229 | }); |
| 227 | - | 230 | + var listXx; |
| 228 | function showIntervalList(){ | 231 | function showIntervalList(){ |
| 229 | 232 | ||
| 230 | $("#info_inter tbody tr td button").css('background-color', 'blue'); | 233 | $("#info_inter tbody tr td button").css('background-color', 'blue'); |
| 231 | $(this).css('background-color', '#99CCFF'); | 234 | $(this).css('background-color', '#99CCFF'); |
| 232 | var line_ = $(this).data('id'); | 235 | var line_ = $(this).data('id'); |
| 233 | - var listXx; | 236 | + |
| 234 | $.each(listRe, function (i, obj) { | 237 | $.each(listRe, function (i, obj) { |
| 235 | if(obj.line==line_){ | 238 | if(obj.line==line_){ |
| 236 | listXx=obj.djgxx; | 239 | listXx=obj.djgxx; |
| @@ -240,19 +243,35 @@ | @@ -240,19 +243,35 @@ | ||
| 240 | $(".hidden").removeClass("hidden"); | 243 | $(".hidden").removeClass("hidden"); |
| 241 | var interList = template('list_inter_info_xx',{list:listXx}); | 244 | var interList = template('list_inter_info_xx',{list:listXx}); |
| 242 | $('#forms tbody').html(interList); | 245 | $('#forms tbody').html(interList); |
| 243 | - $("html,body").animate({scrollTop:$("#forms_1").offset().top},1000); | 246 | +// $("html,body").animate({scrollTop:$("#forms_1").offset().top},1000); |
| 244 | // } | 247 | // } |
| 245 | 248 | ||
| 246 | } | 249 | } |
| 247 | 250 | ||
| 248 | - /* $("#export").on("click",function(){ | ||
| 249 | - $get('/realSchedule/historyMessage',{line:line,date:date,code:jName,type:"export_msg"},function(result){ | ||
| 250 | - window.open("/downloadFile/download?fileName=调度消息分析"+moment(date).format("YYYYMMDD")); | 251 | + $("#export").on("click",function(){ |
| 252 | + var i = layer.load(2); | ||
| 253 | + $get('/report/countDjg',{line:line,date:date,gsbm:gsbm,fgsbm:fgsbm,type:"export"},function(result){ | ||
| 254 | + layer.close(i); | ||
| 255 | + window.open("/downloadFile/download?fileName=大间隔统计表"); | ||
| 251 | }); | 256 | }); |
| 252 | - }); */ | ||
| 253 | - | 257 | + }); |
| 254 | 258 | ||
| 255 | 259 | ||
| 260 | + $("#exportXx").on("click",function(){ | ||
| 261 | + | ||
| 262 | + if(listXx.length>0){ | ||
| 263 | + var i = layer.load(2); | ||
| 264 | + var params = {}; | ||
| 265 | + params['listXx']=JSON.stringify(listXx); | ||
| 266 | + params['date']=date; | ||
| 267 | + $get('/report/countDjgXx',params,function(result){ | ||
| 268 | + layer.close(i); | ||
| 269 | + window.open("/downloadFile/download?fileName=大间隔统计表详细"); | ||
| 270 | + }); | ||
| 271 | + }else{ | ||
| 272 | + layer.msg("无数据"); | ||
| 273 | + } | ||
| 274 | + }); | ||
| 256 | }); | 275 | }); |
| 257 | </script> | 276 | </script> |
| 258 | <script type="text/html" id="list_inter_info"> | 277 | <script type="text/html" id="list_inter_info"> |
src/main/resources/static/real_control_v2/js/data/data_basic.js
| @@ -56,16 +56,15 @@ var gb_data_basic = (function () { | @@ -56,16 +56,15 @@ var gb_data_basic = (function () { | ||
| 56 | ep.emit('all_personnel', data); | 56 | ep.emit('all_personnel', data); |
| 57 | }); | 57 | }); |
| 58 | function loadAllPersonnel(cb) { | 58 | function loadAllPersonnel(cb) { |
| 59 | - $.get('/basic/all_personnel', function (rs) { | 59 | + $.get('/personnel/all_py', function (rs) { |
| 60 | //转换成自动补全组件需要的数据 | 60 | //转换成自动补全组件需要的数据 |
| 61 | - var data = [], name, code; | ||
| 62 | - for (var jobCode in rs) { | ||
| 63 | - name = rs[jobCode]; | ||
| 64 | - code = jobCode.indexOf('-')!=-1?jobCode.split('-')[1]:jobCode; | 61 | + var data = [], code; |
| 62 | + for(var i =0, p; p = rs[i++];){ | ||
| 63 | + code = p['workId'].indexOf('-')!=-1?p['workId'].split('-')[1]:p['workId']; | ||
| 65 | data.push({ | 64 | data.push({ |
| 66 | - value: code + '/' + name, | ||
| 67 | - fullChars: pinyin.getFullChars(name).toUpperCase(), | ||
| 68 | - camelChars: pinyin.getCamelChars(name) | 65 | + value: code + '/' + p.name, |
| 66 | + fullChars: p.fullChars, | ||
| 67 | + camelChars: p.camelChars | ||
| 69 | }); | 68 | }); |
| 70 | } | 69 | } |
| 71 | cb && cb(data); | 70 | cb && cb(data); |
src/main/resources/static/real_control_v2/js/data/json/north_toolbar.json
| @@ -31,15 +31,6 @@ | @@ -31,15 +31,6 @@ | ||
| 31 | "id": 1.41, | 31 | "id": 1.41, |
| 32 | "text": "班次修正日志", | 32 | "text": "班次修正日志", |
| 33 | "event": "sch_edit_info" | 33 | "event": "sch_edit_info" |
| 34 | - }, | ||
| 35 | - { | ||
| 36 | - "id": 1.5, | ||
| 37 | - "divider": true | ||
| 38 | - }, | ||
| 39 | - { | ||
| 40 | - "id": 1.6, | ||
| 41 | - "text": "数据迁移和校验工具", | ||
| 42 | - "event": "data_move_and_verification" | ||
| 43 | } | 34 | } |
| 44 | ], | 35 | ], |
| 45 | [ | 36 | [ |
src/main/resources/static/real_control_v2/js/main.js
| @@ -169,8 +169,8 @@ var disabled_submit_btn = function (form) { | @@ -169,8 +169,8 @@ var disabled_submit_btn = function (form) { | ||
| 169 | function showUpdateDescription() { | 169 | function showUpdateDescription() { |
| 170 | //更新说明 | 170 | //更新说明 |
| 171 | var updateDescription = { | 171 | var updateDescription = { |
| 172 | - date: '2017-07-17', | ||
| 173 | - text: '<h5>1、修复了一个蛮蠢的bug,这个bug曾经导致在分班进场班次发出晚20分钟的时候,有一定几率实发时间跳到下午首班营运班次上。</h5>' | 172 | + date: '2017-07-21', |
| 173 | + text: '<h5>1、修复一个蛮严肃的问题,这个问题有极低的概率导致个别班次的操作不会同步到路单!!!</h5>' | ||
| 174 | }; | 174 | }; |
| 175 | 175 | ||
| 176 | var storage = window.localStorage | 176 | var storage = window.localStorage |