This commit is contained in:
TsMask committed 2023-08-22 19:25:39 +08:00
1 parent 38d3b7450e
commit 96de169777
45 files changed
+881 -676

No files matched your search

+6 -6
View File
@@ -6,15 +6,15 @@ import (
"encoding/hex"
"errors"
"fmt"
"io"
"net"
"omc/handle/model"
"time"
"github.com/aceld/zinx/zconf"
"github.com/aceld/zinx/zlog"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"io"
"net"
"omc/model"
"omc/omc"
"time"
)
type Message struct {
@@ -156,7 +156,7 @@ func (this *TcpClient) Start() {
//data = "reqSyncAlarmFile;reqId=35;alarmSeq=2000;syncSource=1"
//data = "reqSyncAlarmFile;reqId=33;startTime=2023-01-08 00:00:00;syncSource=0"
data = "reqSyncAlarmFile;reqId=34;startTime=2023-01-08 16:07:00;endTime=2023-07-19 23:59:59;syncSource=1"
this.SendMsg(omc.ReqSyncAlarmFile, []byte(data))
this.SendMsg(11, []byte(data))
go this.Receive()
}