| | |
| | | <el-option label="(åºåº)å车ï¼RGV116" value="RGV116" /> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV114" value="RGV114" /> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV115" value="RGV115" /> |
| | | <el-option label="(åºåº)RGV118" value="RGV118" /> |
| | | <el-option label="æ¯è½¦ï¼RGV109" value="RGV109" /> |
| | | <el-option label="æ¯è½¦ï¼RGV108" value="RGV108" /> |
| | | <el-option label="æ¯è½¦ï¼RGV105" value="RGV105" /> |
| | |
| | | <el-option label="å车ï¼RGV107" value="RGV107" /> |
| | | </el-select> |
| | | </div> |
| | | |
| | | |
| | | |
| | | <el-button type="danger" v-on:click="submit" plain style="margin-left: 50px">åå§å</el-button> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div> |
| | | <label>RGVåå
¥å个模å</label> |
| | | |
| | | <div class="container"> |
| | | <label>åå
¥çç±»å</label> |
| | |
| | | <el-input type="text" v-model="WriteRGVvalue"></el-input> |
| | | </div> |
| | | |
| | | <el-button type="danger" v-on:click="submit" plain style="margin-left: 50px">åå
¥</el-button> |
| | | <el-button type="danger" v-on:click="submitRGVw" plain style="margin-left: 50px">åå
¥</el-button> |
| | | </div> |
| | | |
| | | |
| | | <div style="margin-top: 30px;"> |
| | | <el-button type="danger" v-on:click="InReset" plain style="margin-left: 50px">ä¸é®å¤ä½ï¼å
¥åºç«¯ï¼</el-button> |
| | | <el-button type="danger" v-on:click="OutReset" plain style="margin-left: 50px">ä¸é®å¤ä½ï¼åºåºç«¯ï¼</el-button> |
| | | |
| | | <el-button type="danger" v-on:click="Outtouchstart" plain style="margin-left: 50px">ä¸é®å¯å¨(åºåºç«¯)</el-button> |
| | | <el-button type="danger" v-on:click="Outbuttonpause" plain style="margin-left: 50px">ä¸é®æåï¼åºåºç«¯ï¼</el-button> |
| | | </div> |
| | | |
| | | <div style="margin-top: 30px;"> |
| | |
| | | |
| | | </div> |
| | | |
| | | <div> |
| | | <div class="container"> |
| | | <label>AGV设å¤åç§°</label> |
| | | <el-select placeholder="è¯·éæ©ç©æç¶æ" v-model="DeviceName3"> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV110" value="RGV110" /> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV112" value="RGV112" /> |
| | | <el-option label="(åºåº)å车ï¼RGV111" value="RGV111" /> |
| | | <el-option label="(åºåº)å车ï¼RGV116" value="RGV116" /> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV114" value="RGV114" /> |
| | | <el-option label="(åºåº)æ¯è½¦ï¼RGV115" value="RGV115" /> |
| | | <el-option label="(åºåº)RGV118" value="RGV118" /> |
| | | <el-option label="æ¯è½¦ï¼RGV109" value="RGV109" /> |
| | | <el-option label="æ¯è½¦ï¼RGV108" value="RGV108" /> |
| | | <el-option label="æ¯è½¦ï¼RGV105" value="RGV105" /> |
| | | <el-option label="æ¯è½¦ï¼RGV103" value="RGV103" /> |
| | | |
| | | <el-option label="å车ï¼RGV104" value="RGV104" /> |
| | | <el-option label="å车ï¼RGV107" value="RGV107" /> |
| | | </el-select> |
| | | </div> |
| | | <label>æ¥è¦ä¿¡æ¯ï¼ {{ baojlabel }}</label> |
| | | <el-button type="danger" v-on:click="ReadAlarm" plain style="margin-left: 50px">è¯»åæ¥è¦ä¿¡æ¯</el-button> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | data() { |
| | | return { |
| | | //åå§åRGV |
| | | DeviceName:"", |
| | | DBType:"", |
| | | WriteRGVvalue:"", |
| | | DeviceName: "", |
| | | DBType: "", |
| | | WriteRGVvalue: "", |
| | | |
| | | //æå¨ä¸årgvç®æ å°åï¼è¿è¡ç§»å¨rgv |
| | | DeviceName2:"", |
| | | WritergvAddres:"" |
| | | DeviceName2: "", |
| | | WritergvAddres: "", |
| | | |
| | | //æ¥è¦ä¿¡æ¯è·å |
| | | DeviceName3: "", |
| | | baojlabel:"" |
| | | |
| | | }; |
| | | }, |
| | | methods: { |
| | | |
| | | submit() { |
| | | var param = { |
| | | DelKeys: [this.DeviceName,this.DBType,this.WriteRGVvalue], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteInitialization", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | DelKeys: [this.DeviceName, this.DBType, this.WriteRGVvalue], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteInitialization", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | submitRGVw() { |
| | | var param = { |
| | | DelKeys: [this.DeviceName, this.DBType, this.WriteRGVvalue], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteRGVmokuai", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | submit2() { |
| | | var param = { |
| | | DelKeys: [this.DeviceName2,this.WritergvAddres], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/ManualmovementRGV", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | DelKeys: [this.DeviceName2, this.WritergvAddres], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/ManualmovementRGV", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | ReadAlarm() { |
| | | var param = { |
| | | DelKeys: [this.DeviceName3], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/ReadAlarminformation", param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.baojlabel=x.data; |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | Outtouchstart() { |
| | | var param = { |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteOuttouchstart", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | Outbuttonpause() { |
| | | var param = { |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteOutbuttonpause", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | InReset(){ |
| | | InReset() { |
| | | var param = { |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteInReset", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteInReset", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | }, |
| | | OutReset(){ |
| | | OutReset() { |
| | | var param = { |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteOutReset", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | DelKeys: [], |
| | | Extra: true |
| | | } |
| | | this.http |
| | | .post("api/RgvOperation/WriteOutReset", {}, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('æå.'); |
| | | this.$parent.refresh(); |
| | | } else { |
| | | return this.$Message.error(x.message); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | |
| | | OutNew = 100, |
| | | |
| | | /// <summary> |
| | | /// æ¯è½¦ç§»å¨ |
| | | /// æ¯è½¦ç§»å¨ä¸ |
| | | /// </summary> |
| | | [Description("æ¯è½¦ç§»å¨")] |
| | | [Description("æ¯è½¦ç§»å¨ä¸")] |
| | | RGV_OutMothercarExecuting = 110, |
| | | |
| | | /// <summary> |
| | |
| | | WebResponseContent WriteInitialization(SaveModel saveModel); |
| | | |
| | | /// <summary> |
| | | /// å个模ååå
¥ |
| | | /// </summary> |
| | | /// <param name="taskNum"></param> |
| | | /// <param name="message"></param> |
| | | /// <returns></returns> |
| | | WebResponseContent WriteRGVmokuai(SaveModel saveModel); |
| | | |
| | | /// <summary> |
| | | /// æå¨ç§»å¨RGV |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | |
| | | /// åå
¥å¤ä½ï¼åºåºç«¯ï¼ |
| | | /// </summary> |
| | | WebResponseContent WriteOutReset(SaveModel saveModel); |
| | | |
| | | /// <summary> |
| | | /// ä¸é®æå |
| | | /// </summary> |
| | | WebResponseContent WriteOutbuttonpause(SaveModel saveModel); |
| | | WebResponseContent WriteOuttouchstart(SaveModel saveModel); |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¥çæ¥è¦ |
| | | /// </summary> |
| | | WebResponseContent ReadAlarminformation(SaveModel saveModel); |
| | | } |
| | | } |
| | |
| | | /// <summary> |
| | | /// è·åæ¯è½¦æ¯å¦æä»»å¡ï¼è¿è¡å¤æ |
| | | /// </summary> |
| | | /// <param name="Nextaderr"></param> |
| | | /// <returns></returns> |
| | | Dt_Task ObtainMuChetaskbool(AGVStation ZicheinnerSide); |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="ZicheinnerSide"></param> |
| | | /// <returns></returns> |
| | | Dt_Task GetChariotTaskBool(string ChildPosiDeviceCode); |
| | | |
| | | /// <summary> |
| | | /// è·åHCJç«å°æ¯å¦æä»»å¡ |
| | | /// </summary> |
| | | Dt_Task GetHCJTaskBool(string ChildPosiDeviceCode, int HCJaddres); |
| | | |
| | | /// <summary> |
| | | /// æ ¹æ®è®¾å¤ï¼å¨ä¸ä¸ªåºåå
ï¼å
æ¾éé¢çä»»å¡ï¼åæ¾å¤ä¾§çä»»å¡ |
| | |
| | | Dt_Task MothermachinemovementTask2(string DeviceCode); |
| | | |
| | | /// <summary> |
| | | /// è·åæ¯è½¦ç§»å¨ä»»å¡åç§»å¨ä¸çä»»å¡ï¼åºåºï¼ |
| | | /// </summary> |
| | | /// <param name="DeviceCode"></param> |
| | | Dt_Task OutMothermaTask(string DeviceCode); |
| | | |
| | | /// <summary> |
| | | /// å车åè´§ä»»å¡ï¼åè´§HCJä»»å¡ |
| | | /// </summary> |
| | | /// <param name="DeviceCode"></param> |
| | |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ ¹æ®ä¼ éè¿æ¥ç设å¤åç§°ï¼æ¥æ¾å°å¯¹åºçDBå
容 |
| | | /// åå§ååæ¯è½¦ |
| | | /// </summary> |
| | | /// <param name="taskNum"></param> |
| | | /// <param name="message"></param> |
| | |
| | | return Service.WriteInitialization(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å个模ååå
¥ |
| | | /// </summary> |
| | | /// <param name="taskNum"></param> |
| | | /// <param name="message"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("WriteRGVmokuai")] |
| | | public WebResponseContent WriteRGVmokuai([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.WriteRGVmokuai(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æå¨ç§»å¨åæ¯è½¦ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("ManualmovementRGV")] |
| | | public WebResponseContent ManualmovementRGV([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.ManualmovementRGV(saveModel); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¸é®å¤ä½å
¥åºåæ¯è½¦ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("WriteInReset")] |
| | | public WebResponseContent WriteInReset([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.WriteInReset(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸é®å¤ä½åºåºåæ¯è½¦ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("WriteOutReset")] |
| | | public WebResponseContent WriteOutReset([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.WriteOutReset(saveModel); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¸é®æå |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("WriteOutbuttonpause")] |
| | | public WebResponseContent WriteOutbuttonpause([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.WriteOutbuttonpause(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸é®å¯å¨ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("WriteOuttouchstart")] |
| | | public WebResponseContent WriteOuttouchstart([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.WriteOuttouchstart(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è¯»åæ¥è¦ä¿¡æ¯ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("ReadAlarminformation")] |
| | | public WebResponseContent ReadAlarminformation([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.ReadAlarminformation(saveModel); |
| | | } |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025/10/21 9:18:34.428 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":20,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"3\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 9:18:41.468 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":21,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 9:33:24.198 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":21,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"1\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 10:03:26.706 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":21,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"1\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 10:03:35.216 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":22,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"2\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 10:09:32.859 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":23,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"3\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 10:11:24.118 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 11:17:58.938 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 11:24:06.450 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 11:28:43.572 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"2\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 13:51:32.843 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:26:14.699 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":24,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:37:01.80 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:40:44.37 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:45:42.286 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:49:07.419 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:57:42.686 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 16:14:27.697 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":1,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"\",\"endAddress\":\"4\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 16:16:47.646 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":1,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"\",\"endAddress\":\"4\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 16:45:23.507 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":1,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"\",\"endAddress\":\"3\"}]}" |
| | | ------------------------------- |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025/10/22 9:25:22.537 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 9:34:15.714 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 9:53:27.21 |
| | | æå |
| | | "æ¥æ¶å°çæ°æ®ä¸ºï¼{\"data\":[{\"taskNo\":25,\"type\":2,\"containerNo\":\"TEST0003\",\"priority\":10,\"startAddress\":\"4\",\"endAddress\":\"\"}]}" |
| | | ------------------------------- |
| | | |
| | |
| | | --- End of stack trace from previous location --- |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| | | -------------------------------- |
| | | 2025/10/21 14:50:11| |
| | | Unexpected end of request content. |
| | | ãèªå®ä¹é误ãï¼Unexpected end of request content. |
| | | ãå¼å¸¸ç±»åãï¼BadHttpRequestException |
| | | ãå¼å¸¸ä¿¡æ¯ãï¼Unexpected end of request content. |
| | | ãå æ è°ç¨ãï¼ at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1ContentLengthMessageBody.ReadAsyncInternal(CancellationToken cancellationToken) |
| | | at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) |
| | | at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestStream.ReadAsyncInternal(Memory`1 destination, CancellationToken cancellationToken) |
| | | at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) |
| | | at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.DrainAsync(Stream stream, ArrayPool`1 bytePool, Nullable`1 limit, CancellationToken cancellationToken) |
| | | at Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonInputFormatter.ReadRequestBodyAsync(InputFormatterContext context, Encoding encoding) |
| | | at Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder.BindModelAsync(ModelBindingContext bindingContext) |
| | | at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, Object value, Object container) |
| | | at Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext() |
| | | --- End of stack trace from previous location --- |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| | | -------------------------------- |
| | | 2025/10/21 16:13:05| |
| | | Input string was not in a correct format. |
| | | ãèªå®ä¹é误ãï¼Input string was not in a correct format. |
| | | ãå¼å¸¸ç±»åãï¼FormatException |
| | | ãå¼å¸¸ä¿¡æ¯ãï¼Input string was not in a correct format. |
| | | ãå æ è°ç¨ãï¼ at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) |
| | | at System.Int16.Parse(String s) |
| | | at WIDESEAWCS_TaskInfoService.RgvOperationService.WriteRGVmokuai(SaveModel saveModel) in F:\项ç®\MingHeZhiNeng\åå
´RGV\9-18\JiaXingRGV\代ç 管ç\WCS\WCS\WIDESEAWCS_Server\WIDESEAWCS_TaskInfoService\RgvOperationService.cs:line 99 |
| | | at Castle.Proxies.Invocations.IRgvOperationService_WriteRGVmokuai.InvokeMethodOnTarget() |
| | | at Castle.DynamicProxy.AbstractInvocation.Proceed() |
| | | at Castle.Proxies.IService`1Proxy_6.WriteRGVmokuai(SaveModel saveModel) |
| | | at WIDESEAWCS_Server.Controllers.RgvOper.RgvOperationController.WriteRGVmokuai(SaveModel saveModel) in F:\项ç®\MingHeZhiNeng\åå
´RGV\9-18\JiaXingRGV\代ç 管ç\WCS\WCS\WIDESEAWCS_Server\WIDESEAWCS_Server\Controllers\RgvOper\RgvOperationController.cs:line 48 |
| | | at lambda_method735(Closure , Object , Object[] ) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() |
| | | --- End of stack trace from previous location --- |
| | | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025/10/21 14:04:12.846 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:04:13.421 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:05:20.808 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:05:29.844 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:06:47.958 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:06:50.976 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:07:54.54 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:08:09.91 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:09:18.180 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:09:24.201 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:11:30.343 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:11:48.384 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:11:57.429 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:18:27.853 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:18:30.902 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:19:38.246 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:19:44.278 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:36:40.927 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:36:46.950 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:44:51.608 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:45:12.724 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:50:10.744 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:50:20.54 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:50:23.736 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:51:43.901 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:52:01.941 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:56:09.156 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 14:56:18.184 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:17:18.692 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/21 15:17:40.574 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025/10/22 9:47:48.666 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ101ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼1>ã................ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................ã设å¤ï¼DDJ103ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼1>ã................ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 9:50:31.59 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼1>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 9:50:37.136 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 10:28:13.618 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ104ï¼ä¿®æ¹åç¶æï¼0ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 10:28:25.698 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ102ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | | 2025/10/22 10:28:31.725 |
| | | æ£å¸¸ |
| | | "ã设å¤ï¼DDJ101ï¼ä¿®æ¹åç¶æï¼1ï¼<ä¿®æ¹åç¶æï¼0>ã................" |
| | | ------------------------------- |
| | | |
| | |
| | | using WIDESEAWCS_QuartzJob.Service; |
| | | using System.Net; |
| | | using WIDESEAWCS_ISystemServices; |
| | | using System.Security.Claims; |
| | | |
| | | namespace WIDESEAWCS_TaskInfoService |
| | | { |
| | |
| | | DeviceProDTO? RGV_taskcomplete = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_taskcomplete", "RGV_taskcomplete"); //ä»»å¡id |
| | | RgvSetLine(Commonstacker, RGV_taskcomplete.DeviceProAddress, (short)1); |
| | | |
| | | return webResponse.OK(); |
| | | } |
| | | |
| | | public WebResponseContent WriteRGVmokuai(SaveModel saveModel) |
| | | { |
| | | WebResponseContent webResponse = new WebResponseContent(); |
| | | string DeviceName = saveModel.DelKeys[0].ToString(); //å·¥ä½ç±»å |
| | | string DBType = saveModel.DelKeys[1].ToString(); //设å¤åç§° |
| | | short WriteRGVvalue = short.Parse(saveModel.DelKeys[2].ToString()); //åå
¥å¼ |
| | | IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == DeviceName); |
| | | SpeStackerCrane Commonstacker = (SpeStackerCrane)device; |
| | | switch (DBType) |
| | | { |
| | | case "1": // 工使¨¡å¼ï¼0æå¨ã1èªå¨ï¼ |
| | | //è·åå®ä¾ |
| | | DeviceProDTO? RGV_DWorkingmode = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_DWorkingmode", "DeviceCommand"); //ä»»å¡ç±»å |
| | | //ç¬¬ä¸æ¥åå
¥ä»»å¡ |
| | | RgvSetLine(Commonstacker, RGV_DWorkingmode.DeviceProAddress, WriteRGVvalue); |
| | | break; |
| | | case "2": //å¤ä½æä½ï¼0ä¸å¤ä½ã1å¤ä½ï¼ |
| | | DeviceProDTO? RGV_Resetoperation = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_Resetoperation", "DeviceCommand"); //ä»»å¡ç±»å |
| | | //ç¬¬ä¸æ¥åå
¥ä»»å¡ |
| | | RgvSetLine(Commonstacker, RGV_Resetoperation.DeviceProAddress, WriteRGVvalue); |
| | | break; |
| | | case "3": //ä»»å¡ç¡®è®¤å®æï¼0ä¸ç¡®å®ï¼1ç¡®å®ï¼ |
| | | DeviceProDTO? RGV_taskcomplete = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_taskcomplete", "RGV_taskcomplete"); //ä»»å¡ç±»å |
| | | //ç¬¬ä¸æ¥åå
¥ä»»å¡ |
| | | RgvSetLine(Commonstacker, RGV_taskcomplete.DeviceProAddress, WriteRGVvalue); |
| | | break; |
| | | case "4": //ä»»å¡ç±»å(4æ¸
é¤) |
| | | DeviceProDTO? RGV_RGVtasktypet = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_RGVtasktypet", "DeviceCommand"); //ä»»å¡ç±»å |
| | | //ç¬¬ä¸æ¥åå
¥ä»»å¡ |
| | | RgvSetLine(Commonstacker, RGV_RGVtasktypet.DeviceProAddress, WriteRGVvalue); |
| | | break; |
| | | } |
| | | return webResponse.OK(); |
| | | } |
| | | |
| | |
| | | return webResponse.OK(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸é®æå |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent WriteOutbuttonpause(SaveModel saveModel) |
| | | { |
| | | WebResponseContent webResponse = new WebResponseContent(); |
| | | List<AGVStation> rgvdata = _gvStationService.GetOutStroller(); |
| | | foreach (AGVStation rgvstation in rgvdata) |
| | | { |
| | | string DeviceName = rgvstation.ChildPosiDeviceCode; //设å¤åç§° |
| | | IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == DeviceName); |
| | | if (device == null) continue; |
| | | SpeStackerCrane Commonstacker = (SpeStackerCrane)device; |
| | | |
| | | //è·åéè¦å¤ä½çè®¾å¤ |
| | | DeviceProDTO? RGV_Resetoperation = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_DWorkingmode", "DeviceCommand"); //å¤ä½æ¥è¦ä¿¡æ¯ |
| | | RgvSetLine(Commonstacker, RGV_Resetoperation.DeviceProAddress, (short)0); |
| | | } |
| | | return webResponse.OK(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸é®å¯å¨ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent WriteOuttouchstart(SaveModel saveModel) |
| | | { |
| | | WebResponseContent webResponse = new WebResponseContent(); |
| | | List<AGVStation> rgvdata = _gvStationService.GetOutStroller(); |
| | | foreach (AGVStation rgvstation in rgvdata) |
| | | { |
| | | string DeviceName = rgvstation.ChildPosiDeviceCode; //设å¤åç§° |
| | | IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == DeviceName); |
| | | if (device == null) continue; |
| | | SpeStackerCrane Commonstacker = (SpeStackerCrane)device; |
| | | |
| | | //è·åéè¦å¤ä½çè®¾å¤ |
| | | DeviceProDTO? RGV_Resetoperation = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_DWorkingmode", "DeviceCommand"); //å¤ä½æ¥è¦ä¿¡æ¯ |
| | | RgvSetLine(Commonstacker, RGV_Resetoperation.DeviceProAddress, (short)1); |
| | | } |
| | | return webResponse.OK(); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="conveyorLine"></param> |
| | | /// <param name="DeviceProDataBlock"></param> |
| | | /// <returns></returns> |
| | | public static int GetLine(CommonConveyorLine Commonstacker, string DeviceProDataBlock) |
| | | public static int GetLine(SpeStackerCrane Commonstacker, string DeviceProDataBlock) |
| | | { |
| | | return Commonstacker.Communicator.Read<short>(DeviceProDataBlock); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¥çæ¥è¦ |
| | | /// </summary> |
| | | public WebResponseContent ReadAlarminformation(SaveModel saveModel) |
| | | { |
| | | WebResponseContent webResponse = new WebResponseContent(); |
| | | string DeviceName = saveModel.DelKeys[0].ToString(); //设å¤åç§° |
| | | IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == DeviceName); |
| | | if (device == null) return webResponse.Error(); |
| | | SpeStackerCrane Commonstacker = (SpeStackerCrane)device; |
| | | DeviceProDTO? RGV_Resetoperation = GetRGVDeviceProDTO(Commonstacker, DeviceName, "RGV_Faultcode", "ReadDeviceCommand"); |
| | | int baoj = GetLine(Commonstacker, RGV_Resetoperation.DeviceProAddress); |
| | | string alarmMessage = ""; |
| | | if (DeviceName == "RGV118") |
| | | { |
| | | alarmMessage = GetAlarmMessage(baoj); |
| | | } |
| | | else if (DeviceName == "RGV111" || DeviceName == "RGV116") |
| | | { |
| | | alarmMessage = GetAlarmMessage2(baoj); |
| | | } |
| | | else if (DeviceName == "RGV110" || DeviceName == "RGV112" || DeviceName == "RGV114" || DeviceName == "RGV115") |
| | | { |
| | | alarmMessage = GetAlarmMessage3(baoj); |
| | | } |
| | | |
| | | |
| | | return webResponse.OK(data: alarmMessage); |
| | | } |
| | | |
| | | // æ¥è¦ä»£ç æ å°æ¹æ³ |
| | | private string GetAlarmMessage(int alarmCode) |
| | | { |
| | | var alarmMessages = new Dictionary<int, string> |
| | | { |
| | | {0, "æ æ¥è¦"}, |
| | | {1, "RGVå°è½¦æ¥å被æä¸"}, |
| | | {2, "æ£è½¬é·è¾¾æ¥è¦"}, |
| | | {3, "å转é·è¾¾æ¥è¦"}, |
| | | {4, "åè¿é使¥è¦"}, |
| | | {5, "åéé使¥è¦"}, |
| | | {6, ""}, |
| | | {7, "PLCæ¸åæ
é"}, |
| | | {8, "PLCæ©å±æ¨¡åæ
é"}, |
| | | {9, "ç§°éæ¨¡åæ
é"}, |
| | | {10, "æ«ç å®ä½æ
é"}, |
| | | {11, "RGVé¿æ¶é´ç©ºè½¬æ
é"}, |
| | | {12, "ç®çå°ä¸çäºå®é
ä½ç½®æ
é"}, |
| | | {13, "䏿»æ§é讯æ
é"}, |
| | | {14, "åé·è¾¾å±è½è¦å"}, |
| | | {15, "åé·è¾¾å±è½è¦å"}, |
| | | {16, "è¡èµ°åé¢å¨æ
é"}, |
| | | {17, "伸缩ååé¢å¨æ
é"}, |
| | | {18, "æ¶²ååå
è¿è½½ä¿æ¤æ
é"}, |
| | | {19, "æ¶²åä¸åè¶
æ¶æ¥è¦"}, |
| | | {20, "æ¶²åä¸éè¶
æ¶æ¥è¦"}, |
| | | {21, "伸缩å伸åºè¶
æ¶æ¥è¦"}, |
| | | {22, "伸缩å缩åè¶
æ¶æ¥è¦"}, |
| | | {23, "å¤å½¢æ£æµæ¥è¦"}, |
| | | {24, "ç§°éè¶
鿥è¦"}, |
| | | {25, "è´§åä¼¸åºæéé使¥è¦"}, |
| | | {26, "è´§å缩åæéé使¥è¦"}, |
| | | {27, "åè´§æ¶èªèº«æè´§ç©æ¥è¦"}, |
| | | {28, "æ¾è´§æ¶èªèº«æ è´§ç©æ¥è¦"}, |
| | | {29, "è´§åæªåå°åå§ä½æ¥è¦"}, |
| | | {30, "触åä»
ç§»å¨å½ä»¤æ¶è´§åä¸å¨åå§ä½æ¥è¦"}, |
| | | {31, "è´§åå°è¾¾åå§ä½ä½ä¸ä½ä¼ æå¨æªæ£æµå°æ¥è¦"} |
| | | }; |
| | | |
| | | return alarmMessages.ContainsKey(alarmCode) ? alarmMessages[alarmCode] : "æªç¥æ¥è¦ä»£ç "; |
| | | } |
| | | |
| | | |
| | | private string GetAlarmMessage2(int alarmCode) |
| | | { |
| | | var alarmMessages = new Dictionary<int, string> |
| | | { |
| | | {0, "æ æ¥è¦"}, |
| | | {1, "RGVå°è½¦æ¥å被æä¸"}, |
| | | {2, "åè¿é使¥è¦"}, |
| | | {3, "åéé使¥è¦"}, |
| | | {4, "PLCæ¸åæ
é"}, |
| | | {5, "PLCæ©å±æ¨¡åæ
é"}, |
| | | {6, "æ«ç å®ä½æ
é"}, |
| | | {7, "RGVé¿æ¶é´ç©ºè½¬æ
é"}, |
| | | {8, "ç®çå°ä¸çäºå®é
ä½ç½®æ
é"}, |
| | | {9, "䏿»æ§é讯æ
é"}, |
| | | {10, "è¡èµ°åé¢å¨æ
é"}, |
| | | {11, "æ¶²ååå
è¿è½½ä¿æ¤æ
é"}, |
| | | {12, "æ¶²åä¸åè¶
æ¶æ¥è¦"}, |
| | | {13, "æ¶²åä¸éè¶
æ¶æ¥è¦"}, |
| | | {14, "åè´§æ¶èªèº«æè´§ç©æ¥è¦"}, |
| | | {15, "æ¾è´§æ¶èªèº«æ è´§ç©æ¥è¦"}, |
| | | {16, "åè´§æ£æµä¸å°è´§ç©æ¥è¦"} |
| | | }; |
| | | |
| | | return alarmMessages.ContainsKey(alarmCode) ? alarmMessages[alarmCode] : "æªç¥æ¥è¦ä»£ç "; |
| | | } |
| | | |
| | | private string GetAlarmMessage3(int alarmCode) |
| | | { |
| | | var alarmMessages = new Dictionary<int, string> |
| | | { |
| | | {0, "æ æ¥è¦"}, |
| | | {1, "RGVå°è½¦æ¥å被æä¸"}, |
| | | {2, "åè¿é使¥è¦"}, |
| | | {3, "åéé使¥è¦"}, |
| | | {4, "PLCæ¸åæ
é"}, |
| | | {5, "PLCæ©å±æ¨¡åæ
é"}, |
| | | {6, "RGVé¿æ¶é´ç©ºè½¬æ
é"}, |
| | | {7, "ç®çå°ä¸çäºå®é
ä½ç½®æ
é"}, |
| | | {8, "䏿»æ§é讯æ
é"}, |
| | | {9, "è¡èµ°åé¢å¨æ
é"}, |
| | | {10, "åè´§æ¶èªèº«æè´§ç©æ¥è¦"}, |
| | | {11, "æ¾è´§æ¶èªèº«æ è´§ç©æ¥è¦"}, |
| | | {12, "忢æ¶ä½ç½®è¿å²æ¥è¦"} |
| | | }; |
| | | |
| | | return alarmMessages.ContainsKey(alarmCode) ? alarmMessages[alarmCode] : "æªç¥æ¥è¦ä»£ç "; |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | return BaseDal.QueryFirst(x => x.RGVTaskType == (int)RGVTaskTypeEnum.TravelingOnly && x.TaskState == (int)TaskOutStatusEnum.OutNew && x.NextAddress == Nextaderr, TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åæ¯è½¦æ¯å¦æä»»å¡ï¼è¿è¡å¤æ |
| | | /// </summary> |
| | | public Dt_Task ObtainMuChetaskbool(AGVStation ZicheinnerSide) |
| | | { |
| | | Dt_Task dt_Task = BaseDal.QueryFirst(x => (x.TaskState == (int)TaskOutStatusEnum.OutNew || x.TaskState == (int)TaskOutStatusEnum.RGV_OutMothercarExecuting) && x.NextAddress == ZicheinnerSide.MotherCarDeviceCode.ToString(), TaskOrderBy); |
| | | if (dt_Task != null) return dt_Task; |
| | | Dt_Task dt_Task2 = BaseDal.QueryFirst(x => x.Roadway == ZicheinnerSide.ChildPosiDeviceCode, TaskOrderBy); |
| | | if (dt_Task2 != null) return dt_Task2; |
| | | return null; |
| | | return BaseDal.QueryFirst(x => x.RGVTaskType == (int)RGVTaskTypeEnum.TravelingOnly && (x.TaskState == (int)TaskOutStatusEnum.OutNew || x.TaskType == (int)TaskOutStatusEnum.RGV_OutMothercarExecuting), TaskOrderBy); |
| | | } |
| | | |
| | | public Dt_Task GetChariotTaskBool(string ChildPosiDeviceCode) |
| | | { |
| | | Dt_Task dt_Task2 = BaseDal.QueryFirst(x => x.Roadway == ChildPosiDeviceCode, TaskOrderBy); |
| | | if (dt_Task2 != null) return dt_Task2; |
| | | return null; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åHCJç«å°æ¯å¦æä»»å¡ |
| | | /// </summary> |
| | | public Dt_Task GetHCJTaskBool(string ChildPosiDeviceCode,int HCJaddres) |
| | | { |
| | | Dt_Task dt_Task2 = BaseDal.QueryFirst(x => x.Roadway == ChildPosiDeviceCode && x.CurrentAddress== HCJaddres.ToString(), TaskOrderBy); |
| | | if (dt_Task2 != null) return dt_Task2; |
| | | return null; |
| | | } |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åæ¯è½¦ç§»å¨ä»»å¡åç§»å¨ä¸çä»»å¡ |
| | | /// è·åæ¯è½¦ç§»å¨ä»»å¡åç§»å¨ä¸çä»»å¡ï¼å
¥åºï¼ |
| | | /// </summary> |
| | | /// <param name="DeviceCode"></param> |
| | | /// <returns></returns> |
| | | public Dt_Task MothermachinemovementTask2(string DeviceCode) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.Roadway == DeviceCode && x.TaskState == (int)TaskInStatusEnum.RGV_InZicheReleaseFinish && x.TaskState == (int)TaskInStatusEnum.RGV_InMothercarExecuting && x.RGVTaskType == (int)RGVTaskTypeEnum.TravelingOnly, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == DeviceCode && (x.TaskState == (int)TaskInStatusEnum.RGV_InZicheReleaseFinish || x.TaskState == (int)TaskInStatusEnum.RGV_InMothercarExecuting || x.RGVTaskType == (int)RGVTaskTypeEnum.TravelingOnly), TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åæ¯è½¦ç§»å¨ä»»å¡åç§»å¨ä¸çä»»å¡ï¼åºåºï¼ |
| | | /// </summary> |
| | | /// <param name="DeviceCode"></param> |
| | | public Dt_Task OutMothermaTask(string DeviceCode) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.Roadway == DeviceCode && (x.TaskState == (int)TaskOutStatusEnum.OutNew || x.TaskState == (int)TaskOutStatusEnum.RGV_OutMothercarExecuting || x.RGVTaskType == (int)TaskOutStatusEnum.RGV_OutMothercarFinish), TaskOrderBy); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | return BaseDal.QueryFirst(x => x.Roadway == DeviceCode && (x.TaskState == (int)TaskInStatusEnum.RGV_InReleaseFinish || x.TaskState == (int)TaskInStatusEnum.RGV_InZicheExecuting || x.TaskState == (int)TaskInStatusEnum.RGV_InZicheFinish || x.TaskState == (int)TaskInStatusEnum.RGV_InZicheReleaseExecuting || x.TaskState == (int)TaskInStatusEnum.RGV_InZicheReleaseFinish) && x.RGVTaskType == (int)RGVTaskTypeEnum.PickingUp, TaskOrderBy); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | task.TaskState = (int)TaskOutStatusEnum.RGV_OutZicheReleaseFinish; |
| | | task.RGVTaskType = (int)RGVTaskTypeEnum.PickingUp; |
| | | task.Roadway = "RGV118"; |
| | | task.CurrentAddress = "1171"; |
| | | task.NextAddress = ""; |
| | | } |
| | | else |
| | | { |
| | |
| | | rGVstatus.msg = "æåWCSæ¥æ¶å°RGVç¼å·ä¸ºç©ºï¼è¯·æ£æ¥"; |
| | | return rGVstatus; |
| | | } |
| | | |
| | | IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == item.rgvTag); |
| | | if (device == null) |
| | | { |
| | |
| | | rGVstatus.msg = "æ¥è¯¢çRGVå·²æçº¿"; |
| | | return rGVstatus; |
| | | } |
| | | CommonConveyorLine conveyorLine = (CommonConveyorLine)device; |
| | | SpeStackerCrane Commonstacker = (SpeStackerCrane)device; |
| | | |
| | | //å½åä½ç½® |
| | | DeviceProDTO? deviceProDTO = conveyorLine.DeviceProDTOs.FirstOrDefault(x => x.DeviceChildCode == item.rgvTag && x.DeviceProParamName == "RGVCurrentlocation" && x.DeviceProParamType == "RGVCurrentlocation"); |
| | | |
| | | DeviceProDTO? deviceProDTO = Commonstacker.DeviceProDTOs.FirstOrDefault(x => x.DeviceChildCode == item.rgvTag && x.DeviceProParamName == "RGVCurrentlocation" && x.DeviceProParamType == "RGVCurrentlocation"); |
| | | |
| | | if (item.type == "pick") //åè´§ |
| | | { |
| | |
| | | return rGVstatus; |
| | | } |
| | | |
| | | int Currentlocation = conveyorLine.Communicator.Read<short>(deviceProDTO.DeviceProAddress); |
| | | int Currentlocation = Commonstacker.Communicator.Read<short>(deviceProDTO.DeviceProAddress); |
| | | if (Currentlocation == aGVStation.Motherinlaw) //æ¯å¦å¨åè´§ä½ |
| | | { |
| | | rGVstatus.code = 0; |
| | |
| | | else if (item.type == "put") //æ¾è´§ |
| | | { |
| | | AGVStation aGVStation = _gvStationService.Corridorequipment(item.rgvTag); |
| | | int Currentlocation = conveyorLine.Communicator.Read<short>(deviceProDTO.DeviceProAddress); |
| | | int Currentlocation = Commonstacker.Communicator.Read<short>(deviceProDTO.DeviceProAddress); |
| | | |
| | | DeviceProDTO? deviceProFh = conveyorLine.DeviceProDTOs.FirstOrDefault(x => x.DeviceChildCode == item.rgvTag && x.DeviceProParamName == "RgvEquipmentStatus" && x.DeviceProParamType == "RgvEquipmentStatus"); |
| | | int Itstock = conveyorLine.Communicator.Read<short>(deviceProFh.DeviceProAddress); |
| | | DeviceProDTO? deviceProFh = Commonstacker.DeviceProDTOs.FirstOrDefault(x => x.DeviceChildCode == item.rgvTag && x.DeviceProParamName == "RgvEquipmentStatus" && x.DeviceProParamType == "RgvEquipmentStatus"); |
| | | int Itstock = Commonstacker.Communicator.Read<short>(deviceProFh.DeviceProAddress); |
| | | |
| | | if (aGVStation.Motherinlaw== Currentlocation && Itstock==0) |
| | | { |
| | |
| | | using System; |
| | | using System.Reflection; |
| | | |
| | | [assembly: System.Reflection.AssemblyCompanyAttribute("WIDESEAWCs_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyCompanyAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] |
| | | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] |
| | | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] |
| | | [assembly: System.Reflection.AssemblyProductAttribute("WIDESEAWCs_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyTitleAttribute("WIDESEAWCs_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyProductAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyTitleAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] |
| | | |
| | | // ç± MSBuild WriteCodeFragment ç±»çæã |
| | |
| | | 696e07e336e90b059d5a69ceac1b59c1567636d6 |
| | | 0c89bb1cae87ea43ac260fbf353d127eb2b5c7af |
| | |
| | | build_property.PlatformNeutralAssembly = |
| | | build_property.EnforceExtendedAnalyzerRules = |
| | | build_property._SupportedPlatformList = Linux,macOS,Windows |
| | | build_property.RootNamespace = WIDESEAWCs_TaskInfoService |
| | | build_property.ProjectDir = F:\项ç®\MingHeZhiNeng\åå
´RGV\9-18\JiaXingRGV\代ç 管ç\WCS\WCS\WIDESEAWCS_Server\WIDESEAWCs_TaskInfoService\ |
| | | build_property.RootNamespace = WIDESEAWCS_TaskInfoService |
| | | build_property.ProjectDir = F:\项ç®\MingHeZhiNeng\åå
´RGV\9-18\JiaXingRGV\代ç 管ç\WCS\WCS\WIDESEAWCS_Server\WIDESEAWCS_TaskInfoService\ |
| | |
| | | Dt_Task Muche2Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCardeputy.ToString()); |
| | | if (Muche2Task == null) return null; |
| | | |
| | | //è·åå车æ¯å¦æä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | //è·å2å··éå车æ¯å¦æä»»å¡ |
| | | var muche1 = _agvStationService.GetMothervehicle(ZicheinnerSide.MotherCarDeviceCode); |
| | | Dt_Task Muche1 = _taskService.GetChariotTaskBool(muche1.ChildPosiDeviceCode.ToString()); |
| | | if(Muche1!=null) return null; |
| | | |
| | | return Muche2Task; |
| | | } |
| | |
| | | Dt_Task Muche3Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCarDeviceCode.ToString()); |
| | | if (Muche3Task == null) return null; |
| | | |
| | | //夿å车æ¯å¦ææéè¦åè´§çä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | //夿å车æ¯å¦æè¦åHCJä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetHCJTaskBool(ZicheinnerSide.ChildPosiDeviceCode, ZicheinnerSide.HCJStorageaddress); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | if (curraddZiChe == ZicheinnerSide.WaitmomentTwo || curraddZiChe == ZicheinnerSide.WaitmomentOne) |
| | | { |
| | | return Muche3Task; |
| | | } |
| | | return null; |
| | | return Muche3Task; |
| | | } |
| | | public Dt_Task? OutboundSideAisle4(int curraddZiChe, AGVStation ZicheinnerSide) |
| | | { |
| | |
| | | Dt_Task Muche4Task = _taskService.ObtainMuChetask(ZicheinnerSide.MotherCardeputy.ToString()); |
| | | if (Muche4Task == null) return null; |
| | | |
| | | //夿æ¯å¦æéè¦åHCJçä»»å¡ |
| | | Dt_Task zicheTASK = _taskService.GetChariotTaskBool(ZicheinnerSide.ChildPosiDeviceCode); |
| | | if (zicheTASK != null) return null; |
| | | |
| | | if (curraddZiChe == ZicheinnerSide.WaitmomentOne) |
| | | { |
| | | //夿3巷鿝妿åºåºçä»»å¡ |
| | | var muche3 = _agvStationService.GetMothervehicle(ZicheinnerSide.MotherCarDeviceCode); |
| | | Dt_Task muchetask = _taskService.OutMothermaTask(muche3.ChildPosiDeviceCode); |
| | | if (muchetask != null) return null; |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if ( || curraddZiChe == ZicheinnerSide.WaitmomentTwo) |
| | | { |
| | | return Muche4Task; |
| | | } |
| | | return null; |
| | | return Muche4Task; |
| | | } |
| | | |
| | | #endregion |
| | |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation && RGVCurrentlocation == 1171) |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation || RGVCurrentlocation == 1171) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | |
| | | { |
| | | if (GdZiche.Station_Area == 5) |
| | | { |
| | | if (GdZiche.MotherCarDeviceCode == RGVCurrentlocation || GdZiche.HCJStorageaddress == RGVCurrentlocation) |
| | | Dt_Task task = _taskService.GetChariotTaskBool(GdZiche.ChildPosiDeviceCode); |
| | | if (task == null && RgvCraneStatusValue == (int)RgvEquipmentStatus.NoCargo) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | if (GdZiche.MotherCarDeviceCode == RGVCurrentlocation || GdZiche.HCJStorageaddress == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentOne, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | } |
| | | else if (GdZiche.MotherCardeputy == RGVCurrentlocation) |
| | | { |
| | | RGVMovetask(GdZiche.WaitmomentTwo, GdZiche.ChildPosiDeviceCode); |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |