136 lines
4.5 KiB
Go
136 lines
4.5 KiB
Go
|
|
package main
|
||
|
|
|
||
|
|
type Dev_manage struct {
|
||
|
|
ID int `json:"id"`
|
||
|
|
Wellname string `json:"wellname"`
|
||
|
|
Sid string `json:"sid"`
|
||
|
|
Iid string `json:"iid"`
|
||
|
|
Ver string `json:"ver"`
|
||
|
|
P_date string `json:"p_date"`
|
||
|
|
Cal_date string `json:"cal_date"`
|
||
|
|
Total_wt string `json:"total_wt"`
|
||
|
|
Cur_wt string `json:"cur_wt"`
|
||
|
|
Repair_cnt string `json:"repair_cnt"`
|
||
|
|
Region string `json:"region"`
|
||
|
|
Location string `json:"location"`
|
||
|
|
Responsible string `json:"responsible"`
|
||
|
|
Flag bool `json:"flag"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// type Tool_warning struct {
|
||
|
|
// Time string `json:"time"`
|
||
|
|
// Err_level string `json:"err_level"`
|
||
|
|
// Context string `json:"context"`
|
||
|
|
// }
|
||
|
|
|
||
|
|
type Tool_warning struct {
|
||
|
|
Time string `json:"time"`
|
||
|
|
Err_level string `json:"err_level"`
|
||
|
|
Series string `json:"series_num"`
|
||
|
|
Instrument string `json:"instrument_id"`
|
||
|
|
Context string `json:"context"`
|
||
|
|
Flag int `json:"flag"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type Srr_event struct {
|
||
|
|
Bt string `json:"bt"`
|
||
|
|
Et string `json:"et"`
|
||
|
|
Event_name string `json:"ename"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type Srr_state struct {
|
||
|
|
Bt string `json:"bt"`
|
||
|
|
Et string `json:"et"`
|
||
|
|
Servicer string `json:"servicer"`
|
||
|
|
State string `json:"state"`
|
||
|
|
Drilling_time string `json:"drilling_time"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type Cmr struct {
|
||
|
|
Wellname string `json:"wellname"`
|
||
|
|
Upload_user string `json:"upload_user"`
|
||
|
|
|
||
|
|
//------------------------------------------------------------//
|
||
|
|
Total_work_time string `json:"Total_work_time"`
|
||
|
|
Total_wait_time string `json:"Total_wait_time"`
|
||
|
|
Well_captain string `json:"well_captain"`
|
||
|
|
Safety_officer_name string `json:"safety_officer_name"`
|
||
|
|
Safety_officer_phone string `json:"safety_officer_phone"`
|
||
|
|
Hosp_phone string `json:"hosp_phone"`
|
||
|
|
Fire_phone string `json:"fire_phone"`
|
||
|
|
Police_phone string `json:"police_phone"`
|
||
|
|
Lon_lat string `json:"lon_lat"`
|
||
|
|
Gl string `json:"gl"` //地理位置
|
||
|
|
Device_data []Device `json:"Device_data"`
|
||
|
|
|
||
|
|
Well_device string `json:"well_device"`
|
||
|
|
|
||
|
|
//设计数据
|
||
|
|
X string `json:"x"`
|
||
|
|
Y string `json:"y"`
|
||
|
|
Declination string `json:"declination"`
|
||
|
|
DIP string `json:"DIP"`
|
||
|
|
MT string `json:"MT"`
|
||
|
|
CLsA string `json:"CLsA"` //设计闭合方位
|
||
|
|
TVD string `json:"TVD"` //设计垂深
|
||
|
|
Design_depth string `json:"design_depth"` //设计最大井深
|
||
|
|
Design_deviation string `json:"design_deviation"` //设计最大井斜
|
||
|
|
Design_hlength string `json:"design_hlength"` //设计水平段长度
|
||
|
|
|
||
|
|
//地质信息
|
||
|
|
Target_stratum string `json:"Target_stratum"` //目的层
|
||
|
|
Reservoir_thickness string `json:"Reservoir_thickness"` //储层厚度
|
||
|
|
Gamma_range string `json:"Gamma_range"` //伽马范围
|
||
|
|
CHFR string `json:"CHFR"` //地层电阻率
|
||
|
|
|
||
|
|
//钻次
|
||
|
|
Drilling_data []Drilling `json:"Drilling_data"`
|
||
|
|
|
||
|
|
//工况信息
|
||
|
|
Max_depth string `json:"Max_depth"`
|
||
|
|
T1 string `json:"t1"`
|
||
|
|
Max_tvd string `json:"Max_tvd"`
|
||
|
|
T2 string `json:"t2"`
|
||
|
|
Max_temp float32 `json:"Max_temp"`
|
||
|
|
T3 string `json:"t3"`
|
||
|
|
Max_vibrate string `json:"Max_vibrate"` //最大振动
|
||
|
|
T4 string `json:"t4"`
|
||
|
|
|
||
|
|
Next_state string `json:"next_state"` //下一步工况
|
||
|
|
|
||
|
|
//完钻信息
|
||
|
|
Hlength string `json:"Hlength"` //实际水平段长度
|
||
|
|
Tool_work_time string `json:"Tool_work_time"`
|
||
|
|
Total_footage string `json:"Total_footage"`
|
||
|
|
Rate string `json:"Rate"`
|
||
|
|
|
||
|
|
Well_report string `json:"well_report"` //完井总结
|
||
|
|
|
||
|
|
//参考信息
|
||
|
|
IP string `json:"IP"`
|
||
|
|
IP_addr string `json:"IP_addr"`
|
||
|
|
Refer_Drilling_data []Drilling `json:"Refer_Drilling_data"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type Device struct {
|
||
|
|
Location string `json:"Location"`
|
||
|
|
Director string `json:"Director"`
|
||
|
|
Sid string `json:"sid"`
|
||
|
|
Iid string `json:"iid"`
|
||
|
|
Accrued_work_time string `json:"Accrued_work_time"` //出场累计工时
|
||
|
|
}
|
||
|
|
|
||
|
|
type Drilling struct {
|
||
|
|
Drilling_num string `json:"Drilling_num"` //钻次
|
||
|
|
Servicer string `json:"Servicer"`
|
||
|
|
BHA string `json:"BHA"` //钻具组合
|
||
|
|
ToolCombination string `json:"ToolCombination"` //仪器组合
|
||
|
|
Wait_time string `json:"Wait_time"`
|
||
|
|
Work_time string `json:"Work_time"`
|
||
|
|
Reason string `json:"Reason"`
|
||
|
|
In_depth string `json:"In_depth"`
|
||
|
|
Out_depth string `json:"Out_depth"`
|
||
|
|
Footage string `json:"Footage"`
|
||
|
|
Next_step string `json:"Next_step"`
|
||
|
|
}
|