| | |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/Add": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/AddData": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/Del": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "type": "array", |
| | | "items": { } |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "type": "array", |
| | | "items": { } |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "type": "array", |
| | | "items": { } |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "type": "array", |
| | | "items": { } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/DownLoadTemplate": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | }, |
| | | "get": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/Export": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/ExportSeedData": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/GetDetailPage": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/GetPageData": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/PageDataOptions" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/Import": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "multipart/form-data": { |
| | | "schema": { |
| | | "type": "object", |
| | | "properties": { |
| | | "fileInput": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "string", |
| | | "format": "binary" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "encoding": { |
| | | "fileInput": { |
| | | "style": "form" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/Update": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/SaveModel" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceAlarmLog/UpdateData": { |
| | | "post": { |
| | | "tags": [ |
| | | "DeviceAlarmLogControllers" |
| | | ], |
| | | "summary": " (Auth)", |
| | | "requestBody": { |
| | | "content": { |
| | | "application/json-patch+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "application/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "text/json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | }, |
| | | "application/*+json": { |
| | | "schema": { |
| | | "$ref": "#/components/schemas/DeviceAlarmLog" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "responses": { |
| | | "200": { |
| | | "description": "Success" |
| | | }, |
| | | "401": { |
| | | "description": "Unauthorized" |
| | | }, |
| | | "403": { |
| | | "description": "Forbidden" |
| | | } |
| | | }, |
| | | "security": [ |
| | | { |
| | | "oauth2": [ ] |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "/api/DeviceInfo/Add": { |
| | | "post": { |
| | | "tags": [ |
| | |
| | | }, |
| | | "additionalProperties": false |
| | | }, |
| | | "DeviceAlarmLog": { |
| | | "type": "object", |
| | | "properties": { |
| | | "creater": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "createDate": { |
| | | "type": "string", |
| | | "format": "date-time" |
| | | }, |
| | | "modifier": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "modifyDate": { |
| | | "type": "string", |
| | | "format": "date-time", |
| | | "nullable": true |
| | | }, |
| | | "alarmId": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | }, |
| | | "deviceCode": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "deviceName": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "alarmCode": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | }, |
| | | "alarmContent": { |
| | | "type": "string", |
| | | "nullable": true |
| | | }, |
| | | "alarmTime": { |
| | | "type": "string", |
| | | "format": "date-time" |
| | | }, |
| | | "taskNum": { |
| | | "type": "integer", |
| | | "format": "int32", |
| | | "nullable": true |
| | | }, |
| | | "deviceLocation": { |
| | | "type": "integer", |
| | | "format": "int32" |
| | | } |
| | | }, |
| | | "additionalProperties": false |
| | | }, |
| | | "DeviceInfoDTO": { |
| | | "type": "object", |
| | | "properties": { |