Compare commits

..

No commits in common. "e148b3a5d459a8ef7a7753ddf08ed73ff3f0f4a2" and "2a32af7fa1ac98e840fa58ffe29cc74097c44a35" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View File

@ -27,7 +27,7 @@ export async function getTCP() {
})
await globalThis.TcpClient.onMessage((val) => {
setTimeout(() => {
globalThis.TcpClient.sendMsg(globalThis.carInfo?.carNo||'1002') //1002
globalThis.TcpClient.sendMsg('1002') //1002
if (val) {
// const msg=val.substring(5,val.length-1)
console.log('socketTag[PLC.UdpClient] status:', globalThis.udpClient.getStatus())
@ -54,7 +54,7 @@ export async function getTCP() {
await globalThis.TcpClient.onMessage((val) => {
hilog.info(0x0000, 'testTag', "valvalval2" + JSON.stringify(val));
setTimeout(() => {
globalThis.TcpClient.sendMsg(globalThis.carInfo?.carNo||'1002') //1002
globalThis.TcpClient.sendMsg('1002') //1002
if (val && globalThis.udpClient?.sendMsg) {
globalThis.udpClient?.sendMsg(val)
}

View File

@ -28,12 +28,8 @@ export default class EntryAbility extends UIAbility {
globalThis.examinerInfo = {}
globalThis.deviceNo = '';
globalThis.hasAuth = false
globalThis.version = '2024.03.19.01'//洛阳
globalThis.judgeVersion = '2024.01.05.1'
// globalThis.judgeVersion = '2022.12.05.1'
// globalThis.version = '2022.08.13.01'
// globalThis.version = '2022.08.13.01'//洛阳
// globalThis.judgeVersion = '2022.12.05.1'
globalThis.version = '2022.08.13.01'//洛阳
globalThis.judgeVersion = '2022.12.05.1'
// globalThis.judgeVersion = '2022.12.05.1'
// globalThis.version = '2022.08.13.01'
// globalThis.version = '2024.11.22.14'//济南
@ -63,7 +59,7 @@ export default class EntryAbility extends UIAbility {
const windowClass = await windowStage.getMainWindow();
globalThis.windowClass = windowClass
// await windowClass.setWindowLayoutFullScreen(true)
await windowClass.setWindowLayoutFullScreen(true)
// await windowClass.setWindowSystemBarEnable([]) //全屏
// await windowClass.setWindowSystemBarEnable(['navigation'])

View File

@ -184,7 +184,7 @@ struct Index {
Column() {
Row() {
Column() {
Text('V 1.0')
Text('V ' + globalThis.version)
.fontColor('#CCAE7A')
.fontSize(22 * globalThis.ratio)
.width('30%')