代码拉取完成,页面将自动刷新
package om
type FileType string
const (
UPLOAD_TYPE_1 FileType = "1 Firmware Upgrade Image"
UPLOAD_TYPE_2 FileType = "2 Web Content"
UPLOAD_TYPE_3 FileType = "3 Vendor Configuration File"
UPLOAD_TYPE_13 FileType = "13 Work Order File"
UPLOAD_TYPE_16 FileType = "16 Dt Firmware Upgrade Uu"
UPLOAD_TYPE_17 FileType = "17 Dt Firmware Upgrade Hc"
DOWNLOAD_TYPE_1 FileType = "1 软件包"
DOWNLOAD_TYPE_2 FileType = "2 配置文件"
DOWNLOAD_TYPE_3 FileType = "3 普通文件"
DOWNLOAD_TYPE_5 FileType = "5 Dt omcore log file"
DOWNLOAD_TYPE_6 FileType = "6 Dt omkeeper log file"
DOWNLOAD_TYPE_7 FileType = "7 Dt omproxy log file"
DOWNLOAD_TYPE_8 FileType = "8 Dt proxy log file"
DOWNLOAD_TYPE_9 FileType = "9 Dt atproxy log file"
DOWNLOAD_TYPE_10 FileType = "10 Dt xds log file"
DOWNLOAD_TYPE_11 FileType = "11 Dt all log file"
DOWNLOAD_TYPE_12 FileType = "12 Data Model File"
DOWNLOAD_TYPE_13 FileType = "14 Dt ordinary log file"
DOWNLOAD_TYPE_14 FileType = "15 All configure File"
DOWNLOAD_TYPE_15 FileType = "18 Dt Alarm Model File"
DOWNLOAD_TYPE_16 FileType = "19 Dt Exception Model File"
DOWNLOAD_TYPE_17 FileType = "20 Dt Alarm File"
DOWNLOAD_TYPE_18 FileType = "21 Dt Exception File"
)
func (own FileType) IsUploadType() bool {
switch own {
case UPLOAD_TYPE_1, UPLOAD_TYPE_2, UPLOAD_TYPE_3, UPLOAD_TYPE_13, UPLOAD_TYPE_16, UPLOAD_TYPE_17:
return true
default:
return false
}
}
func (own FileType) IsDownloadType() bool {
switch own {
case DOWNLOAD_TYPE_1, DOWNLOAD_TYPE_2, DOWNLOAD_TYPE_3, DOWNLOAD_TYPE_5, DOWNLOAD_TYPE_6, DOWNLOAD_TYPE_7, DOWNLOAD_TYPE_8,
DOWNLOAD_TYPE_9, DOWNLOAD_TYPE_10, DOWNLOAD_TYPE_11, DOWNLOAD_TYPE_12, DOWNLOAD_TYPE_13, DOWNLOAD_TYPE_14, DOWNLOAD_TYPE_15,
DOWNLOAD_TYPE_16, DOWNLOAD_TYPE_17, DOWNLOAD_TYPE_18:
return true
default:
return false
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。