Browse Source

fix: NDC校验去除

master
lishuai 5 months ago
parent
commit
cafd59bc2c
  1. 30
      acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/agv/server/impl/NDCAgvServiceImpl.java
  2. 2
      acs2/nladmin-system/nlsso-server/src/main/resources/config/application.yml
  3. 3
      acs2/nladmin-ui/src/layout/components/Sidebar/Logo.vue

30
acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/agv/server/impl/NDCAgvServiceImpl.java

@ -111,22 +111,20 @@ public class NDCAgvServiceImpl implements NDCAgvService {
byte[] b = new byte[]{}; byte[] b = new byte[]{};
if (type == 1) { b = new byte[]{(byte) 0X87, (byte) 0XCD,
b = new byte[]{(byte) 0X87, (byte) 0XCD, (byte) 0X00, (byte) 0X08,
(byte) 0X00, (byte) 0X08, (byte) 0X00, (byte) 0X12,
(byte) 0X00, (byte) 0X12, (byte) 0X00, (byte) 0X01,
(byte) 0X00, (byte) 0X01, (byte) 0X00, (byte) 0X71,
(byte) 0X00, (byte) 0X71, (byte) 0X00, (byte) 0X0E,
(byte) 0X00, (byte) 0X0E, (byte) 0X01, (byte) 0X80,
(byte) 0X01, (byte) 0X80, (byte) 0X00, (byte) 0X01,
(byte) 0X00, (byte) 0X01, (byte) ikeyhigh, (byte) ikeylow,
(byte) ikeyhigh, (byte) ikeylow, (byte) ikeyhigh, (byte) ikeylow,
(byte) ikeyhigh, (byte) ikeylow, (byte) typehigh, (byte) typelow,
(byte) typehigh, (byte) typelow, (byte) qhdhigh, (byte) qhdlow,
(byte) qhdhigh, (byte) qhdlow, (byte) fhdhigh, (byte) fhdlow,
(byte) fhdhigh, (byte) fhdlow, };
};
}
log.info("下发AGV作业指令 --{}", str1); log.info("下发AGV作业指令 --{}", str1);
log.info("下发AGV作业指令--{}", str); log.info("下发AGV作业指令--{}", str);
log.info("下发agv指令数据--{}", Bytes2HexString(b)); log.info("下发agv指令数据--{}", Bytes2HexString(b));

2
acs2/nladmin-system/nlsso-server/src/main/resources/config/application.yml

@ -6,7 +6,7 @@ spring:
freemarker: freemarker:
check-template-location: false check-template-location: false
profiles: profiles:
active: prod active: dev
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
data: data:

3
acs2/nladmin-ui/src/layout/components/Sidebar/Logo.vue

@ -16,7 +16,6 @@
<script> <script>
import Logo from '@/assets/images/newloge.png' import Logo from '@/assets/images/newloge.png'
import variables from '@/assets/styles/variables.scss' import variables from '@/assets/styles/variables.scss'
import i18n from '@/i18n'
export default { export default {
name: 'SidebarLogo', name: 'SidebarLogo',
props: { props: {
@ -27,7 +26,7 @@ export default {
}, },
data() { data() {
return { return {
title: '斗山山猫ACS', title: '두산 밥캣스 acs',
logo: Logo, logo: Logo,
title_param: 'platform' title_param: 'platform'
} }

Loading…
Cancel
Save