振动粘滑开发,仪器状态开发

This commit is contained in:
lupeng 2025-07-25 16:59:40 +08:00
parent b0adf3aa49
commit dad34d4cdc
6 changed files with 1069 additions and 550 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

Binary file not shown.

Binary file not shown.

1578
main.go

File diff suppressed because it is too large Load Diff

12
req.go
View File

@ -155,6 +155,7 @@ type get_vibration_req struct {
Wellname string `json:"wellname"` //井名
WellNameSource string `json:"wellNameSource"` //井名对应库
Uploadname string `json:"upload_name"`
IsMemory bool `json:"is_memory"` //是否勾选存储数据
}
type get_nb_csv_req struct {
@ -654,3 +655,14 @@ type GetWellData struct {
Index int `json:"index"`
Count int `json:"count"`
}
// 仪器汇总页面的参数体
type InstrumentMess struct {
Instrument string `json:"instrument"`
Opuser string `json:"opuser"`
Opuser_uuid string `json:"opuser_uuid"`
Series string `json:"series"`
WellName string `json:"wellName"`
Flag string `json:"flag"`
Content string `json:"content"`
}

23
res.go
View File

@ -739,3 +739,26 @@ type GetUsersRespdata struct {
Cnt int `json:"cnt"`
LoginTime string `json:"loginTime"`
}
type InstrumentMessRespdata struct {
ID string `json:"id"`
WellName string `json:"wellName"`
Time string `json:"time"`
Series string `json:"series"`
Instrument string `json:"instrument"`
Version string `json:"version"`
WorkTime string `json:"workTime"` //累计工作时间
WorkTimes string `json:"workTimes"` //本次工作时间
WorkMessList []WellMessRespdata `json:"data"`
GetLcmRespData []GetLcmRespData `json:"data1"`
}
type WellMessRespdata struct {
WellName string `json:"wellName"` //井名称
SampleField string `json:"sampleField"` //入井状态
ValueInterval string `json:"valueInterval"` //入井井深
GlobalMax1 string `json:"globalMax1"` //最高工作温度
GlobalMax2 string `json:"globalMax2"` //最高承压
PersonnelList string `json:"personnelList"` //累计工作时间
Content string `json:"content"` //仪器工作情况
}